Fix netinet/in.h MCAST_* namespace (bug 18558).
[glibc.git] / ChangeLog
blob9931dd1308e16af3928d33df76b9b1f4e233410f
1 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18558]
4         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5         unconditional definition.
6         (MCAST_BLOCK_SOURCE): Likewise.
7         (MCAST_UNBLOCK_SOURCE): Likewise.
8         (MCAST_LEAVE_GROUP): Likewise.
9         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11         (MCAST_MSFILTER): Likewise.
12         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13         Remove variable.
14         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22         * NEWS: Mention addition of x86_64 vector sincosf.
23         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24         * math/test-float-vlen4.h: Likewise.
25         * math/test-float-vlen8.h: Likewise.
26         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29         * sysdeps/x86_64/fpu/Versions: New versions added.
30         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
36         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
37         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
38         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
39         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
40         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
41         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
42         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
43         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
44         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
45         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
46         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
47         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
48         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
49         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
50         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
51         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
52         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
53         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
55         * NEWS: Mention addition of x86_64 vector sincos.
56         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
57         * math/math.h (__MATHDECL_VEC): New macro.
58         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
59         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
60         declaration under condition.
61         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
62         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
63         TEST_VEC_LOOP change.
64         * math/test-double-vlen4.h: Likewise.
65         * math/test-double-vlen8.h: Likewise.
66         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
67         * math/test-float-vlen4.h: Likewise.
68         * math/test-float-vlen8.h: Likewise.
69         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
70         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
71         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
72         * sysdeps/x86_64/fpu/Versions: New versions added.
73         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
74         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
75         Added build of SSE, AVX2 and AVX512 IFUNC versions.
76         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
77         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
78         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
79         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
80         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
81         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
82         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
83         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
84         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
85         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
86         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
87         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
88         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
89         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
90         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
91         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
92         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
93         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
94         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
95         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
96         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
98         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
99         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
100         redirections for powf.
101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
102         * sysdeps/x86_64/fpu/Versions: New versions added.
103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
106         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
107         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
108         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
111         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
112         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
113         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
114         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
115         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
116         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
117         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
118         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
119         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
120         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
121         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
122         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
124         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
125         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
126         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
127         * math/test-float-vlen16.h: Fixed 2 argument macro.
128         * math/test-float-vlen4.h: Likewise.
129         * math/test-float-vlen8.h: Likewise.
130         * NEWS: Mention addition of x86_64 vector powf.
132 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
134         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
135         and redefine.
136         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
137         and redefine.
138         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
139         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
140         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
142         [BZ #18553]
143         * resource/getpriority.c (getpriority): Rename to __getpriority
144         and define as weak alias of __getpriority.
145         * resource/setpriority.c (setpriority): Rename to __setpriority
146         and define as weak alias of __setpriority.
147         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
148         __getpriority and define as weak alias of __getpriority.
149         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
150         __setpriority and define as weak alias of __setpriority.
151         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
152         strong name.
153         (setpriority): Use __setpriority as strong name.
154         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
155         __getpriority and define as weak alias of __getpriority.
156         * include/sys/resource.h (__getpriority): Declare.  Use
157         libc_hidden_proto.
158         (__setpriority): Likewise.
159         (getpriority): Don't use libc_hidden_proto.
160         (setpriority): Likewise.
161         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
162         getpriority.  Call __setpriority instead of setpriority.
163         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
164         Remove variable.
166         [BZ #18547]
167         * misc/getttyent.c (getttynam): Rename to __getttynam and define
168         as weak alias of __getttynam.  Use prototype function definition.
169         Call __setttyent, __getttyent and __endttyent instead of
170         setttyent, getttyent and endttyent.
171         (getttyent): Rename to __getttyent and define as weak alias of
172         __getttyent.  Call __setttyent instead of setttyent.  Call
173         __fgets_unlocked instead of fgets_unlocked.
174         (setttyent): Rename to __setttyent and define as weak alias of
175         __setttyent.
176         (endttyent): Rename to __endttyent and define as weak alias of
177         __endttyent.
178         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
179         (__setttyent): Likewise.
180         (__endttyent): Likewise.
181         (getttyent): Don't use libc_hidden_proto.
182         (setttyent): Likewise.
183         (endttyent): Likewise.
184         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
185         __endttyent instead of setttyent, getttyent and endttyent.
186         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
187         Remove variable.
189         [BZ #18546]
190         * socket/recv.c (__recv): Use libc_hidden_def.
191         * socket/socket.c (__socket): Likewise.
192         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
193         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
194         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
195         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
196         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
197         libc_hidden_def.
198         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
199         libc_hidden_weak.
200         * include/sys/socket.h (__socket): Do not use attribute_hidden.
201         Use libc_hidden_proto.
202         (__recv): Likewise.
203         * socket/Versions (libc): Export __recv and __socket at version
204         GLIBC_PRIVATE.
205         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
206         instead of recv.
207         (init_mq_netlink): Call __socket instead of socket.
208         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
209         Remove variable.
211         [BZ #18545]
212         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
213         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
214         hidden_weak.
215         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
216         define as alias of __mq_timedsend.  Use hidden_weak.
217         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
218         __mq_timedsend as strong name.
219         (mq_timedreceive): Use __mq_timedreceive as strong name.
220         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
221         (__mq_timedreceive): Likewise.
222         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
223         __mq_timedreceive instead of mq_timedreceive.
224         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
225         instead of mq_timedsend.
226         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
227         Remove variable.
229         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
230         hidden_def and hidden_weak instead of libc_hidden_def and
231         libc_hidden_weak.
232         (top level): Refer to hidden_def in comment.
233         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
234         macro.  Use it instead of libc_hidden_def.
235         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
236         specify __GI_* name explicitly.
237         (mq_timedreceive): Likewise.
238         (mq_setattr): Likewise.
240         [BZ #18544]
241         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
242         __pthread_barrier_init and define as weak alias of
243         __pthread_barrier_init.
244         * sysdeps/sparc/nptl/pthread_barrier_init.c
245         (pthread_barrier_init): Likewise.
246         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
247         __pthread_barrier_wait and define as weak alias of
248         __pthread_barrier_wait.
249         * sysdeps/sparc/nptl/pthread_barrier_wait.c
250         (pthread_barrier_wait): Likewise.
251         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
252         (pthread_barrier_wait): Likewise.
253         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
254         (pthread_barrier_wait): Likewise.
255         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
256         (pthread_barrier_wait): Likewise.
257         * nptl/Versions (libpthread): Export __pthread_barrier_init and
258         __pthread_barrier_wait at version GLIBC_PRIVATE.
259         * include/pthread.h (__pthread_barrier_init): Declare.
260         (__pthread_barrier_wait): Likewise.
261         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
262         Call __pthread_barrier_wait instead of pthread_barrier_wait.
263         (helper_thread): Likewise.
264         (init_mq_netlink): Call __pthread_barrier_init instead of
265         pthread_barrier_init.
267         [BZ #18542]
268         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
269         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
270         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
271         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
272         vswscanf.
273         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
274         Remove variable.
276         [BZ #18540]
277         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
278         strong alias of _IO_fflush.  Use libc_hidden_def.
279         * libio/iofflush_u.c (fflush_unlocked): Rename to
280         __fflush_unlocked and define as weak alias of __fflush_unlocked.
281         Use libc_hidden_weak.
282         * include/stdio.h (__fflush_unlocked): Declare.  Use
283         libc_hidden_proto.
284         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
285         fflush_unlocked.
286         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
287         Remove variable.
289         [BZ #18539]
290         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
291         define as weak alias of __addseverity.
292         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
293         Remove variable.
294         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
295         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
296         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
298         [BZ #18536]
299         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
300         (__tfind): Likewise.
301         (__tdelete): Likewise.
302         (__twalk): Likewise.
303         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
304         __twalk to GLIBC_PRIVATE.
305         * include/search.h (__tsearch): Use libc_hidden_proto.
306         (__tfind): Likewise.
307         (__tdelete): Likewise.
308         (__twalk): Likewise.
309         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
310         Call __tdelete instead of tdelete.
311         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
312         tfind.  Call __tsearch instead of tsearch.
313         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
314         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
315         Remove variable.
316         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
318         [BZ #18534]
319         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
320         (dprintf): Define as a weak alias of __dprintf, not a strong
321         alias.
322         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
323         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
324         dprintf.
325         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
326         Remove variable.
327         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
328         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
330         [BZ #18533]
331         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
332         not a strong alias.
333         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
334         Remove variable.
336         [BZ #18532]
337         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
338         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
339         (in6addr_loopback): Rename to __in6addr_loopback and define as
340         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
341         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
342         libc_hidden_proto.
343         (__in6addr_any): Likewise.
344         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
345         in6addr_any.
346         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
347         variable.
348         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
350 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
352         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
353         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
354         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
355         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
356         redirections for pow.
357         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
358         * sysdeps/x86_64/fpu/Versions: New versions added.
359         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
360         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
361         build of SSE, AVX2 and AVX512 IFUNC versions.
362         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
363         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
364         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
365         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
367         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
368         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
369         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
370         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
371         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
372         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
373         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
374         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
375         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
376         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
379         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
380         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
381         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
382         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
383         * NEWS: Mention addition of x86_64 vector pow.
385         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
386         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
387         redirections for expf.
388         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
389         * sysdeps/x86_64/fpu/Versions: New versions added.
390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
391         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
392         build of SSE, AVX2 and AVX512 IFUNC versions.
393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
394         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
396         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
399         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
400         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
401         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
402         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
403         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
404         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
405         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
406         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
407         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
408         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
412         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
413         * NEWS: Mention addition of x86_64 vector expf.
415         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
416         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
417         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
419         redirections for exp.
420         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
421         * sysdeps/x86_64/fpu/Versions: New versions added.
422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
423         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
424         build of SSE, AVX2 and AVX512 IFUNC versions.
425         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
426         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
428         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
430         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
431         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
432         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
433         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
434         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
435         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
436         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
437         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
438         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
439         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
440         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
441         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
442         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
443         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
444         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
445         * NEWS: Mention addition of x86_64 vector exp.
447         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
448         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
449         redirections for logf.
450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
451         * sysdeps/x86_64/fpu/Versions: New versions added.
452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
454         build of SSE, AVX2 and AVX512 IFUNC versions.
455         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
456         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
460         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
461         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
462         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
463         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
464         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
465         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
466         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
467         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
468         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
469         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
470         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
471         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
472         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
473         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
474         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
475         * NEWS: Mention addition of x86_64 vector logf.
477         * bits/libm-simd-decl-stubs.h: Added stubs for log.
478         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
479         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
480         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
481         redirections for log.
482         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
483         * sysdeps/x86_64/fpu/Versions: New versions added.
484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
485         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
486         build of SSE, AVX2 and AVX512 IFUNC versions.
487         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
488         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
489         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
490         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
491         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
492         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
493         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
494         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
495         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
496         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
497         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
498         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
499         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
500         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
501         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
502         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
503         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
504         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
505         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
506         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
507         * NEWS: Mention addition of x86_64 vector log.
509 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
511         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
512         cfi_adjust_cfa_offset argument.
513         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
514         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
516         [BZ #18034]
517         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
518         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
519         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
520         ordering using ldar.
521         (_dl_tlsdesc_dynamic): Likewise.
522         (_dl_tlsdesc_return_lazy): Likewise.
523         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
524         relaxed atomics instead of volatile and synchronize with release store.
525         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
526         volatile.
527         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
529 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
531         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
532         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
533         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
534         * sysdeps/x86_64/fpu/Versions: New versions added.
535         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
536         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
537         build of SSE, AVX2 and AVX512 IFUNC versions.
538         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
540         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
544         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
545         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
546         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
547         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
548         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
549         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
550         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
551         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
552         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
553         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
554         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
556         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
557         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
558         * NEWS: Mention addition of x86_64 vector sinf.
560 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
562         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
563         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
564         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
565         Remove variable.
566         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
567         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
569 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
571         [BZ #18530]
572         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
573         strong alias of _IO_fputs.  Use libc_hidden_def.
574         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
575         and define as weak alias of __fputs_unlocked.  Use
576         libc_hidden_weak.
577         * include/stdio.h (__fputs_unlocked): Declare.  Use
578         libc_hidden_proto.
579         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
580         fputs_unlocked.
582         [BZ #18529]
583         * resolv/netdb.h [__USE_POSIX]: Change condition to
584         [__USE_XOPEN2K].
585         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
586         not expect.
587         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
588         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
589         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
590         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
591         [XPG4 || UNIX98] (AI_ALL): Likewise.
592         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
593         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
594         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
595         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
596         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
597         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
598         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
599         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
600         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
601         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
602         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
603         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
604         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
605         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
606         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
607         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
608         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
609         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
610         [XPG4 || UNIX98] (gai_strerror): Likewise.
611         [XPG4 || UNIX98] (getaddrinfo): Likewise.
612         [XPG4 || UNIX98] (getnameinfo): Likewise.
614         [BZ #18528]
615         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
616         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
617         __USE_XOPEN2K8].
618         (getgrent): Likewise.
619         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
620         expect.
621         [XPG3 || POSIX2008] (endgrent): Likewise.
622         [XPG3] (setgrent): Likewise.
623         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
624         variable.
625         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
627         [BZ #18527]
628         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
629         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
630         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
631         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
632         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
633         * include/unistd.h (__getlogin_r): Declare.  Use
634         libc_hidden_proto.
635         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
636         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
637         variable.
638         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
639         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
640         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
642 2015-06-12  Martin Sebor  <msebor@redhat.com>
644         [BZ #18512]
645         * Makerules (check-install-supported): New target.
646         (install): Add check-install-supported as a dependency.
647         * manual/install.texi (Installing the C Library): Document
648         that overriding prefix and exec_prefix is not supported.
649         Mention DESTDIR.
650         * INSTALL: Regenerate from the above.
652 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
654         [BZ #18519]
655         * posix/Versions (libc): Export __libc_pread at version
656         GLIBC_PRIVATE.
657         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
658         instead of pread.
659         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
660         variable.
662         [BZ #18522]
663         * misc/efgcvt_r.c
664         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
665         (cvt_symbol): Use weak_alias instead of strong_alias.
666         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
667         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
668         Remove variable.
669         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
670         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
672         [BZ #18520]
673         * inet/herrno.c (h_errno): Rename to __h_errno.
674         (__libc_h_errno): Define as alias of __h_errno not h_errno.
675         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
676         to __h_errno instead of h_errno.
677         * nptl/herrno.c (h_errno): Rename to __h_errno.
678         (__h_errno_location): Refer to __h_errno not h_errno.
679         * resolv/Versions (h_errno): Rename to __h_errno.
680         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
681         Remove variable.
682         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
684 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
686         * configure.ac: More strict check for AVX512 assembler support.
687         * configure: Regenerated.
689         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
690         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
691         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
692         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
693         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
694         * sysdeps/x86_64/fpu/Versions: New versions added.
695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
696         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
697         build of SSE, AVX2 and AVX512 IFUNC versions.
698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
699         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
700         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
701         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
704         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
705         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
706         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
707         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
708         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
709         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
711         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
713         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
714         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
715         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
716         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
717         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
718         * NEWS: Mention addition of x86_64 vector sin.
720 2015-06-11  Florian Weimer  <fweimer@redhat.com>
722         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
723         comment.
725 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
727         [BZ #18479]
728         * nptl/pt-interp.c: New file.
729         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
730         Add pt-interp.
731         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
732         $(common-objpfx)runtime-linker.h.
734 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
736         * Makeconfig (+interp): Remove unused variable.
737         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
738         only.  Depend on $(common-objpfx)runtime-linker.h instead of
739         $(elf-objpfx)runtime-linker.h.
740         ($(elf-objpfx)runtime-linker.h): Rename to
741         $(common-objpfx)runtime-linker.h and move ...
742         * Makerules [$(build-shared) = yes]: ... here.
743         * elf/interp.c: Include <runtime-linker.h> instead of
744         <elf/runtime-linker.h>.
746 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
748         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
749         (__gettimeofday_syscall): Remove vsyscall fallback.
750         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
751         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
752         Add syscall fallback function.
753         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
754         if vDSO is not present.
755         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
756         fallback function.
757         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
758         present.
759         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
760         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
762 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
764         [BZ #18497]
765         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
766         of wcscmp.
767         (wcscmp): Define as weak alias of WCSCMP.
768         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
769         wcscoll.
770         (USE_HIDDEN_DEF): Define.
771         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
772         __wcscoll.  Don't use libc_hidden_weak.
773         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
774         wcscmp.
775         * sysdeps/i386/i686/multiarch/wcscmp-c.c
776         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
777         __GI_wcscmp.
778         (weak_alias): Undefine and redefine.
779         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
780         __wcscmp and define as weak alias of __wcscmp.
781         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
782         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
783         (__wcscoll): Likewise.
784         (wcscmp): Don't use libc_hidden_proto.
785         (wcscoll): Likewise.
786         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
787         wcscoll.
788         * posix/regexec.c (check_node_accept_bytes): Likewise.
789         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
790         variable.
791         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
792         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
794         [BZ #18507]
795         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
796         __fstatvfs and define as weak alias of __fstatvfs.  Use
797         libc_hidden_weak.
798         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
799         and define as weak alias of __statvfs.  Use libc_hidden_weak.
800         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
801         Define as alias of __fstatvfs, not fstatvfs.
802         (fstatvfs64): Likewise.
803         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
804         Define as alias of __statvfs, not statvfs.
805         (statvfs64): Likewise.
806         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
807         Remove variable.
809 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
812         (HAVE_GETCPU_VSYSCALL): Define.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
814         (HAVE_GETCPU_VSYSCALL): Likewise.
815         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
816         * sysdeps/unix/sysv/linux/sched_getcpu.c
817         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
818         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
819         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
820         prototype.
821         * sysdeps/unix/sysv/linux/x86_64/init-first.c
822         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
823         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
825         Define.
826         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
827         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
829         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
831 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
833         * sysdeps/x86_64/fpu/Makefile: New file.
834         * sysdeps/x86_64/fpu/Versions: New file.
835         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
836         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
837         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
838         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
839         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
840         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
841         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
842         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
848         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
849         build of SSE, AVX2 and AVX512 IFUNC versions.
850         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
851         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
852         * sysdeps/x86_64/configure.ac: Options for libmvec build.
853         * sysdeps/x86_64/configure: Regenerated.
854         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
855         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
856         * manual/install.texi (Configuring and compiling): Document
857         --disable-mathvec.
858         * INSTALL: Regenerated.
859         * NEWS: Mention addition of libmvec and x86_64 vector cos.
861         * math/Makefile: Added rules for vector tests.
862         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
863         declaration under condition.
864         * math/test-double-vlen2.h: New file.
865         * math/test-double-vlen4.h: New file.
866         * math/test-double-vlen8.h: New file.
867         * math/test-vec-loop.h: Added initialization macro.
868         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
869         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
870         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
871         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
872         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
875         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
876         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
877         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
878         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
880         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
881         * sysdeps/x86_64/fpu/Versions: New versions added.
882         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
884         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
885         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
886         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
889         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
890         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
892         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
893         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
894         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
896         build of SSE, AVX2 and AVX512 IFUNC versions.
897         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
898         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
899         * NEWS: Mention addition of x86_64 vector cosf.
901         * math/Makefile: Added CFLAGS for new tests.
902         * math/test-float-vlen16.h: New file.
903         * math/test-float-vlen4.h: New file.
904         * math/test-float-vlen8.h: New file.
905         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
906         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
908         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
909         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
910         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
911         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
912         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
913         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
914         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
915         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
917 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
919         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
920         * locale/programs/ld-ctype.c: Likewise.
922 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
924         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
925         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
926         bit_ZMM16_31_state): New macro.
927         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
928         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
930 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
932         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
934 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
936         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
938 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
940         [BZ #18498]
941         * libio/memstream.c (open_memstream): Rename to __open_memstream
942         and define as weak alias of __open_memstream.
943         * include/stdio.h (__open_memstream): Declare.  Use
944         libc_hidden_proto.
945         (open_memstream): Don't use libc_hidden_proto.
946         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
947         open_memstream.
948         * posix/getopt.c (_getopt_internal_r): Likewise.
949         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
950         variable.
951         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
952         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
953         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
955         [BZ #18496]
956         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
957         instead of wcrtomb.
959         [BZ #18483]
960         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
961         [__USE_XOPEN2K8].  Remove redundant #endif.
962         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
963         Remove redundant #if.
964         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
965         Remove variable.
966         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
967         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
969         [BZ #18495]
970         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
971         (__iswlower): Likewise.
972         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
973         (__iswlower): Likewise.
974         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
975         instead of towlower.
976         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
977         instead of iswlower.  Call __towupper instead of towupper.
978         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
979         instead of iswalnum.
981 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
983         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
984         errors to stderr.
986 2015-06-05  Florian Weimer  <fweimer@redhat.com>
988         [BZ #15661]
989         [BZ #17322]
990         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
991         Check for overflow properly.  Check for O_APPEND.  Ignore large
992         file system block sizes.  Add comments about problems.
993         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
994         * manual/filesys.texi (Storage Allocation): New node.
996 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
998         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
999         cancellable syscalls.
1000         (SYS_ify): Add guard to no redefine it.
1001         (INLINE_SYSCALL): Likewise.
1002         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1003         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1004         SYSCALL_CANCEL instead.
1005         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1006         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1007         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1008         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1009         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1010         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1011         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1012         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1013         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1014         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1015         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1016         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1017         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1018         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1019         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1021         Likewise.
1022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1023         (__libc_pread64): Likewise.
1024         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1025         (__libc_preadv): Likewise.
1026         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1027         (__libc_readv64): Likewise.
1028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1029         (__libc_pwrite): Likewise.
1030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1031         (__libc_pwrite64): Likewise.
1032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1033         (__libc_pwritev): Likewise.
1034         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1035         (__libc_pwritev64): Likewise.
1036         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1037         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1038         (sync_file_range): Likewise.
1039         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1042         Likewise.
1043         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1044         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1045         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1046         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1047         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1048         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1049         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1050         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1052         Likewise.
1053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1054         (__libc_read64): Likewise.
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1056         Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1058         Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1064         (__libc_pread64): Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1068         (__libc_pwrite64): Likewise.
1069         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1070         (sync_file_range): Likewise.
1071         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1072         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1073         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1074         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1075         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1076         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1077         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1078         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1079         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1080         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1081         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1082         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1083         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1084         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1085         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1086         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1087         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1088         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1089         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1090         Likewise.
1091         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1092         Likewise.
1093         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1094         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1095         Likewise.
1096         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1097         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1098         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1099         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1102         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1103         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1104         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1105         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1107 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1109         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1110         Include dl-vdso.
1111         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1112         Use VDSO routines for gettimeofday, clock_gettime if
1113         available.
1114         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1115         Declare VDSO symbols.
1116         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1117         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1118         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1119         * sysdeps/unix/sysv/linux/arm/Versions: Add
1120         __vdso_clock_gettime.
1122 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1124         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1125         be an inline implementation regardless of library is built within.
1126         (open_not_cancel_2): Likewise.
1127         (__read_nocancel): Likewise.
1128         (__write_nocancel): Likewise.
1129         (openat_not_cancel): Likewise.
1130         (openat_not_cancel_3): Likewise.
1131         (openat64_not_cancel): Likewise.
1132         (openat64_not_cancel_3): Likewise.
1133         (__close_nocancel): Likewise.
1134         (pause_not_cancel): Likewise.
1135         (nanosleep_not_cancel): Likewise.
1136         (sigsuspend_not_cancel): Likewise.
1138 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1140         [BZ #14958]
1141         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1142         wake-up.
1143         (__pthread_rwlock_rdlock_slow): Likewise.
1144         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1145         Likewise.
1146         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1147         Likewise.
1148         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1149         * nptl/tst-rwlock16.c: New file.
1150         * nptl/Makefile (tests): Add new test.
1152 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1154         [BZ #18324]
1155         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1156         missing wake-up of readers.
1157         * nptl/tst-rwlock15.c: New file.
1158         * nptl/Makefile (tests): Add new test.
1160 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1162         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1163         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1164         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1165         and __nacl_supply_interface_rtld.
1166         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1167         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1168         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1169         Add __nacl_supply_interface_rtld.
1170         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1172 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1174         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1175         isfinite.
1176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1177         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1179 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1181         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1182         __signbit* with standard C99 macros.
1183         * math/e_exp10l.c: Likewise.
1184         * math/e_exp2l.c: Likewise.
1185         * math/e_scalb.c: Likewise.
1186         * math/e_scalbf.c: Likewise.
1187         * math/e_scalbl.c: Likewise.
1188         * math/s_ldexp.c: Likewise.
1189         * math/s_ldexpf.c: Likewise.
1190         * math/s_ldexpl.c: Likewise.
1191         * math/w_atan2.c: Likewise.
1192         * math/w_atan2f.c: Likewise.
1193         * math/w_atan2l.c: Likewise.
1194         * math/w_cosh.c: Likewise.
1195         * math/w_coshf.c: Likewise.
1196         * math/w_coshl.c: Likewise.
1197         * math/w_exp10.c: Likewise.
1198         * math/w_exp10f.c: Likewise.
1199         * math/w_exp10l.c: Likewise.
1200         * math/w_exp2.c: Likewise.
1201         * math/w_exp2f.c: Likewise.
1202         * math/w_exp2l.c: Likewise.
1203         * math/w_fmod.c: Likewise.
1204         * math/w_fmodf.c: Likewise.
1205         * math/w_fmodl.c: Likewise.
1206         * math/w_hypot.c: Likewise.
1207         * math/w_hypotf.c: Likewise.
1208         * math/w_hypotl.c: Likewise.
1209         * math/w_jnl.c: Likewise.
1210         * math/w_lgamma.c: Likewise.
1211         * math/w_lgamma_r.c: Likewise.
1212         * math/w_lgammaf.c: Likewise.
1213         * math/w_lgammaf_r.c: Likewise.
1214         * math/w_lgammal.c: Likewise.
1215         * math/w_lgammal_r.c: Likewise.
1216         * math/w_pow.c: Likewise.
1217         * math/w_powf.c: Likewise.
1218         * math/w_powl.c: Likewise.
1219         * math/w_remainder.c: Likewise.
1220         * math/w_remainderf.c: Likewise.
1221         * math/w_remainderl.c: Likewise.
1222         * math/w_scalb.c: Likewise.
1223         * math/w_scalbf.c: Likewise.
1224         * math/w_scalbl.c: Likewise.
1225         * math/w_scalbln.c: Likewise.
1226         * math/w_scalblnf.c: Likewise.
1227         * math/w_scalblnl.c: Likewise.
1228         * math/w_sinh.c: Likewise.
1229         * math/w_sinhf.c: Likewise.
1230         * math/w_sinhl.c: Likewise.
1231         * math/w_tgamma.c: Likewise.
1232         * math/w_tgammaf.c: Likewise.
1233         * math/w_tgammal.c: Likewise.
1234         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1235         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1237         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1238         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1240         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1241         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1242         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1243         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1244         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1261         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1262         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1263         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1265         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1266         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1267         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1268         * stdio-common/printf_fp.c: Likewise.
1269         * stdio-common/printf_fphex.c: Likewise.
1270         * stdio-common/printf_size.c: Likewise.
1272 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1274         [BZ #18470]
1275         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1276         strnlen.
1277         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1278         Remove variable.
1279         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1280         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1281         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1282         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1283         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1284         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1285         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1286         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1287         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1288         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1290         [BZ #18468]
1291         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1292         weak alias of __wmemchr.  Use libc_hidden_weak.
1293         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1294         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1295         instead of wmemchr.
1297 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1299         [BZ #18383]
1300         * elf/tst-tlsalign-extern.c: New file.
1301         * elf/tst-tlsalign-extern-static.c: New file.
1302         * elf/tst-tlsalign-vars.c: New file.
1303         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1304         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1305         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1306         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1307         (test-xfail-tst-tlsalign-extern-static): New variable.
1309 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1311         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1312         Use variable name _sc_err instead of err.
1313         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1314         instead of ret.
1315         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1316         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1317         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1318         (INLINE_SYSCALL): Likewise.
1320         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1321         * include/string.h (__strnlen): Use libc_hidden_proto.
1322         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1323         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1324         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1325         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1326         (libc_hidden_def): Undefine and redefine.
1327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1328         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1329         __GI_strnlen.
1330         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1331         libc_hidden_def.
1332         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1334         [BZ #18469]
1335         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1336         weak alias of __towlower.  Use libc_hidden_weak.
1337         (towupper): Rename to __towupper and define as weak alias of
1338         __towupper.  Use libc_hidden_weak.
1339         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1340         (__towupper): Likewise.
1341         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1342         __towlower instead of towlower.
1344 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1346         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1347         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1349 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1351         * sysdeps/aarch64/libm-test-ulps: Update.
1353 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1355         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1356         Define.
1357         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1359         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1360         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1361         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1362         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1363         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1365 2015-06-01  Martin Sebor  <msebor@redhat.com>
1367         [BZ #18116]
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1369         (__setcontext): Use extended four-operand version of mtsf whenever
1370         possible.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1372         (__novec_swapcontext): Likewise.
1374 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1376         * benchtests/scripts/compare_bench.py: New file.
1377         * benchtests/scripts/import_bench.py (mean): New function.
1378         (split_list): Likewise.
1379         (do_for_all_timings): Likewise.
1380         (compress_timings): Likewise.
1382         * benchtests/scripts/import_bench.py: New file.
1383         * benchtests/scripts/validate_benchout.py: Import import_bench
1384         instead of jsonschema.
1385         (validate_bench): Remove function.
1386         (main): Use import_bench.
1388 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1390         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1391         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1393 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1397 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1399         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1400         set THREAD_SELF->tid to a magic value and futex-wake it.
1401         Pass its address to the thread_exit system call.
1402         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1403         bit is clear.
1404         * sysdeps/nacl/lowlevellock.h: New file.
1405         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1407         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1408         Add TIMEOUT to current time, don't subtract it.
1410 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1412         [BZ #18422]
1413         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1414         ($(objpfx)tst-audit2.out): Also depend on
1415         $(objpfx)tst-auditmod9b.so.
1416         * elf/tst-audit2.c: Include <dlfcn.h>.
1417         (calloc_called): New.
1418         (calloc): Allow to be called more than once.
1419         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1421 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1423         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1424         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1426 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1428         * stdlib/monetary.h: Fix comment.
1430 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1432         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1433         Avoid using variables in #defines that might cause shadowing.
1434         (INTERNAL_VSYSCALL_CALL): Likewise.
1436 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1438         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1440         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1441         * nptl/lll_timedlock_wait.c: ... to this new file.
1442         * nptl/Makefile (libpthread-routines): Add it.
1443         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1444         * nptl/lll_timedwait_tid.c: ... to this new file.
1445         * nptl/Makefile (libpthread-routines): Add it.
1446         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1447         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1448         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1449         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1450         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1451         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1452         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1453         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1454         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1455         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1457 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1459         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1460         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1461         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1463         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1465         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1467         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1468         * sysdeps/unix/sysv/linux/tile/sysdep.h
1469         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1470         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1471         using vDSO syscall macro.
1473 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1475         [BZ #17293]
1476         * uk_UA: Fix sorting order for Ukrainian locale
1478 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1480         * stdlib/monetary.h: Fix comment.
1482 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1484         [BZ #18234]
1485         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1486         st_mtim and st_ctim members.
1487         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1488         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1489         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1490         (struct stat64): Likewise.
1491         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1492         (struct stat64): Likewise.
1493         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1494         (struct stat64): Likewise.
1496 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1498         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1499         Define and include sysdep-vdso.h.
1500         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1501         Likewise.
1502         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1503         Likewise.
1504         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1505         Define with VDSO_SYMBOL and use PTR_MANGLE.
1506         (__vdso_clock_gettime): Likewise.
1507         (__vdso_clock_getres): Likewise.
1508         (_libc_vdso_platform_setup): Likewise.
1509         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1510         Likewise.
1511         (_libc_vdso_platform_setup): Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1513         Likewise.
1514         (__vdso_clock_gettime): Likewise.
1515         (__vdso_clock_getres): Likewise.
1516         (__vdso_get_tbfreq): Likewise.
1517         (__vdso_getcpu): Likewise.
1518         (__vdso_time): Likewise.
1519         (__vdso_sigtramp_rt64): Likewise.
1520         (__vdso_signtramp32): Likewise.
1521         (__vdso_sigtramp_rt32): Likewise.
1522         (_libc_vdso_platform_setup): Likewise.
1523         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1524         Likewise.
1525         (__vdso_clock_gettime): Likewise.
1526         (__vdso_clock_getres): Likewise.
1527         (_libc_vdso_platform_setup): Likewise.
1528         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1529         Likewise.
1530         (__vdso_clock_gettime): Likewise.
1531         (_libc_vdso_platform_setup): Likewise.
1532         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1533         Likewise.
1534         (__vdso_getcpu): Likewise.
1535         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1536         Use VDSO_SYMBOL macro to define.
1537         (__vdso_clock_gettime): Likewise.
1538         (__vdso_clock_getres): Likewise.
1539         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1540         Likewise.
1541         (__vdso_clock_gettime): Likewise.
1542         (__vdso_clock_getres): Likewise.
1543         (__vdso_get_tbfreq): Likewise.
1544         (__vdso_getcpu): Likewise.
1545         (__vdso_time): Likewise.
1546         (__vdso_sigtramp_rt64): Likewise.
1547         (__vdso_signtramp32): Likewise.
1548         (__vdso_sigtramp_rt32): Likewise.
1549         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1550         Likewise.
1551         (__vdso_clock_gettime): Likewise.
1552         (__vdso_clock_getres): Likewise.
1553         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1554         Likewise.
1555         (__vdso_clock_gettime): Likewise.
1556         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1557         Likewise.
1558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1559         macro.
1560         (INTERNAL_VSYSCALL): Likewise.
1561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1562         Remove macro.
1563         (INTERNAL_VSYSCALL): Likewise.
1564         (INTERNAL_VSYSCALL_NCS): Likewise.
1565         (INTERNAL_VSYSCALL_CALL): New macro.
1566         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1568         Likewise.
1569         (INTERNAL_VSYSCALL): Likewise.
1570         (INTERNAL_VSYSCALL_NCS): Likewise.
1571         (INTERNAL_VSYSCALL_CALL): New macro.
1572         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1574         (INLINE_VSYSCALL): Remove macro.
1575         (INTERNAL_VSYSCALL): Remove macro.
1576         (INTERNAL_VSYSCALL_NCS): Remove macro.
1577         (INTERNAL_VSYSCALL_CALL): New macro.
1578         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1579         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1580         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1581         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1582         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1584         (INLINE_VSYSCALL): Remove macro.
1585         (INTERNAL_VSYSCALL): Likewise.
1586         (INTERNAL_VSYSCALL_NCS): Likewise.
1587         (INTERNAL_VSYSCALL_CALL): New macro.
1588         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1590         PTR_DEMANGLE on vDSO pointer.
1591         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1592         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1593         macro.
1594         (INTERNAL_SYSCALL): Likewise.
1595         (INTERNAL_VSYSCALL_NCS): Remove macro.
1596         (INTERNAL_VSYSCALL_CALL): New macro.
1597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1598         Remove macro.
1599         (INTERNAL_VSYSCALL): Likewise.
1600         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1601         sysdep-vdso.h instead of libc-vdso.h.
1602         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1603         definition.
1604         (INLINE_VSYSCALL): Likewise.
1605         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1606         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1607         definition.
1608         (INLINE_VSYSCALL): Likewise.
1609         (INTERNAL_VSYSCALL): Likewise.
1610         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1611         * sysdeps/unix/sysv/linux/timespec_get.c
1612         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1613         (timespec_get): Use ANSI prototype.
1614         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1615         and definition for Linux.
1617 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1619         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1620         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1622 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1624         [BZ #18410]
1625         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1626         for missing DT_PLTRELSZ.
1628 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1630         Remove obsolete aliases that broke 'locale -a'
1631         [BZ #18412]
1632         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1633         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1634         breaking some applications that use 'locale -a' output.
1635         Change the encoding of this file from Latin-1 to ASCII to avoid
1636         other potential problems with people grepping this file.
1638 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1640         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1641         -fasynchronous-unwind-tables.
1642         (CFLAGS-sendto.c): Likewise.
1643         (CFLAGS-sendmsg.c): Likewise.
1644         (CFLAGS-connect.c): Likewise.
1645         (CFLAGS-recvmsg.c): Likewise.
1646         (CFLAGS-recvfrom.c): Likewise.
1647         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1648         (SOCKETCALL): New macro: non-cancellable socketcall.
1649         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1650         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1651         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1652         * sysdeps/unix/sysv/linux/accept.c: New file.
1653         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1654         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1655         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1656         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1657         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1658         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1659         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1660         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1661         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1662         * sysdeps/unix/sysv/linux/send.c: Likewise.
1663         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1664         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1665         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1666         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1667         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1668         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1669         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1670         prototype.
1671         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1672         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1673         instead of __internal_xxx function.
1674         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1675         prototype.
1676         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1677         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1678         instead of __internal_xxx function.
1679         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1680         prototype.
1681         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1682         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1683         instead of __internal_xxx function.
1684         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1685         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1686         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1687         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1688         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1689         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1690         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1691         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1692         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1693         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1694         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1695         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1696         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1697         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1698         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1699         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1700         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1701         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1702         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1703         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1706         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1707         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1708         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1709         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1710         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1711         * sysdeps/unix/sysv/linux/send.S: Likewise.
1712         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1713         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1714         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1715         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1716         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1717         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1718         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1720         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1721         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1722         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1723         socketcall is implemented in GLIBC.
1725 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1727         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1728         (__fma): Ignore uninitialized warnings around packing.
1729         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1730         (__fmaf): Ignore uninitialized warnings around packing.
1731         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1732         (__fmal): Ignore uninitialized warnings around packing.
1734         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1735         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1736         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1737         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1739         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1740         switch statement into default case.
1741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1743         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1744         a conditional in forcing "inexact".
1745         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1746         Likewise.
1748 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1750         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1751         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1752         for each INTERNAL_SYSCALL use.
1754 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1756         [BZ #438]
1757         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1758         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1759         variable.
1761         [BZ #18444]
1762         * string/basename.c (basename): Rename to __basename and define as
1763         weak alias of __basename.  Use libc_hidden_weak.
1764         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1765         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1766         __basename instead of basename.
1767         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1768         Remove variable.
1769         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1771 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1773         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1774         (_IO_JUMPS_FILE_plus): New.
1775         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1776         _IO_CAST_FIELD_ACCESS.
1777         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1778         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1779         * libio/freopen.c (freopen): Likewise.
1780         * libio/freopen64.c (freopen64): Likewise.
1781         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1782         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1783         * libio/iofwide.c (_IO_fwide): Likewise.
1784         * libio/memstream.c (open_memstream): Likewise.
1785         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1786         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1787         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1789 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1791         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1792         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1793         NADJ.
1794         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1795         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1796         NADJ.
1797         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1798         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1799         NADJ.
1801         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1802         (p == 4) case.
1804         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1805         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1806         Remove variable.
1807         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1808         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1809         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1811 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1813         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1814         Adjust jump table label generation macros.
1816 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1818         * stdio-common/vfprintf.c (vfprintf): Move local variables
1819         args_malloced, specs, specs_malloced, and the code after
1820         do_positional to the printf_positional function.
1821         (printf_positional): New function.
1823 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1825         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1826         function.
1827         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1828         STEP4_TABLE, process_arg): Move macro definitions
1829         out of the vfprintf function.  (Cosmetic change only.)
1831 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1833         * benchtests/Makefile (stdio-common-bench): Define.
1834         (benchset): Add stdio-common-bench.
1835         * sprintf-inputs: New file.
1836         * sprintf-source.c: New file.
1838 2015-05-21  Andreas Schwab  <schwab@suse.de>
1840         [BZ #13028]
1841         [BZ #17053]
1842         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1843         of struct __res_state.
1844         * resolv/res_send.c (__libc_res_nsend): Likewise.
1845         (get_nsaddr): New function.
1846         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1847         statp directly.
1849 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1851         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1852         -D_POSIX_C_SOURCE=199506L.
1854         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1856         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1857         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1858         Do not mention otherwise.
1859         [POSIX] (_XOPEN_VERSION): Do not expect.
1860         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1861         [POSIX] (_POSIX2_C_BIND): Likewise.
1862         [POSIX] (_POSIX2_VERSION): Likewise.
1863         [POSIX] (_XOPEN_XPG2): Likewise.
1864         [POSIX] (_XOPEN_XPG3): Likewise.
1865         [POSIX] (_XOPEN_XPG4): Likewise.
1866         [POSIX] (_XOPEN_UNIX): Likewise.
1867         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1868         [POSIX] (_POSIX_BARRIERS): Likewise.
1869         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1870         [POSIX] (_POSIX_CPUTIME): Likewise.
1871         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1872         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1873         [POSIX] (_POSIX_SHELL): Likewise.
1874         [POSIX] (_POSIX_SPAWN): Likewise.
1875         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1876         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1877         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1878         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1879         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1880         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1881         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1882         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1883         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1884         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1885         [POSIX] (_POSIX2_PBS): Likewise.
1886         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1887         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1888         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1889         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1890         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1891         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1892         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1893         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1894         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1895         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1896         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1897         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1898         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1899         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1900         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1901         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1902         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1903         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1904         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1905         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1906         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1907         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1908         [POSIX] (_SC_2_C_BIND): Likewise.
1909         [POSIX] (_SC_2_C_VERSION): Likewise.
1910         [POSIX] (_SC_2_PBS): Likewise.
1911         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1912         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1913         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1914         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1915         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1916         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1917         [POSIX] (_SC_BARRIERS): Likewise.
1918         [POSIX] (_SC_BASE): Likewise.
1919         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1920         [POSIX] (_SC_DEVICE_IO): Likewise.
1921         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1922         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1923         [POSIX] (_SC_FD_MGMT): Likewise.
1924         [POSIX] (_SC_FIFO): Likewise.
1925         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1926         [POSIX] (_SC_FILE_LOCKING): Likewise.
1927         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1928         [POSIX] (_SC_IOV_MAX): Likewise.
1929         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1930         [POSIX] (_SC_NETWORKING): Likewise.
1931         [POSIX] (_SC_PAGE_SIZE): Likewise.
1932         [POSIX] (_SC_PASS_MAX): Likewise.
1933         [POSIX] (_SC_PIPE): Likewise.
1934         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1935         [POSIX] (_SC_REGEXP): Likewise.
1936         [POSIX] (_SC_SHELL): Likewise.
1937         [POSIX] (_SC_SIGNALS): Likewise.
1938         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1939         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1940         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1941         [POSIX] (_SC_USER_GROUPS): Likewise.
1942         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1943         [POSIX] (_SC_STREAMS): Likewise.
1944         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1945         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1946         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1947         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1948         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1949         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1950         [POSIX] (_PC_FILESIZEBITS): Likewise.
1951         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1952         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1953         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1954         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1955         [POSIX] (uid_t): Likewise.
1956         [POSIX] (gid_t): Likewise.
1957         [POSIX] (off_t): Likewise.
1958         [POSIX] (pid_t): Likewise.
1959         [POSIX] (cuserid): Allow.
1960         (_SC_2_CHAR_TERM): Require constant.
1961         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1962         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1963         variable.
1965 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1967         * sysdeps/nacl/pthread-pids.h: New file.
1968         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1969         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1971         * nptl/pthread-pids.h: New file.
1972         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1973         * nptl/nptl-init.c: Include <pthread-pids.h>.
1974         (__pthread_initialize_minimal_internal):
1975         Call __pthread_initialize_pids instead of set_tid_address syscall.
1977         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1978         * sysdeps/posix/usleep.c: ... here.
1980 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1982         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1983         call_pselect6 object.
1984         [$(subdir) = io]: Remove call_sync_file_range object.
1985         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1986         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1987         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1988         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1990 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1992         * math/s_cproj.c: Add include "math_private.h".
1993         * math/s_cprojf.c: Likewise.
1994         * math/s_cprojl.c: Likewise.
1996 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1998         [BZ #18244]
1999         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2000         high mantissa bit when testing whether P is a NaN.
2001         * math/libm-test.inc (remainder_test_data): Add more tests.
2002         (remquo_test_data): Likewise.
2004         [BZ #18049]
2005         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2006         below -32, return the argument, with underflow if subnormal.
2007         * math/auto-libm-test-in: Add more tests of atanh.
2008         * math/auto-libm-test-out: Regenerated.
2010 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2012         [BZ #18434]
2013         * nptl/tst-sem15.c: New file.
2014         * nptl/Makefile (tests): Add it.
2015         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2016         s/<</>>/ to fix typo in EOVERFLOW check.
2017         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2019 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2021         * manual/strings.texi (envz_remove): Fix typo in safety
2022         annotations.
2024 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2025             Steve Ellcey  <sellcey@imgtec.com>
2027         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2028         in order to avoid strict alias warnings.
2029         (iruserok_af): Ditto for ra.
2031 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2033         [BZ #17581]
2034         * malloc/hooks.c
2035         (magicbyte): Convert to a function and avoid returning 0x01.
2036         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2037         (mem2chunk_check): Fix unsigned comparisons to zero.
2038         Hoist defs of sz and magic.
2040 2015-05-19  Richard Henderson  <rth@redhat.com>
2042         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2044         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2046 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2048         [BZ #16159]
2049         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2050         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2051         (reused_arena): Find a non-corrupt arena.
2052         (heap_trim): Pass arena to unlink.
2053         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2054         malloc_printerr.
2055         (top_check): Likewise.
2056         (free_check): Likewise.
2057         (realloc_check): Likewise.
2058         * malloc/malloc.c (malloc_printerr): Add arena argument.
2059         (unlink): Likewise.
2060         (munmap_chunk): Adjust.
2061         (ARENA_CORRUPTION_BIT): New macro.
2062         (arena_is_corrupt): Likewise.
2063         (set_arena_corrupt): Likewise.
2064         (sysmalloc): Use mmap if there are no usable arenas.
2065         (_int_malloc): Likewise.
2066         (__libc_malloc): Don't fail if arena_get returns NULL.
2067         (_mid_memalign): Likewise.
2068         (__libc_calloc): Likewise.
2069         (__libc_realloc): Adjust for additional argument to
2070         malloc_printerr.
2071         (_int_free): Likewise.
2072         (malloc_consolidate): Likewise.
2073         (_int_realloc): Likewise.
2074         (_int_memalign): Don't touch corrupt arenas.
2075         * malloc/tst-malloc-backtrace.c: New test case.
2077         * Makefile (summarize-tests): Fix return value on success.
2079         * manual/string.texi (Envz Functions): Add envz_remove.
2081 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2083         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2084         (invalid_name): New function, broken out of ...
2085         (__opendirat): ... here.  Call it.
2086         (need_isdir_precheck): New function, broken out of ...
2087         (__opendirat): ... here.  Call it.
2088         Use __fxstatat64, not __xstatat64.
2089         (opendir_oflags): New function, broken out of ...
2090         (__opendirat): ... here.  Call it.
2091         (opendir_tail): New function, broken out of ...
2092         (__opendirat): ... here.  Call it.
2093         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2094         opendir_tail, rather than punting to __opendirat.
2095         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2097 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2099         * .gitignore: Ignore generated *.pyc.
2101 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2103         * include/stdio.h: Define __need_wint_t.
2104         * test-skeleton.c: Avoid `for' loop initial declaration.
2105         * nptl/tst-initializers1.c: Use test-skeleton.c.
2107 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2109         [BZ #18418]
2110         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2112 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2114         [BZ #16352]
2115         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2116         (__ieee754_atanh): Force underflow exception for results with
2117         small absolute value.
2118         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2119         (__ieee754_atanhf): Force underflow exception for results with
2120         small absolute value.
2121         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2122         (__ieee754_atanh): Force underflow exception for results with
2123         small absolute value.
2124         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2125         (__ieee754_atanhf): Force underflow exception for results with
2126         small absolute value.
2127         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2128         (__ieee754_atanhl): Force underflow exception for results with
2129         small absolute value.
2130         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2131         (__ieee754_atanhl): Force underflow exception for results with
2132         small absolute value.
2133         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2134         (__ieee754_atanhl): Force underflow exception for results with
2135         small absolute value.
2136         * math/auto-libm-test-in: Do not allow missing underflow
2137         exceptions from atanh.
2138         * math/auto-libm-test-out: Regenerated.
2140         [BZ #18221]
2141         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2142         2**-28 as threshold for returning x or +/- 1/x.
2143         * math/auto-libm-test-in: Add more tests of tan.
2144         * math/auto-libm-test-out: Regenerated.
2146         [BZ #18220]
2147         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2148         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2149         * math/auto-libm-test-in: Add another test of lgamma.
2150         * math/auto-libm-test-out: Regenerated.
2152 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2154         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2155         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2156         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2157         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2158         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2159         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2160         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2162         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2163         (log1): Use fabs.  (my_log2): Use fabs.
2164         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2165         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2166         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2167         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2169         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2170         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2171         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2172         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2173         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2174         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2176 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2178         [BZ #18217]
2179         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2180         as threshold for returning 1 - x.
2181         * math/auto-libm-test-in: Add more tests of erfc.
2182         * math/auto-libm-test-out: Regenerated.
2184 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2186         [BZ #18196]
2187         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2188         threshold for large arguments.
2189         * math/auto-libm-test-in: Add another test of atan.
2190         * math/auto-libm-test-out: Regenerated.
2192         [BZ #16339]
2193         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2194         (__log1p): Force underflow exception for results with small
2195         absolute value.
2196         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2197         (__log1pf): Force underflow exception for results with small
2198         absolute value.
2199         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2200         (__log1p): Force underflow exception for results with small
2201         absolute value.
2202         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2203         (__log1pf): Force underflow exception for results with small
2204         absolute value.
2205         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2206         (__log1pl): Force underflow exception for results with small
2207         absolute value.
2208         * math/auto-libm-test-in: Do not allow missing underflow
2209         exceptions from log1p.
2210         * math/auto-libm-test-out: Regenerated.
2212 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2213             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2215         [BZ #16704]
2216         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2218 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2220         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2221         (libmvec): New variable.
2222         * configure.ac: Added option for mathvec build.
2223         * configure: Regenerated.
2224         * mathvec/Depend: New file.
2225         * mathvec/Makefile: New file.
2226         * shlib-versions: Added libmvec.
2227         * math/Makefile: Added rule for libm.so installation.
2229         * bits/math-vector.h: New file.
2230         * bits/libm-simd-decl-stubs.h: New header.
2231         * math/Makefile (headers): Added new header
2232         libm-simd-decl-stubs.h.
2233         * math/math.h (__MATHCALL_VEC): New macro.
2235         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2236         for conditions in testing functions.
2237         * math/Makefile: Added call of libm-have-vector-test.sh.
2238         * math/libm-test.inc (HAVE_VECTOR): New macros.
2240         * math/libm-test.inc: START refactored.
2241         * math/test-double.c (TEST_MATHVEC): Add define.
2242         * math/test-float.c: Likewise.
2243         * math/test-idouble.c: Likewise.
2244         * math/test-ifloat.c: Likewise.
2245         * math/test-ildoubl.c: Likewise.
2246         * math/test-ldouble.c: Likewise.
2247         * sysdeps/generic/math-tests-arch.h
2248         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2249         architecture check.
2251         * math/test-double.c (FUNC_TEST): New macro.
2252         * math/test-float.c: Likewise.
2253         * math/test-idouble.c: Likewise.
2254         * math/test-ifloat.c: Likewise.
2255         * math/test-ildoubl.c: Likewise.
2256         * math/test-ldouble.c: Likewise.
2257         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2259 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2261         * sysdeps/nacl/fdopendir.c: New file.
2263         * dirent/scandir-tail.c: New file.
2264         * dirent/scandir64-tail.c: New file.
2265         * dirent/Makefile (routines): Add them.
2266         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2267         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2268         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2269         [!SCANDIR] (SCANDIR_TAIL): New macro.
2270         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2271         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2272         (SCANDIRAT): Macro removed.
2273         (SCANDIR_TAIL): New macro.
2274         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2275         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2276         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2277         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2278         (READDIR): Macro removed.
2279         (SCANDIR_TAIL): New macro.
2280         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2281         (SCANDIR_TAIL): New macro.
2283         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2284         * dirent/scandir-cancel.c: ... to this new file.
2285         * dirent/Makefile (routines): Add it.
2286         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2287         * sysdeps/unix/sysv/linux/i386/scandir64.c
2288         (SKIP_SCANDIR_CANCEL): Macro removed.
2289         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2291         * dirent/tst-scandir.c: New file.
2292         * dirent/tst-scandir64.c: New file.
2293         * dirent/Makefile (tests): Add them.
2295 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2297         [BZ #18409]
2298         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2300 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2302         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2303         list.
2305 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2307         * benchtests/bench-strcoll.c: New benchmark.
2308         * benchtests/Makefile: Generate locales and run benchmark.
2309         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2310         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2311         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2312         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2313         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2314         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2315         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2316         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2317         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2318         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2319         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2320         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2321         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2322         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2323         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2324         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2325         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2326         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2327         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2328         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2329         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2330         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2331         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2332         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2334 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2336         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2337         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2339 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2341         * posix/uname-values.h: New file.
2342         * posix/uname.c: Include that instead of <config-name.h>.
2343         * sysdeps/nacl/uname-values.h: New file.
2344         * sysdeps/arm/nacl/uname-values.h: New file.
2346 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2348         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2349         splitting into fields.
2351 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2353         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2354         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2355         * locale/localeinfo.h: Add enum collation_encoding_type.
2356         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2357         * programs/ld-collate.c (collate_output): Add encoding type info.
2358         * string/strcoll_l.c (STRDIFF): New function.
2359         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2360         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2362 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2364         [BZ #18397]
2365         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2366         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2367         <fpu_control.h> instead of <math/fpu_control.c>.
2368         * sysdeps/mips/mips32/fpu/Makefile: New file.
2370 2015-05-11  Andreas Schwab  <schwab@suse.de>
2372         [BZ #18007]
2373         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2374         nss_endgrent.
2375         (_nss_compat_endgrent): Call nss_endgrent.
2376         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2377         nss_endpwent.
2378         (_nss_compat_endpwent): Call nss_endpwent.
2379         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2380         needent, call nss_setspent only if non-zero.
2381         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2382         (internal_endspent): Don't call nss_endspent.
2383         (_nss_compat_endspent): Call nss_endspent.
2384         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2385         Remove.  All uses removed.
2386         (internal_setent): Remove parameter stayopen, add parameter
2387         stream.  Use it instead of global variable.
2388         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2389         (internal_endent, internal_getent): Add parameter stream.  Use it
2390         instead of global variable.
2391         (CONCAT(_nss_files_end,ENTNAME))
2392         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2393         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2394         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2395         uses removed.
2396         (internal_setent, internal_endent): Add parameter stream.  Use it
2397         instead of global variable.
2398         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2399         stream.
2400         (get_next_alias): Add parameter stream.
2401         (_nss_files_getaliasent_r): Pass global stream.
2402         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2403         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2404         (_nss_files_gethostbyname4_r): Pass local stream to
2405         internal_setent, internal_getent and internal_endent.  Remove
2406         locking.
2408 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2410         * tst-strfmon1.c (tests): Update expected currency symbol.
2412 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2414         * sysdeps/nacl/gethostname.c: New file.
2416 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2418         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2419         and sinh.
2420         * math/auto-libm-test-out: Regenerated.
2421         * sysdeps/i386/fpu/libm-test-ulps: Update.
2422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2424 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2426         [BZ #18125]
2427         * stdlib/tst-setcontext3.c: New file.
2428         * stdlib/tst-setcontext3.sh: New file.
2429         * stdlib/Makefile (tests): Add tst-setcontext3.
2430         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2431         to verify test program created output file.
2432         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2433         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2434         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2435         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2437 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2439         [BZ #18383]
2440         * elf/tst-tlsalign.c: New file.
2441         * elf/tst-tlsalign-static.c: New file.
2442         * elf/tst-tlsalign-lib.c: New file.
2443         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2444         (tests-static): Add tst-tlsalign-static.
2445         (modules-names): Add tst-tlsalign-lib.
2446         (test-xfail-tst-tlsalign): New variable.
2447         (test-xfail-tst-tlsalign-static): New variable.
2449         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2450         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2452 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2454         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2455         csqrt, erfc, sin and sincos.
2456         * math/auto-libm-test-out: Regenerated.
2457         * sysdeps/i386/fpu/libm-test-ulps: Update.
2458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2462         * sysdeps/aarch64/libm-test-ulps: Update.
2464 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2466         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2467         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2468         * math/auto-libm-test-out: Regenerated.
2469         * sysdeps/i386/fpu/libm-test-ulps: Update.
2470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2474         [BZ #18265]
2475         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2476         (wcsncpy): Likewise.
2478 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2480         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2481         Assume __ASSUME_FALLOCATE is always true.
2482         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2483         (__posix_fallocate64_l64): Likweise.
2484         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2485         (posix_fallocate): Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2487         (__posix_fallocate64_l64): Likewise.
2488         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2489         [!__ASSUME_FALLOCATE]: Add comment.
2491 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2493         * sysdeps/unix/sysv/linux/i386/Makefile
2494         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2495         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2496         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2497         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2498         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2499         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2500         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2502 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2504         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2505         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2506         tgamma.
2507         * math/auto-libm-test-out: Regenerated.
2508         * sysdeps/i386/fpu/libm-test-ulps: Update.
2509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2511 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2513         * math/auto-libm-test-in: Add more tests of tgamma.
2514         * math/auto-libm-test-out: Regenerated.
2515         * sysdeps/i386/fpu/libm-test-ulps: Update.
2516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518         * math/auto-libm-test-in: Add more tests of tanh.
2519         * math/auto-libm-test-out: Regenerated.
2520         * sysdeps/i386/fpu/libm-test-ulps: Update.
2521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2523         * math/auto-libm-test-in: Add more tests of tan.
2524         * math/auto-libm-test-out: Regenerated.
2525         * sysdeps/i386/fpu/libm-test-ulps: Update.
2526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2529         * math/auto-libm-test-out: Regenerated.
2530         * sysdeps/i386/fpu/libm-test-ulps: Update.
2531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533         * math/auto-libm-test-in: Add another test of pow.
2534         * math/auto-libm-test-out: Regenerated.
2535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2537         * math/auto-libm-test-in: Add more tests of lgamma.
2538         * math/auto-libm-test-out: Regenerated.
2539         * sysdeps/i386/fpu/libm-test-ulps: Update.
2540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2542         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2543         log1p.
2544         * math/auto-libm-test-out: Regenerated.
2545         * sysdeps/i386/fpu/libm-test-ulps: Update.
2546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2550         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2551         Elf64_Chdr structs and ELFCOMPRESS constants.
2553 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2555         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2556         expm1.
2557         * math/auto-libm-test-out: Regenerated.
2558         * sysdeps/i386/fpu/libm-test-ulps: Update.
2559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561         * math/auto-libm-test-in: Add more tests of erf and erfc.
2562         * math/auto-libm-test-out: Regenerated.
2563         * sysdeps/i386/fpu/libm-test-ulps: Update.
2564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2568         * config.h.in (HAVE_AARCH64_BE): Add.
2570 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2572         * math/auto-libm-test-in: Add more tests of csqrt.
2573         * math/auto-libm-test-out: Regenerated.
2574         * sysdeps/i386/fpu/libm-test-ulps: Update.
2575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2578         * math/auto-libm-test-out: Regenerated.
2579         * sysdeps/i386/fpu/libm-test-ulps: Update.
2580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2584 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2586         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2587         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2589         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2590         (euidaccess, eaccess): Define as weak aliases.
2592         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2593         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2594         but __suseconds_t is often 'long int' so some sources assume that
2595         type is being used (e.g. they use %ld to print tv_usec).
2597 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2599         [BZ #18007]
2600         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2601         (CVE-2014-8121)
2602         * nss/tst-nss-getpwent.c: New file.
2603         * nss/Makefile (tests): Add new test.
2605 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2607         [BZ #18346]
2608         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2609         exponents less than 48 as cases where high part of mantissa needs
2610         examining to determine whether argument is integral.
2611         * math/libm-test.inc (round_test_data): Add more tests.
2613 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2615         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2617 2015-04-27  David S. Miller  <davem@davemloft.net>
2619         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2620         __tls_get_addr.
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2623 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2625         [BZ#18333]
2626         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2628 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2630         [BZ#18333]
2631         * time/tzset.c (parse_tzname): Return error on memory allocation
2632         failure.
2633         * test-skeleton.c (struct temp_name_list): Change type of name
2634         member to non-const.
2635         (add_temp_file): Create a copy of the file name.
2636         (delete_temp_files): Deallocate memory.
2637         (create_temp_file): Add comment.
2639 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2641         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2642         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2644 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2646         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2647         * sysdeps/arm/configure: Regenerated.
2649 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2651         [BZ #17715]
2652         * time/tzfile.c (__tzfile_read): Check for large values of
2653         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2654         * time/tzset.c (__tzstring_len): New function, based on the old
2655         __tzstring function.
2656         (__tzstring): Call __tzstring_len.
2657         (parse_tzname): New helper function extracted from
2658         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2659         the input string.
2660         (parse_offset): New helper function extracted from
2661         __tzset_parse_tz.  Replace switch with fallthrough with
2662         initialization before sscanf.
2663         (parse_rule): Likewise.
2664         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2665         new-style function definition.
2666         * timezone/Makefile (tests): Add tst-tzset.
2667         (tst-tzset.out): Dependencies on time zone files.
2668         (tst-tzset-ENV): Set TZDIR.
2669         (testdata/XT%): Copy crafted time zone files.
2670         * timezone/README: Mention crafted time zone files.
2671         * timezone/testdata/XT1, timezone/testdata/XT2,
2672         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2673         files.
2674         * timezone/tst-tzset.c: New test.
2676 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2678         * Makeconfig (+gccwarn): Remove -Winline.
2680 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2682         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2684 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2686         * NEWS: Mention sysconf() cache information support for s390.
2687         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2689 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2691         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2692         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2693         (__nearbyint): Likewise.
2694         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2695         (copysignl): Likewise.
2697 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2699         [BZ #18287]
2700         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2701         based on padding.  (CVE-2015-1781)
2703 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2705         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2706         libc-vdso.h.
2707         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2708         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2709         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2710         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2711         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2712         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2715         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2717         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2718         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2719         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2720         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2721         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2722         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2723         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2724         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2725         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2726         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2727         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2728         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2729         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2731 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2733         * stdlib/setenv.c (__add_to_environ):
2734         Dump core quickly if setenv (..., NULL, ...) is called.
2735         This time, do it the right way, and pacify GCC with a pragma.
2737 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2739         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2740         IMAP->l_prev cannot be null, and #if out the code for the contrary
2741         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2742         believe that NS (&_dl_ns[NSID]) could point outside the array.
2744         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2745         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2746         before using NSID as an index.
2748 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2750         [BZ #17825]
2751         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2752         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2753         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2755 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2757         Add preliminary port to Google Native Client on ARM.
2758         * abi-tags (.*-.*-nacl.*): New entry.
2759         * sysdeps/arm/nacl: New directory.
2760         * sysdeps/nacl: New directory.
2762 2015-04-16  David S. Miller  <davem@davemloft.net>
2764         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2765         lowlevellock-futex.h
2767 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2769         * sysdeps/tile/configure.ac: New file.
2770         * sysdeps/tile/configure: Regenerated.
2772 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2774         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2775         conditionals for weak_alias and libc_hidden_weak.
2776         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2777         libc_hidden_weak and weak_alias.
2778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2779         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2780         and weak_alias for static one.
2782 2015-04-15  David S. Miller  <davem@davemloft.net>
2784         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2786 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2788         [BZ #18206]
2789         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2790           Use signed comparision instead of substraction to avoid
2791           overflow bug.
2792         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2793           Take the sign of ret.
2794         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2795           Do not expect precise return values. Only the sign matters.
2796         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2797         * wcsmbs/test-wcsncmp.c: New File.
2798         * string/test-strncmp.c: Add wcsncmp support.
2800 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2802         [BZ #6792]
2803         * math/w_log1p.c: New file.
2804         * math/w_log1pf.c: Likewise.
2805         * math/w_log1pl.c: Likewise.
2806         * math/Makefile (libm-calls): Add w_log1p.
2807         * math/s_log1pl.c (log1pl): Remove weak_alias.
2808         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2809         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2810         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2811         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2812         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2813         [NO_LONG_DOUBLE] (log1pl): Likewise.
2814         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2815         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2816         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2817         (log1p): Remove long_double_symbol.
2818         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2819         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2820         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2821         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2822         remove weak_alias for corresponding log1p function.
2823         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2824         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2825         * sysdeps/ia64/fpu/w_log1p.c: New file.
2826         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2827         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2828         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2830 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2832         [BZ #18247]
2833         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2834         decimal exponent by 1.
2835         * stdlib/tst-strtod-round-data: Add more tests.
2836         * stdlib/tst-strtod-round.c (tests): Regenerated.
2838 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2840         * math/auto-libm-test-in: Add more tests of clog and clog10.
2841         * math/auto-libm-test-out: Regenerated.
2842         * sysdeps/i386/fpu/libm-test-ulps: Update.
2843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2847         * Makeconfig (module-cppflags): Exclude all .v.i files.
2848         (skip-module-cppflags): Variable removed.
2850         * configure.ac (libc_config_ok): Initialize before reading
2851         preconfigure scripts, not after.
2852         * configure: Regenerated.
2854         * test-skeleton.c (TIMEOUT): Move #define to top level.
2855         (main): Grok environment variable TEST_DIRECT.  If set, print
2856         test expectation details into that file and then behave as if
2857         given --direct.
2859 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2861         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2862         warning on 32-bit.
2864 2015-04-08  David S. Miller  <davem@davemloft.net>
2866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2868 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2870         * math/auto-libm-test-in: Add more tests of atanh.
2871         * math/auto-libm-test-out: Regenerated.
2872         * sysdeps/i386/fpu/libm-test-ulps: Update.
2873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2875         * math/auto-libm-test-in: Add more tests of atan.
2876         * math/auto-libm-test-out: Regenerated.
2877         * sysdeps/i386/fpu/libm-test-ulps: Update.
2878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2880 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2882         * elf/pldd.c (main): Rewrite to use struct
2883         scratch_buffer instead of extend_alloca.
2884         * elf/pldd-xx.c (find_maps): Likewise.
2885         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2886         <alloca.h>.
2887         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2888         scratch_buffer instead of extend_alloca.
2889         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2890         grp/compat-initgroups.c.
2891         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2892         Rewrite to use struct scratch_buffer instead of extend_alloca.
2893         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2894         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2896 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2898         * math/auto-libm-test-in: Add more tests of cbrt.
2899         * math/auto-libm-test-out: Regenerated.
2900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2902         * math/auto-libm-test-in: Add more tests of cabs.
2903         * math/auto-libm-test-out: Regenerated.
2904         * sysdeps/i386/fpu/libm-test-ulps: Update.
2905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907         [BZ #18210]
2908         [BZ #18211]
2909         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2910         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2911         computations.
2912         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2913         clog10.
2914         * math/auto-libm-test-out: Regenerated.
2915         * sysdeps/i386/fpu/libm-test-ulps: Update.
2916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2918         [BZ #18197]
2919         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2920         (atan): Set FE_TONEAREST mode for internal computations.
2921         * math/auto-libm-test-in: Add more tests of atan.
2922         * math/auto-libm-test-out: Regenerated.
2924 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2926         [BZ #17930]
2927         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2929 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2931         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2933 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2935         * include/scratch_buffer.h: New file.
2936         * malloc/scratch_buffer_grow.c: Likewise.
2937         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2938         * malloc/scratch_buffer_set_array_size.c: Likewise.
2939         * malloc/tst-scratch_buffer.c: Likewise.
2940         * malloc/Makefile (routines): Add scratch_buffer_grow.
2941         (tests): Add test case.
2942         * malloc/Versions (GLIBC_PRIVATE): Export
2943         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2944         __libc_scratch_buffer_set_array_size.
2946 2015-04-06  Richard Henderson  <rth@redhat.com>
2948         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2949         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2951         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2952         unsigned int before printing.
2954 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2956         [BZ #17596]
2957         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2958         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2960 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2962         * include/libc-internal.h (libc_max_align_t): Define.
2964 2015-04-02  Andreas Schwab  <schwab@suse.de>
2966         [BZ #16850]
2967         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2969 2015-04-02  Mel Gorman  <mgorman@suse.de>
2971         [BZ #17195]
2972         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2973         as well as the main arena.
2975 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2977         [BZ #18185]
2978         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2979         sharing L2 cache to 2 for Silvermont/Knights Landing.
2981 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2983         [BZ #17711]
2984         * config.make.in (have-protected-data): New.
2985         * configure.ac: Check linker support for protected data symbol.
2986         * configure: Regenerated.
2987         * elf/Makefile (modules-names): Add tst-protected1moda and
2988         tst-protected1modb if $(have-protected-data) is yes.
2989         (tests): Add tst-protected1a and tst-protected1b if
2990         $(have-protected-data) is yes.
2991         ($(objpfx)tst-protected1a): New.
2992         ($(objpfx)tst-protected1b): Likewise.
2993         (tst-protected1modb.so-no-z-defs): Likewise.
2994         * elf/tst-protected1a.c: New file.
2995         * elf/tst-protected1b.c: Likewise.
2996         * elf/tst-protected1mod.h: Likewise.
2997         * elf/tst-protected1moda.c: Likewise.
2998         * elf/tst-protected1modb.c: Likewise.
3000 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3002         [BZ #17711]
3003         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3004         indicates it is called from do_lookup_x on relocation against
3005         protected data, skip the data definion in the executable from
3006         copy reloc.
3007         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3008         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3009         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3010         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3011         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3012         otherwise to 0.
3013         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3014         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3015         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3016         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3017         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3018         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3020 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3022         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3023         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3025 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3027         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3028         THREAD_SETMEM_NC.
3029         * sysdeps/x86_64/nptl/tls.h: Ditto.
3031 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3033         * dlfcn/tststatic.c (main): Converted to ...
3034         (do_test): ... this.
3035         (TEST_FUNCTION): New macro.
3036         Include test-skeleton.c.
3038 2015-03-26  Alan Modra  <amodra@gmail.com>
3040         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3041         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3042         zero for undefined weak.
3043         (elf_machine_plt_conflict): Similarly.
3045 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3047         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3048         atanh.
3049         * math/auto-libm-test-out: Regenerated.
3050         * sysdeps/i386/fpu/libm-test-ulps: Update.
3051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3053         * math/auto-libm-test-in: Add another test of asin.
3054         * math/auto-libm-test-out: Regenerated.
3055         * sysdeps/i386/fpu/libm-test-ulps: Update.
3056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3058         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3059         Remove macro.
3060         (LLL_EBX_REG): Likewise.
3061         (LLL_ENTER_KERNEL): Likewise.
3063         * math/auto-libm-test-in: Add more tests of asin.
3064         * math/auto-libm-test-out: Regenerated.
3065         * sysdeps/i386/fpu/libm-test-ulps: Update.
3066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3068         [BZ #18138]
3069         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3070         libc_do_syscall_args): New structure.
3071         (INTERNAL_SYSCALL_MAIN_0): New macro.
3072         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3073         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3074         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3075         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3076         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3077         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3078         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3079         Replace conditional definitions by conditional definitions of ....
3080         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3081         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3082         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3083         (libpthread-sysdep_routines): Add libc-do-syscall.
3084         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3086         to __NR_futex not 240.
3088 2015-03-25  Alan Modra  <amodra@gmail.com>
3090         * NEWS: Advertise TLS optimization.
3091         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3092         (DT_PPC_NUM): Increment.
3093         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3094         (CHECK_STATIC_TLS): Use here.
3095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3096         TLS descriptors.
3097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3098         * sysdeps/powerpc/dl-tls.c: New file.
3099         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3100         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3101         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3102         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3107 2015-03-25  Alan Modra  <amodra@gmail.com>
3109         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3110         for overlapping .opd entries" to "support...".
3111         * sysdeps/powerpc/powerpc64/configure: Regenerate
3113 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3115         * math/auto-libm-test-in: Add more tests of acos.
3116         * math/auto-libm-test-out: Regenerated.
3117         * sysdeps/i386/fpu/libm-test-ulps: Update.
3118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120         * math/auto-libm-test-in: Add more tests of expm1.
3121         * math/auto-libm-test-out: Regenerated.
3122         * sysdeps/i386/fpu/libm-test-ulps: Update.
3123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3127         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3128         * math/auto-libm-test-out: Regenerated.
3129         * sysdeps/i386/fpu/libm-test-ulps: Update.
3130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3132         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135         * math/auto-libm-test-in: Add more tests of log2.
3136         * math/auto-libm-test-out: Regenerated.
3137         * sysdeps/i386/fpu/libm-test-ulps: Update.
3138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3140 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3142         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3143         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3144         _IO_IS_APPENDING bit in READ_WRITE instead.
3146 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3148         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3149         (__determine_cpumask_size): Replace extend_alloca with a
3150         variable-length array.  Do not treat res == 0 as an error.
3152 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3154         [BZ #18100]
3155         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3156         and integer overflow.
3157         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3158         (main): Add integer overflow tests.
3159         * manual/pattern.texi (Calling Wordexp): Document additional use
3160         for WRDE_SYNTAX.
3162 2015-03-23  Alan Modra  <amodra@gmail.com>
3164         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3165         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3166         and false branch of conditional.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3168         Likewise.
3170 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3172         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3173         libc-modules.h
3174         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3175         unused declaration of _hurd_intr_rpc_msg_in_trap.
3176         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3177         defined instead of whether it is non-zero.
3178         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3179         input constraint instead of both input and output constraint.  Use ecx
3180         clobber instead of %ecx.
3181         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3182         mutex_unlock): Use a statement expression instead of an expression list.
3183         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3184         type to vm_size_t instead of vm_address_t.
3185         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3186         defined instead of whether it is non-zero.
3187         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3188         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3189         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3190         comparisons with mapaddr.
3191         * nscd/nscd-client.h: Include <time.h>.
3192         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3193         9th parameter to __vm_region instead of int.
3194         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3195         * scripts/check-local-headers.sh (exclude): Add device/,
3196         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3197         cthreads.h.
3199 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3201         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3202         to account for alignment padding.
3203         * sysdeps/arm/memmove.S: Likewise.
3205 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3207         * sysdeps/unix/sysv/linux/generic/README: New file.
3209 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #18138]
3212         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3213         (futex_abstimed_wait)
3214         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3215         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3216         of lll_futex_timed_wait.
3218 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3220         [BZ #17542]
3221         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3223 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3225         [BZ #17090]
3226         [BZ #17620]
3227         [BZ #17621]
3228         [BZ #17628]
3229         * NEWS: Update.
3230         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3231         entries with Static TLS too.  Skip entries past the end of the
3232         allocated DTV, from Alan Modra.
3233         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3234         Static TLS DTV entry set up from...
3235         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3236         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3237         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3238         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3239         for Static TLS.
3240         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3241         that the slot we find is associated with the given map before
3242         using its generation count.
3243         * nptl_db/db_info.c: Include ldsodefs.h.
3244         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3245         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3246         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3247         (link_map::l_tls_offset): New struct field.
3248         (dtv_t::counter): Likewise.
3249         (rtld_global): New struct.
3250         (_rtld_global): New rtld variable.
3251         (dl_tls_dtv_slotinfo_list): New rtld global field.
3252         (dtv_slotinfo_list): New struct.
3253         (dtv_slotinfo): Likewise.
3254         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3255         (td_lookup): Rename to...
3256         (td_mod_lookup): ... this.  Use new mod parameter instead of
3257         LIBPTHREAD_SO.
3258         * nptl_db/td_thr_tlsbase.c: Include link.h.
3259         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3260         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3261         addresses even if the DTV is out of date or missing them.
3262         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3263         index zero-length arrays.
3264         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3265         (td_lookup): Make it a macro implemented in terms of...
3266         (td_mod_lookup): ... this declaration.
3267         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3268         (DB_MAIN_VARIABLE): Likewise.
3270 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3272         [BZ #18134]
3273         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3275 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3277         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3279 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3281         [BZ #18128]
3282         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3283         (atomic_add, atomic_increment_and_test)
3284         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3286 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3288         * stdlib/setenv.c (__add_to_environ):
3289         Dump core quickly if setenv (..., NULL, ...) is called.
3291 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3293         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3294         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3295         all the necessary asm magic in one place.
3296         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3297         using those.
3299 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3301         [BZ #14906]
3302         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3303         traced file mtime. Use consistent log message.
3304         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3305         (register_traced_file): Call install_watches. Always set mtime.
3306         (invalidate_cache): Iterate over all trace files. Call install_watches.
3307         (inotify_check_files): Don't inline. Handle watching parent
3308         directories and configuration file movement in and out.
3309         (handle_inotify_events): New function.
3310         (main_loop_poll): Call handle_inotify_events.
3311         (main_loop_epoll): Likewise.
3312         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3313         (struct traced_file): Use array of inotify fds. Add parent directory,
3314         and basename.
3315         (struct database_dyn): Remove unused file_mtime.
3316         (init_traced_file): New inline function.
3317         (define_traced_file): New macro.
3318         * nss/nss_db/db-init.c: Use define_traced_file.
3319         (_nss_db_init): Use init_traced_file.
3320         * nss/nss_files/files-init.c: Use define_traced_file.
3321         (_nss_files_init): Use init_traced_file.
3323 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3325         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3326         [_LIBC]: Do not include <stdlib.h>.
3327         [!_LIBC] (abort): Remove declaration.
3328         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3329         _FP_STATIC_ASSERT instead of conditionally calling abort.
3330         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3331         (_FP_EXTEND_CNAN): Likewise.
3332         (FP_TRUNC): Likewise.
3333         (__FP_CLZ): Likewise.
3334         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3336 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3338         * manual/string.texi (XPG basename): Fix prototype.
3340 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3342         [BZ #18080]
3343         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3344         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3345         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3346         (__setcontext): Likewise.
3347         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3348         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3349         Call rt_sigprocmask syscall one time to set new signal mask
3350         and retrieve the current signal mask instead of two calls.
3351         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3352         (__swapcontext): Likewise.
3353         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3354         * stdlib/tst-setcontext2.c: New file.
3356 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3358         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3360 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3362         [BZ #18093]
3363         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3364         the wrong size.
3366 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3368         [BZ #18043]
3369         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3371 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3373         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3374         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3375         Remove define.
3376         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3377         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3378         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3379         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3380         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3381         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3382         define.
3383         * nptl_db/td_symbol_list.c (td_lookup): Remove
3384         HAVE_ASM_GLOBAL_DOT_NAME code.
3385         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3386         HAVE_ASM_GLOBAL_DOT_NAME check.
3387         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3388         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3389         (DOT_LABEL): Remove define.
3390         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3391         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3392         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3393         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3394         (__TLS_GET_ADDR): Likewise.
3395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3396         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3398 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3400         [BZ #18111]
3401         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3402         (_FPU_SETCW): Initialize cw from fpsr before storing.
3403         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3404         (fesetexceptflag): Rewrite using fpu_control.h.
3405         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3407 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3409         [BZ #18110]
3410         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3411         asms.
3412         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3414 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3416         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3417         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3418         abort.
3419         (_FP_FMA): Likewise.
3420         (_FP_DIV): Likewise.
3422 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3424         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3425         with 0 in that case.
3426         * Makefile (summarize-tests): New canned sequence, factored out of
3427         commands for targets tests and xtests.  Display summary lines that
3428         don't start with PASS: or XFAIL: rather than ones that do start with
3429         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3430         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3431         do start with ERROR: or FAIL:.
3432         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3433         (except for [$(build-shared) = yes]).
3434         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3435         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3436         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3437         * nptl/Makefile: Revert 2015-03-04 changes.
3438         [$(CXX) empty] (tests-unsupported): New variable.
3439         * debug/Makefile: Likewise.
3441         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3442         gnulib file.  Replace __attribute with __attribute__ throughout.
3444 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3446         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3448 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3450         [BZ #18104]
3451         * math/auto-libm-test-in: Add another test of pow.
3452         * math/auto-libm-test-out: Regenerated.
3454 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3456         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3457         $(config-cflags-nofma).
3459 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3461         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3462         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3463         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3464         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3465         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3466         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3467         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3468         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3469         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3470         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3471         Add comment on closing #endif.
3473 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3475         * posix/wordexp.c (CHAR_IN_SET): New macro.
3476         (parse_param): Use it.
3478 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3480         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3482 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3484         [BZ #18043]
3485         * posix/wordexp.c (parse_param): Fix buffer overflow.
3486         * posix/wordexp-test.c (test_case): Add test case.
3488 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3490         [BZ #18042]
3491         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3492         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3494 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3496         [BZ #18043]
3497         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3498         (do_bz18043): Delete.
3499         (at_page_end): New.
3500         (testit): Refactor to have words at the edge of unreadable page.
3502 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3504         [BZ #16734]
3505         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3506         Cleanup read-only streams as well.
3507         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3509 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3511         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3512         <bits/libc-lockP.h>
3514 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3516         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3517         on [__KERNEL__].
3518         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3519         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3520         * soft-fp/op-common.h (_FP_DECL): Likewise.
3522 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3524         * elf/ifuncdep2.c (global): Replace
3525         __attribute__((visibility("protected"))) with
3526         asm (".protected global").
3527         * elf/ifuncmod1.c (global): Likewise.
3528         * elf/ifuncmod5.c (global): Likewise.
3530 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3532         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3533         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3535 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3537         * manual/install.texi (Configuring and compiling):
3538         Document test-wrapper-env-only.
3539         * INSTALL: Regenerated.
3541 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3543         [BZ #18043]
3544         * posix/wordexp.c (parse_param): Fix buffer overflow.
3545         * posix/wordexp-test.c (do_bz18043): Add test case.
3547 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3549         * time/tst-strptime2.c (do_test): Ensure failing tests are
3550         reported correctly.
3551         * time/tst-strptime3.c (do_test): Likewise.
3553 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3555         Fix aio_error thread-safety.
3556         * sysdeps/pthread/aio_error.c: New file
3557         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3558         synchronization.
3560 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3562         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3563         (group_number, vfprintf): Use it.
3564         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3565         (JUMP, REF): Use it.
3566         (WORK_BUFFER_SIZE): New enum constant.
3567         (process_arg, vfprintf): Use it.
3569 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3571         * manual/errno.texi (Error Messages): Complete example function
3572         by adding missing #define.
3573         (program_invocation_name): Add statement indicating GNU
3574         extension and reference which header file declares the variable.
3575         (program_invocation_short_name): Likewise.
3577 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3579         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3580         compatibility note.
3582 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3584         * Makeconfig (test-wrapper-env-only): New variable.
3585         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3586         then use that with $(test-wrapper-env-only) rather than using
3587         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3589 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3591         [BZ #18082]
3592         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3593         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3594         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3595         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3596         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3597         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3598         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3599         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3600         Likewise.
3601         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3602         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3603         Likewise.
3604         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3605         Likewise.
3606         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3607         Likewise.
3608         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3609         Likewise.
3610         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3612         Likewise.
3613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3614         Likewise.
3615         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3616         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3618 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3620         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3621         (ETH_ALEN): New macro.
3622         (struct ether_addr): Use it for length of ether_addr_octet.
3624         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3625         (setdb): Don't call __nss_configure_lookup for "rpc".
3626         (do_test): Don't call test_rpc.
3627         (output_rpcent, test_rpc): Functions moved ...
3628         * sunrpc/test-rpcent.c: ... to this new file.
3629         * sunrpc/Makefile (tests): Add it.
3631         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3632         __xpg_sigpause.
3633         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3634         * nptl/tst-signal6.c: Likewise.
3635         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3636         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3638         * configure.ac (libc_cv_cxx_link_ok): New check.
3639         Reset CXX to empty if it fails to link.
3640         * configure: Regenerated.
3641         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3642         bug-atexit3-lib only if $(CXX) is nonempty.
3643         * nptl/Makefile (tests): Likewise for tst-cancel24.
3644         (tests, tests-static): Likewise for tst-cancel24-static.
3645         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3646         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3647         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3648         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3650 2015-03-04  Andreas Schwab  <schwab@suse.de>
3652         [BZ #17631]
3653         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3654         for non-GCC compilers.
3655         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3656         Likewise.
3658 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3660         [BZ #17776]
3661         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3662         integer before bitwise and assembly operations.
3663         (feclearexcept): Likewise.
3664         * math/test-fenvinline.c: New file.
3665         * math/Makefile: Add test-fenvinline test.
3667 2015-03-03  Alan Modra  <amodra@gmail.com>
3669         [BZ #16512]
3670         * scripts/localplt.awk: Strip off symbol version.
3671         * NEWS: Mention bug fix.
3673 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3675         * sysdeps/pthread/timer_routines.c
3676         (timer_free_list, thread_free_list, thread_active_list): Make static.
3678 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3680         [BZ #17779]
3681         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3682         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3683         Undefine.
3684         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3685         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3686         Likewise.
3687         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3688         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3689         Likewise.
3691 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3693         [BZ #18036]
3694         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3695         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3697 2015-03-02  Andreas Schwab  <schwab@suse.de>
3699         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3700         variable name.
3702 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3704         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3705         Return error status.
3707 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3709         [BZ #15969]
3710         * locale/findlocale.c (_nl_find_locale): Introduce const
3711         version of loc_name and drop unsafe type casts.
3713 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3715         * dlfcn/tststatic2.c (main): Converted to ...
3716         (do_test): ... this.
3717         (TEST_FUNCTION): New macro.
3718         Include test-skeleton.c.
3720 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3722         [BZ #17711]
3723         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3724         (tests-pie): Add vismain.
3725         (CFLAGS-vismain.c): New.
3726         * elf/vismain.c: Add comments for PIE requirement.
3728 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3730         [BZ #18046]
3731         [BZ #18047]
3732         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3733         0x1p-56L as threshold for just returning the argument.
3734         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3735         0x1p-32L as threshold for just returning the argument.
3736         * math/auto-libm-test-in: Add more tests of atanh.
3737         * math/auto-libm-test-out: Regenerated.
3738         * sysdeps/i386/fpu/libm-test-ulps: Update.
3739         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3741 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3743         * string/bcopy.c (bcopy): Call memmove for performance.
3745 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3747         * string/bzero.c (__bzero): Call memset for performance.
3749 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3751         [BZ #18068]
3752         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3753         to 00100000.
3755 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3757         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3759 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3761         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3762         (__kernel_standard): Use CSTR macro when setting exc.name.
3763         * sysdeps/ieee754/Makefile [$(subdir) = math]
3764         (CFLAGS-k_standard.c): Remove variable.
3766         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3767         setting p and q from "else if" to "else".
3768         (qzero): Likewise.
3769         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3770         (qone): Likewise.
3771         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3772         (qzerof): Likewise.
3773         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3774         (qonef): Likewise.
3775         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3776         (qzero): Likewise.
3777         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3778         (qone): Likewise.
3780         [BZ #18038]
3781         [BZ #18039]
3782         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3783         return pi/2 for arguments below 0x1p-113L.
3784         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3785         return pi/2 for arguments below 0x1p-106L.
3786         * math/auto-libm-test-in: Add more tests of acos.
3787         * math/auto-libm-test-out: Regenerated.
3789         [BZ #16351]
3790         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3791         (MO): New macro.
3792         (__ieee754_asin): Force underflow exception for results with small
3793         absolute value.
3794         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3795         (MO): New macro.
3796         (__ieee754_asinf): Force underflow exception for results with
3797         small absolute value.
3798         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3799         (__ieee754_asin): Force underflow exception for results with small
3800         absolute value.
3801         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3802         (__ieee754_asinf): Force underflow exception for results with
3803         small absolute value.
3804         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3805         (__ieee754_asinl): Force underflow exception for results with
3806         small absolute value.
3807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3808         (__ieee754_asinl): Force underflow exception for results with
3809         small absolute value.
3810         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3811         (__ieee754_asinl): Force underflow exception for results with
3812         small absolute value.
3813         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3814         Include <math.h>.
3815         * math/auto-libm-test-in: Do not mark underflow exceptions as
3816         possibly missing for bug 16351.
3817         * math/auto-libm-test-out: Regenerated.
3819         [BZ #18030]
3820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3821         of power of 2 down when low part has opposite sign.
3822         * math/libm-test.inc (logb_test_data): Add more tests.
3824 2015-02-26  Andreas Schwab  <schwab@suse.de>
3826         [BZ #18032]
3827         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3828         over collating symbol inside a bracket expression.  Minor cleanup.
3829         * posix/tst-fnmatch3.c (do_test): Add test case.
3831 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3833         [BZ #18029]
3834         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3835         Adjust exponent of power of 2 down when low part has opposite
3836         sign.
3837         * math/libm-test.inc (ilogb_test_data): Add more tests.
3839 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3841         [BZ #15969]
3842         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3843         the previous change.
3845         [BZ #15969]
3846         * locale/findlocale.c (_nl_find_locale): Retry archive search
3847         after alias expansion.
3849 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3851         * iconv/tst-iconv3.c (main): Converted to ...
3852         (do_test): ... this.
3853         (TEST_FUNCTION): New macro.
3854         Include test-skeleton.c.
3856         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3857         (convert): Make function static.
3858         (test_unalign): Likewise.  Add const to argument pointee types.
3859         (main): Replace with static function do_test.
3860         Print "Succeeded." only if RET is zero.
3861         (TEST_FUNCTION): New macro.
3862         Include test-skeleton.c.
3864         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3865         returns a null pointer.
3867 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3869         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3870         to __memcpy_ppc only for static builds.
3872 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3874         [BZ #18020]
3875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3876         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3877         * math/auto-libm-test-in: Add more tests of asinh.
3878         * math/auto-libm-test-out: Regenerated.
3879         * sysdeps/i386/fpu/libm-test-ulps: Update.
3880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3882 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3884         [BZ #15850]
3885         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3886         and ip6_mtuinfo definitions here.
3887         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3888         in this define too.  Update comment.
3890 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3892         * elf/sprof.c (load_shobj): Tweak error message to match others.
3894 2015-02-24  Kevin Easton  <kevin@guarana.org>
3896         [BZ #16145] (partial fix)
3897         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3898         to reduce lock contention.
3900 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3902         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3903         (struct timex): Update time comment.
3904         (ADJ_SETOFFSET): Define.
3906 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3908         [BZ #18019]
3909         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3910         2**56 not 2**28 as threshold for log (2x) formula.
3911         * math/auto-libm-test-in: Add more tests of acosh.
3912         * math/auto-libm-test-out: Regenerated.
3913         * sysdeps/i386/fpu/libm-test-ulps: Update.
3914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3916 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3918         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3919         parenthesis around the buf assignment.
3920         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3922 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3924         [BZ #16783]
3925         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3926         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3927         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3928         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3929         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3930         * math/libm-test.inc (scalb_test_data): Add more tests.
3932 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3934         [BZ #17916]
3935         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3936         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3938 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3940         [BZ #17523]
3941         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3942         * io/bits/fcntl2.h (open): Use it.
3943         (openat): Likewise.
3944         * io/open.c (__libc_open): Likewise.
3945         * io/open64.c (__libc_open64): Likewise.
3946         * io/open64_2.c (__open64_2): Likewise.
3947         * io/open_2.c (__open_2): Likewise.
3948         * io/openat.c (__openat): Likewise.
3949         * io/openat64.c (__openat64): Likewise.
3950         * io/openat64_2.c (__openat64_2): Likewise.
3951         * io/openat_2.c (__openat_2): Likewise.
3952         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3953         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3954         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3955         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3956         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3957         (__open_nocancel): Likewise.
3958         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3959         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3960         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3962 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3964         [BZ #14841]
3965         * resolv/gethnamaddr.c (getanswer): Skip logging if
3966         RES_USE_DNSSEC is set.
3967         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3969 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3971         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3973 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3975         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3976         201304L, for Unicode 7.
3978 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3980         [BZ #17836]
3981         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3982         shared library.  Add gmon-start.os otherwise.
3983         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3984         $(objpfx)gmon-start.os if builing shared library.
3985         ($(objpfx)g$(static-start-installed-name)): Likewise.
3987 2015-02-23  Andreas Schwab  <schwab@suse.de>
3989         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3991 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3993         [BZ #17269]
3994         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3995         (enlarge_userbuf): Likewise.
3997 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3999         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4000         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4001         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4002         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4004 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4006         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4007         expression inside statement expression.
4009 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4011         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4012         <sysdeps/nptl/lowlevellock.h> and remove macros and
4013         functions that are now defined there.
4014         (SYS_futex): Remove.
4015         (lll_compare_and_swap): Remove.
4016         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4018 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4020         [BZ #17999]
4021         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4022         instead of scandirat.
4023         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4024         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4025         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4026         __scandirat.
4027         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4028         (__scandirat): Declare.  Use libc_hidden_proto.
4029         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4030         Remove variable.
4031         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4033 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4035         [BZ #15319]
4036         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4037         (MO): New macro.
4038         (__ieee754_atan2): For results with small absolute value, force
4039         underflow exception and remove excess range and precision from
4040         return value.
4041         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4042         (MO): New macro.
4043         (__ieee754_atan2f): For results with small absolute value, force
4044         underflow exception and remove excess range and precision from
4045         return value.
4046         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4047         (MO): New macro.
4048         (__atan): For results with small absolute value, force underflow
4049         exception and remove excess range and precision from return value.
4050         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4051         (MO): New macro.
4052         (__atanf): For results with small absolute value, force underflow
4053         exception and remove excess range and precision from return value.
4054         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4055         <math.h>.
4056         (__ieee754_atan2): Force underflow exception for results with
4057         small absolute value.
4058         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4059         <math_private.h>.
4060         (atan): Force underflow exception for results with small absolute
4061         value.
4062         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4063         (__atanf): Force underflow exception for results with small
4064         absolute value.
4065         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4066         <math.h>.
4067         (__atanl): Force underflow exception for results with small
4068         absolute value.
4069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4070         (__atanl): Force underflow exception for results with small
4071         absolute value.
4072         * sysdeps/x86/fpu/bits/mathinline.h
4073         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4074         (__ieee754_atan2): Only define inline for long double.
4075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4076         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4077         * math/auto-libm-test-in: Do not mark underflow exceptions as
4078         possibly missing for bug 15319.  Add more tests of atan2.
4079         * math/auto-libm-test-out: Regenerated.
4080         * math/libm-test.inc (casin_test_data): Do not mark underflow
4081         exceptions as possibly missing for bug 15319.
4082         (casinh_test_data): Likewise.
4083         * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4087         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4088         * sysdeps/mips/bits/endian.h: Fix comments.
4090 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4092         [BZ #17996]
4093         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4094         (hdestroy_r): Likewise.
4095         (hsearch_r): Likewise.
4096         (__hcreate_r): Declare and use libc_hidden_proto.
4097         (__hdestroy_r): Likewise.
4098         (__hsearch_r): Likewise.
4099         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4100         (hcreate): Call __hcreate_r instead of hcreate_r.
4101         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4102         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4103         as weak alias of __hcreate_r.
4104         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4105         __hdestroy_r.
4106         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4107         __hsearch_r.
4108         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4109         Remove variable.
4110         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4111         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4112         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4113         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4115 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4117         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4118         arena_lock into a single arena_get.
4120 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4122         * dl-reloc.c: Inlucde libc-internal.h.
4123         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4124         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4125         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4126         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4127         (grow_heap): Likewise.
4128         * malloc/malloc.c: Include libc-internal.h.
4129         (do_check_malloc): Call powerof2.
4130         (sysmalloc): Use pagesize. Call ALIGN_UP.
4131         (systrim): Use pagesize.
4132         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4133         (__libc_valloc): Use pagesize.
4134         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4136 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4138         [BZ #17991]
4139         * include/sys/resource.h (__getrlimit64): Declare.  Use
4140         libc_hidden_proto.
4141         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4142         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4143         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4144         getrlimit64.
4145         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4146         __getrlimit64.
4147         [!getrlimit64] (getrlimit64): Define as weak alias of
4148         __getrlimit64.  Use libc_hidden_weak.
4149         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4150         using __getrlimit64 not __new_getrlimit64.
4151         (__GI_getrlimit64): Likewise.
4152         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4153         Likewise.
4154         (__GI_getrlimit64): Likewise.
4155         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4157         (getrlimit): Add __getrlimit64 alias.
4158         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4159         Likewise.
4160         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4161         Remove variable.
4162         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4163         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4165 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4167         * libio/fileops.c: Add missing sys/mman.h
4168         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4170 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4172         * manual/math.texi (Errors in Math Functions): Clarify goals
4173         regarding inexact and underflow exceptions.
4175 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4177         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4178         * sysdeps/mips/memset.S: Ditto.
4180 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4182         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4184 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4186         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4187         (__v1longjmp): Remove versioned symbol.
4188         (__v1siglongjmp): Remove alias and versioned symbol.
4189         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4190         (__v2siglongjmp): Likewise.
4192 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4194         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4196 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4198         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4200 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4202         [BZ #17987]
4203         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4204         zero result does not depend on the sign resulting from
4205         subtraction.
4206         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4207         Likewise.
4208         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4209         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4210         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4211         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4212         * math/libm-test.inc (remquo_test_data): Add more tests.
4214 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4216         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4217         Problem reported by J William Piggott.
4219 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4221         [BZ #17978]
4222         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4223         products 4 * y and 2 * y where those would overflow.
4224         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4225         Likewise.
4226         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4227         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4228         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4229         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4230         * math/libm-test.inc (remquo_test_data): Add more tests.
4232         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4234         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4235         [defined _COMPILING_NEWLIB].
4236         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4237         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4239         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4240         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4242 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4244         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4245         acquired.
4247 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4249         [BZ #17792]
4250         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4251         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4252         HOST_STACK_END_ADDR): Likewise.
4254 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4256         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4257         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4258         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4260 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4262         * sysdeps/generic/c++-types.data: New file.
4263         * sysdeps/generic/ld.abilist: New file.
4264         * sysdeps/generic/libBrokenLocale.abilist: New file.
4265         * sysdeps/generic/libanl.abilist: New file.
4266         * sysdeps/generic/libc.abilist: New file.
4267         * sysdeps/generic/libcrypt.abilist: New file.
4268         * sysdeps/generic/libdl.abilist: New file.
4269         * sysdeps/generic/libm.abilist: New file.
4270         * sysdeps/generic/libpthread.abilist: New file.
4271         * sysdeps/generic/libresolv.abilist: New file.
4272         * sysdeps/generic/librt.abilist: New file.
4274 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4276         [BZ #17569]
4277         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4278         Compute absolute value of x as modified by fmod, not original
4279         value of x.
4280         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4281         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4282         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4283         RUN_TEST_ffI_f1_mod8.
4284         (remquo_test_data): Add more tests.
4286 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4288         * sysdeps/init_array/pt-crti.S: New file.
4290 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4292         [BZ #17967]
4293         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4294         __builtin_fmaf instead of relying on contraction of a * b + c.
4296 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4298         [BZ #17969]
4299         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4300         node.
4302 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4304         [BZ #17964]
4305         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4306         __builtin_fma instead of relying on contraction of a * b + c.
4308 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4310         * Makeconfig (ASFLAGS): Add -Werror=undef.
4311         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4312         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4313         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4315         * Makeconfig (after-link): New variable.
4316         (+link-pie, +link-pie-tests): Use it.
4317         (+link-static, +link-static-tests): Likewise.
4318         (+link, +link-tests): Likewise.
4319         * Makerules (build-module, build-module-asneeded): Likewise.
4320         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4321         Likewise.
4322         * elf/Makefile ($(objpfx)ld.so): Likewise.
4324 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4326         [BZ #17965]
4327         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4328         both struct timeval and struct timespec.
4330 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4332         [BZ #16560]
4333         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4334         and redefine.
4335         (__ieee754_exp2l): Do not multiply small fractional parts by
4336         M_LN2l.
4337         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4338         small argument.
4339         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4340         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4341         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4342         * math/auto-libm-test-in: Add more tests of exp2.
4343         * math/auto-libm-test-out: Regenerated.
4345 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4347         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4348         unaligned path.
4350 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4352         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4353         little endian.
4355 2015-02-12  Andreas Schwab  <schwab@suse.de>
4357         [BZ #15790]
4358         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4359         Filter out elision flags from value returned in kind.
4360         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4361         * nptl/tst-pthread-mutexattr.c: New file.
4363 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4365         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4366         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4367         into gnu-gnu, and update comment to refer to abi-tags.
4369 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4371         [BZ #15467]
4372         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4373         (__sincos): Set errno to EDOM for infinite argument.
4374         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4375         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4376         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4377         (__sincosl): Set errno to EDOM for infinite argument.
4378         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4379         (__sincosl): Set errno to EDOM for infinite argument.
4380         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4381         (__sincosl): Set errno to EDOM for infinite argument.
4382         * math/libm-test.inc (sincos_test_data): Test errno setting.
4384 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4386         * string/strxfrm_l.c: Remove #define STRCMP.
4387         * string/strcoll_l.c: Remove #define STRLEN.
4388         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4389         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4391 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4393         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4394         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4395         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4396         * sysdeps/mips/mips64/Makefile: ... here.
4397         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4398         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4399         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4400         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4401         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4402         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4403         * sysdeps/mips/mips64/n64/Implies: Likewise.
4405 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4407         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4408         <sys/time.h>, <string.h>, and <errno.h>.
4409         (dest_offset, dest_address, value, zero): Remove unused variables.
4410         (ldouble): Remove typedef.
4411         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4412         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4413         1).  Fix code style.
4414         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4415         (check): Function removed.
4416         (CHECK): New macro.
4417         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4418         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4419         Don't call set_sigaction_FP and remove_sigaction_FP here.
4420         (ldouble_test): Just use 'long double' as macro argument, no need for
4421         the 'ldouble' typedef.
4422         (do_test): Set up SIGFPE handler at start, using plain signal rather
4423         than sigaction.  Fix code style.
4425 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4427         [BZ #17949]
4428         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4429         jump label.
4431 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4433         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4434         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4436         * sysdeps/powerpc/configure.ac: Remove file.
4437         * sysdeps/powerpc/configure: Likewise.
4439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4440         [sysdep_routines]: Remove wordcopy-power6 object.
4441         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4442         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4443         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4444         (__memmove_ppc32): Likewise.
4445         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4446         file.
4447         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4449         Remove preprocessor.
4451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4452         [sysdep_routines]: Remove wide chars objects.
4453         [wcsmbs]: New rule for wide char objects.
4455         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4456         Remove wordcopy-power6 obejct.
4457         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4458         Use local call for wordcopy and memcpy symbols.
4459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4461         implementation for loader.
4462         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4465         Remove wordcopy-power7 object.
4466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4467         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4468         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4469         (_wordcopy_fwd_dest_aligned): Likewise.
4470         (_wordcopy_bwd_aligned): Likewise.
4471         (_wordcopy_bwd_dest_aligned): Likewise.
4473         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4474         Rewrite to call __memmove_ppc instead of include default
4475         implementation.
4477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4478         Remove wide chars objects.
4479         [wcsmbs]: New rule for wide char objects.
4481 2015-02-09  Andreas Schwab  <schwab@suse.de>
4483         [BZ #17912]
4484         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4485         in terms of __O_DIRECTORY.
4487 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4489         * time/getdate.c: Include <stdbool.h>.
4490         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4491         call PTR_MANGLE.
4492         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4493         PTR_DEMANGLE.
4495 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4497         Add ersatz _Static_assert on older C hosts
4498         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4499         pre-C11 C platform that is not known to support _Static_assert.
4501 2015-02-07  Richard Braun  <rbraun@sceen.net>
4503         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4504         sigstate.
4505         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4507 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4509         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4510         priority against unexistent AIO_PRIO_DELTA_MAX.
4511         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4512         instead of int.
4513         * misc/fchflags.c (fchflags): Likewise.
4514         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4515         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4516         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4517         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4518         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4519         Declare macros.
4520         [__USE_MISC] (chflags, fchflags): Declare functions.
4521         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4522         EINVAL when nfds is greater than FD_SETSIZE.
4523         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4524         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4525         45.
4526         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4527         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4528         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4529         MACH_RCV_TIMED_OUT.
4530         * hurd/hurd/signal.h (_hurd_self_sigstate,
4531         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4532         Explicit casts from void *.
4533         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4534         * abi-tags: Rename gnu-gnu os into gnu.
4536         [BZ #4719]
4537         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4538         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4539         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4540         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4541         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4542         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4544         [BZ #17944]
4545         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4546         duplicates ADDR->sun_path with sockaddr LEN limitation.
4547         * sysdeps/mach/hurd/connect.c: Include <string.h>
4548         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4549         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4550         * sysdeps/mach/hurd/sendto.c: Likewise.
4551         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4552         implementing it by hand.
4554 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4556         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4557         Use sfi_breg on ldr.
4558         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4559         Likewise.
4561         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4562         it's defined.
4563         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4564         Test SIGSETXID only if it's defined.
4566         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4568         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4569         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4571         * nptl/tst-align2.c: Moved ...
4572         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4573         * nptl/Makefile (tests): Remove tst-align2.
4574         * sysdeps/unix/sysv/linux/Makefile
4575         [$(subdir) = nptl] (tests): Add tst-align-clone.
4576         * nptl/tst-getpid1.c: Moved ...
4577         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4578         * nptl/tst-getpid2.c: Moved ...
4579         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4580         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4581         * sysdeps/unix/sysv/linux/Makefile
4582         [$(subdir) = nptl] (tests): ... here.
4583         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4584         * sysdeps/unix/sysv/linux/Makefile
4585         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4587         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4588         Drop trailing \n from perror argument.  Use return rather than exit.
4590         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4591         on [SA_SIGINFO].
4592         * nptl/tst-cancel21.c (do_test): Likewise.
4593         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4594         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4595         [!SA_SIGINFO]: Make it a stub test.
4597         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4598         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4600         * posix/tst-getlogin.c: Move to ...
4601         * login/tst-getlogin.c: ... here.
4602         * posix/Makefile (tests): Move tst-getlogin to ...
4603         * login/Makefile (tests): ... here.
4605         * libio/tst-atime.c (do_test): Move local variables SV and E
4606         inside [ST_NOATIME] conditional.
4608         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4610         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4612         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4613         (wait_code): New function replaces macro.
4614         Call nanosleep rather than syscall.
4616         * nptl/pt-system.c: Rewritten.  Put everything under
4617         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4618         Use IFUNC to redirect when possible.
4620         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4621         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4622         Use IFUNC to redirect when possible.
4624         * nptl/pt-fork.c: Rewritten.  Put everything under
4625         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4626         Use IFUNC to redirect when possible.
4627         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4629         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4630         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4631         unconditionally nowadays.  This included the only reference to
4632         __vdso_clock_gettime that appears outside libc proper.
4633         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4634         Remove version set (containing only __vdso_clock_gettime).
4635         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4636         Add attribute_hidden.
4637         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4638         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4639         libc_hidden_data_def.
4640         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4641         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4643         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4644         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4645         setrpcent, and getrpcport to ...
4646         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4647         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4648         getrpcbynumber_r, and getrpcent_r to ...
4649         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4650         * inet/getrpcbyname.c: Moved ...
4651         * sunrpc/getrpcbyname.c: ... here.
4652         * inet/getrpcbyname_r.c: Moved ...
4653         * sunrpc/getrpcbyname_r.c: ... here.
4654         * inet/getrpcbynumber.c: Moved ...
4655         * sunrpc/getrpcbynumber.c: ... here.
4656         * inet/getrpcbynumber_r.c: Moved ...
4657         * sunrpc/getrpcbynumber_r.c: ... here.
4658         * inet/getrpcent.c: Moved ...
4659         * sunrpc/getrpcent.c: ... here.
4660         * inet/getrpcent_r.c: Moved ...
4661         * sunrpc/getrpcent_r.c: ... here.
4662         * inet/Makefile (routines): Move those to ...
4663         * sunrpc/Makefile (routines): ... here.
4664         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4665         the $(subdirs) list.
4666         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4667         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4668         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4669         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4671         * elf/Makefile (routines): Include $(all-dl-routines), not just
4672         $(dl-routines).
4673         (rtld-routines): Likewise.  Use = rather than :=.
4674         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4675         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4676         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4677         * sysdeps/arm/Makefile: Likewise.
4678         * sysdeps/i386/Makefile: Likewise.
4679         * sysdeps/x86_64/Makefile: Likewise.
4680         * sysdeps/hppa/Makefile [$(subdir) = elf]
4681         (sysdep_routines, sysdep-rtld-routines): Don't add
4682         $(sysdep-dl-routines) to these.
4683         * sysdeps/ia64/Makefile: Likewise.
4684         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4685         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4686         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4687         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4688         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4689         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4690         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4691         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4692         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4693         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4694         these; sysdep-dl-routines alone is enough.
4696 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4698         [BZ #17932]
4699         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4700         where multiplication results in zero and third argument is finite
4701         and nonzero.
4702         * math/auto-libm-test-in: Add more tests of fma.
4703         * math/auto-libm-test-out: Regenerated.
4705         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4706         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4707         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4708         (_FP_CMP_EQ): Likewise.
4709         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4711         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4712         extra argument CHECK_NAN.  Redefine as wrapper around
4713         _FP_EXTEND_CNAN.
4715 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4717         * version.h (RELEASE): Set to "stable".
4718         (VERSION): Set to "2.21"
4719         * include/features.h (__GLIBC_MINOR__): Set to 21.
4721         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4723 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4724             Paul Eggert  <eggert@cs.ucla.edu>
4726         [BZ #16618]
4727         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4728         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4729         size in bytes. Store needed elements in wpmax. Use needed size
4730         in bytes for extend_alloca.
4732 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4734         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4735         binutls 2.25, and texinfo 5.2.
4736         * INSTALL: Regenerate.
4737         * sysdeps/nios2/configure: Regenerate.
4738         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4739         * manual/contrib.texi: Update.
4740         * po/be.po: Update.
4741         * po/bg.po: Update.
4742         * po/ca.po: Update.
4743         * po/cs.po: Update.
4744         * po/da.po: Update.
4745         * po/de.po: Update.
4746         * po/el.po: Update.
4747         * po/eo.po: Update.
4748         * po/es.po: Update.
4749         * po/fi.po: Update.
4750         * po/fr.po: Update.
4751         * po/gl.po: Update.
4752         * po/hr.po: Update.
4753         * po/hu.po: Update.
4754         * po/ia.po: Update.
4755         * po/id.po: Update.
4756         * po/it.po: Update.
4757         * po/ja.po: Update.
4758         * po/ko.po: Update.
4759         * po/lt.po: Update.
4760         * po/nb.po: Update.
4761         * po/nl.po: Update.
4762         * po/pl.po: Update.
4763         * po/pt_BR.po: Update.
4764         * po/ru.po: Update.
4765         * po/rw.po: Update.
4766         * po/sk.po: Update.
4767         * po/sl.po: Update.
4768         * po/sv.po: Update.
4769         * po/tr.po: Update.
4770         * po/uk.po: Update.
4771         * po/vi.po: Update.
4772         * po/zh_CN.po: Update.
4773         * po/zh_TW.po: Update.
4775         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4776         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4777         * sysdeps/hppa/dl-irel.h: Remove #warning.
4778         * sysdeps/hppa/entry.h: Provide prototype for
4779         __canonicalize_funcptr_for_compare and cast argument.
4780         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4781         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4782         * sysdeps/hppa/sotruss-lib.c: New file.
4783         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4784         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4785         (atomic_compare_and_exchange_bool_acq): Likewise.
4786         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4787         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4789         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4790         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4791         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4793 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4795         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4796         called function in non-PIC case.
4798 2015-01-31  David S. Miller  <davem@davemloft.net>
4800         * sysdeps/sparc/sparc32/bits/atomic.h
4801         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4802         unlock not after it.
4803         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4804         volatile register usage warnings from the compiler.
4806         * sysdeps/sparc/nptl/sem_init.c: Delete.
4807         * sysdeps/sparc/nptl/sem_post.c: Delete.
4808         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4809         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4810         * sysdeps/sparc/sparc32/sem_init.c: New file.
4811         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4812         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4813         padding explicitly initialized.
4814         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4815         padding for in-semaphore spinlock.
4816         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4817         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4818         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4819         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4820         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4821         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4822         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4823         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4824         version.
4825         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4826         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4828 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4830         [BZ #17801]
4831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4832         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4833         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4834         New.
4835         (index_AVX_Fast_Unaligned_Load): Likewise.
4836         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4837         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4838         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4839         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4840         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4841         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4842         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4843         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4844         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4846 2015-01-29  Andreas Schwab  <schwab@suse.de>
4848         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4850 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4852         [BZ #17892]
4853         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4855 2015-01-28  Martin Sebor  <msebor@redhat.com>
4857         * math/README.libm-test: Clarify. Add "How to read the test output."
4859 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4861         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4862         Define to 0.
4864 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4866         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4867         (__HAVE_64B_ATOMICS): Define to 0.
4869 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4871         [BZ #17885]
4872         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4873         value to set as new flag.
4875         [BZ #16576]
4876         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4877         and use _ARCH_PPCSQ instead.
4878         (__ieee754_sqrt): Likewise.
4879         (__ieee754_sqrtf): Likewise.
4880         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4881         _ARCH_PPCSQ is defined.
4882         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4883         fsqrt instruction.
4884         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4885         _ARCH_PPCSQ is defined.
4886         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4887         fsqrts instruction.
4888         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4890 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4892         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4893         bug (GCC BZ #64739).
4895 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4897         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4898         Mark _retval as used.
4899         (lll_futex_wake_unlock): Likewise.
4900         (lll_futex_timed_wait_requeue_pi): Likewise.
4902         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4903         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4904         register variables.
4906         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4907         libm_hidden_def.
4909         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4910         (__bswap_64): Mark as __always_inline.
4912 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4914         [BZ #15378]
4915         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4916         when none of the search directories exist.
4918 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4920         [BZ #17869]
4921         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4922         power8 in .machine directive.
4924         [BZ #17868]
4925         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4926         set dependency from opd value.
4928 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4931         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4932         architecture.
4934 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4936         [BZ #17870]
4937         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4938         with uint64_t.
4939         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4940         (uint64_t) 1.
4941         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4942         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4943         Replace 1UL with (uint64_t) 1.
4944         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4945         int with uint64_t.
4947 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4949         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4950         (if_freenameindex): Likewise.
4952         * resource/getrlimit64.c: Add missing libc_hidden_def.
4954 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4956         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4957         __label__.
4958         (_FP_FMA): Likewise.
4959         (_FP_TO_INT_ROUND): Likewise.
4960         (_FP_FROM_INT): Likewise.
4962 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4964         [BZ #16418]
4965         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4966         Make code racy and cancel safe.
4968 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4970         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4971         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4972         attribution.
4974         * pwd/tst-getpw.c: Rewrite.
4976         [BZ #17702]
4977         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4978         (modules-names): Add moddummy1 and moddummy2.
4979         ($(objpfx)tst-rec-dlopen): Define.
4980         * dlfcn/moddummy1.c: New file.
4981         * dlfcn/moddummy2.c: New file.
4982         * dlfcn/tst-rec-dlopen.c: New file.
4983         * elf/dl-cache.c (_dl_load_cache_lookup):
4984         Return char*. Copy result with alloca/strcpy/strdup.
4985         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4986         returns char*. Free cached. If not saving realname
4987         free cached.
4988         * elf/dl-open.c (dl_open_worker): Do not assert that
4989         _r_debug->r_state is RT_CONSISTENT.
4990         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4991         returns char*.
4993 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4994             Carlos O'Donell  <carlos@redhat.com>
4996         [BZ #12674]
4997         * nptl/sem_waitcommon.c: New file.
4998         * nptl/sem_wait.c: Include sem_waitcommon.c.
4999         (__sem_wait_cleanup, do_futex_wait): Remove.
5000         (__new_sem_wait): Adapt.
5001         (__new_sem_trywait): New function.
5002         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5003         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5004         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5005         (sem_timedwait): Adapt.
5006         * nptl/sem_post.c (__new_sem_post): Adapt.
5007         (futex_wake): New function.
5008         (__old_sem_post): Add release MO fence.
5009         * nptl/sem_open.c (sem_open): Adapt.
5010         * nptl/sem_init.c (__new_sem_init): Adapt.
5011         (futex_private_if_supported): New function.
5012         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5013         (__old_sem_getvalue): Add using previous code.
5014         * sysdeps/nptl/internaltypes.h: Adapt.
5015         * nptl/tst-sem13.c (do_test): Adapt.
5016         * nptl/tst-sem11.c (main): Adapt.
5017         * nptl/sem_trywait.c: Remove.
5018         * nptl/DESIGN-sem.txt: Remove.
5019         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5020         (gen-as-const-headers): Remove structsem.sym.
5021         * nptl/structsem.sym: Remove.
5022         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5023         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5024         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5025         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5026         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5027         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5028         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5029         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5030         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5031         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5032         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5033         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5034         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5035         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5036         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5037         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5038         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5039         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5040         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5041         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5042         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5043         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5045 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5047         * INSTALL: Regenerated.
5049         * po/libc.pot: Regenerated.
5051 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5052             Sandra Loosemore  <sandra@codesourcery.com>
5053             Andrew Jenner  <andrew@codesourcery.com>
5054             Joseph Myers  <joseph@codesourcery.com>
5055             Nathan Sidwell  <nathan@codesourcery.com>
5057         * NEWS: Mention new Nios II port.
5058         * sysdeps/nios2/Implies: New file.
5059         * sysdeps/nios2/Makefile: New file.
5060         * sysdeps/nios2/Subdirs: New file.
5061         * sysdeps/nios2/Versions: New file.
5062         * sysdeps/nios2/__longjmp.S: New file.
5063         * sysdeps/nios2/abort-instr.h: New file.
5064         * sysdeps/nios2/backtrace.c: New file.
5065         * sysdeps/nios2/bits/endian.h: New file.
5066         * sysdeps/nios2/bits/fenv.h: New file.
5067         * sysdeps/nios2/bits/link.h: New file.
5068         * sysdeps/nios2/bits/setjmp.h: New file.
5069         * sysdeps/nios2/bsd-_setjmp.S: New file.
5070         * sysdeps/nios2/bsd-setjmp.S: New file.
5071         * sysdeps/nios2/configure: New generated file.
5072         * sysdeps/nios2/configure.ac: New file.
5073         * sysdeps/nios2/crti.S: New file.
5074         * sysdeps/nios2/crtn.S: New file.
5075         * sysdeps/nios2/dl-init.c: New file.
5076         * sysdeps/nios2/dl-machine.h: New file.
5077         * sysdeps/nios2/dl-sysdep.h: New file.
5078         * sysdeps/nios2/dl-tls.h: New file.
5079         * sysdeps/nios2/dl-trampoline.S: New file.
5080         * sysdeps/nios2/gccframe.h: New file.
5081         * sysdeps/nios2/gmp-mparam.h: New file.
5082         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5083         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5084         * sysdeps/nios2/ldsodefs.h: New file.
5085         * sysdeps/nios2/libc-tls.c: New file.
5086         * sysdeps/nios2/libm-test-ulps: New file.
5087         * sysdeps/nios2/machine-gmon.h: New file.
5088         * sysdeps/nios2/math-tests.h: New file.
5089         * sysdeps/nios2/math_private.h: New file.
5090         * sysdeps/nios2/memusage.h: New file.
5091         * sysdeps/nios2/nptl/Makefile: New file.
5092         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5093         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5094         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5095         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5096         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5097         * sysdeps/nios2/nptl/tls.h: New file.
5098         * sysdeps/nios2/preconfigure: New file.
5099         * sysdeps/nios2/s_fma.c: New file.
5100         * sysdeps/nios2/s_fmaf.c: New file.
5101         * sysdeps/nios2/setjmp.S: New file.
5102         * sysdeps/nios2/sfp-machine.h: New file.
5103         * sysdeps/nios2/sotruss-lib.c: New file.
5104         * sysdeps/nios2/stackguard-macros.h: New file.
5105         * sysdeps/nios2/stackinfo.h: New file.
5106         * sysdeps/nios2/start.S: New file.
5107         * sysdeps/nios2/sysdep.h: New file.
5108         * sysdeps/nios2/tls-macros.h: New file.
5109         * sysdeps/nios2/tst-audit.h: New file.
5110         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5111         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5112         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5113         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5114         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5115         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5116         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5117         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5118         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5119         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5120         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5121         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5122         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5123         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5124         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5125         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5126         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5127         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5128         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5129         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5130         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5131         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5132         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5133         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5134         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5135         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5136         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5137         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5138         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5139         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5140         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5141         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5142         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5143         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5144         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5145         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5146         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5147         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5148         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5149         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5150         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5151         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5152         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5153         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5155 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5157         [BZ #17844]
5158         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5159         (getutent): Use weak_alias in non SHARED case
5160         and default_symbol_version in SHARED case.
5161         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5162         (getutent_r, pututline): Likewise.
5163         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5164         (getutid): Likewise.
5165         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5166         (getutid_r): Likewise.
5167         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5168         (getutline): Likewise.
5169         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5170         (getutline_r): Likewise.
5171         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5172         (updwtmp): Likewise.
5174 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5176         [BZ #17848]
5177         * sysdeps/s390/s390-32/memcmp.S
5178         (memcmp_g5): Rename to __memcmp_g5.
5179         * sysdeps/s390/s390-32/memcpy.S
5180         (memcpy_g5): Rename to __memcpy_g5.
5181         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5182         (memcpy_mvcle) Rename to __memcpy_mvcle.
5183         * sysdeps/s390/s390-32/memset.S
5184         (memset_g5): Rename to __memset_g5.
5185         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5186         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5187         and use prefixed functions.
5188         * sysdeps/s390/s390-32/multiarch/memcmp.S
5189         (memcmp_z196): Rename to __memcmp_z196.
5190         (memcmp_z10): Rename to __memcmp_z10.
5191         (memcmp): Set alias to __memcmp_g5.
5192         (bcmp): Set alias to __memcmp_g5.
5193         * sysdeps/s390/s390-32/multiarch/memcpy.S
5194         (memcpy_z196): Rename to __memcpy_z196.
5195         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5196         (memcpy_z10): Rename to __memcpy_z10.
5197         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5198         (memcpy): Set alias to __memcpy_g5.
5199         * sysdeps/s390/s390-32/multiarch/memset.S
5200         (memset_z196): Rename to __memset_z196.
5201         Jump to __memset_mvcle instead of memset_mvcle.
5202         (memset_z10): Rename to __memset_z10.
5203         Jump to __memset_mvcle instead of memset_mvcle.
5204         (memset_mvcle) Rename to __memset_mvcle.
5205         (memset): Set alias to __memset_g5.
5206         * sysdeps/s390/s390-64/memcmp.S
5207         (memcmp_z900): Rename to __memcmp_z900.
5208         * sysdeps/s390/s390-64/memcpy.S
5209         (memcpy_z900): Rename to __memcpy_z900.
5210         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5211         (memcpy_mvcle) Rename to __memcpy_mvcle.
5212         * sysdeps/s390/s390-64/memset.S
5213         (memset_z900): Rename to __memset_z900.
5214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5215         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5216         and use prefixed functions.
5217         * sysdeps/s390/s390-64/multiarch/memcmp.S
5218         (memcmp_z196): Rename to __memcmp_z196.
5219         (memcmp_z10): Rename to __memcmp_z10.
5220         (memcmp): Set alias to __memcmp_z900.
5221         (bcmp): Set alias to __memcmp_z900.
5222         * sysdeps/s390/s390-64/multiarch/memcpy.S
5223         (memcpy_z196): Rename to __memcpy_z196.
5224         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5225         (memcpy_z10): Rename to __memcpy_z10.
5226         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5227         (memcpy): Set alias to __memcpy_z900.
5228         * sysdeps/s390/s390-64/multiarch/memset.S
5229         (memset_z196): Rename to __memset_z196.
5230         Jump to __memset_mvcle instead of memset_mvcle.
5231         (memset_z10): Rename to __memset_z10.
5232         Jump to __memset_mvcle instead of memset_mvcle.
5233         (memset_mvcle) Rename to __memset_mvcle.
5234         (memset): Set alias to __memset_z900.
5236 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5238         [BZ #17748]
5239         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5240         __fesetenv instead of fesetenv.
5242 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5245         macro.
5247 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5249         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5250         regression on LE.
5252         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5253         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5254         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5255         strncmp-power8 object.
5256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5257         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5258         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5259         * NEWS: Update.
5261 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5262             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5264         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5265         trailing byte check.
5267 2015-01-13  David S. Miller  <davem@davemloft.net>
5269         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5271 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5273         * login/logout.c (logout): Use memset rather than bzero.
5274         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5275         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5276         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5277         (_gethtbyaddr): Likewise.
5278         * locale/programs/simple-hash.c (bcopy): Macro removed.
5280 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5283         Add strcmp-power8 object.
5284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5285         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5286         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5287         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5288         __strcmp_power8 implementation.
5289         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5290         * NEWS: Update.
5292         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5293         Add strncpy-power8 and stpncpy-power8 objects.
5294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5295         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5296         implementations.
5297         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5299         __stpncpy_power8 implementation.
5300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5301         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5302         __strncpy_power8 implementation.
5303         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5304         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5305         * NEWS: Update.
5307         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5308         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5309         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5312         strncat-power8 object.
5313         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5314         __strcat_power8 implementation.
5315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5316         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5317         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5318         optimized strcat for power8.
5320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5321         strcpy-power8 and stpcpy-power8 objects.
5322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5323         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5324         implementations.
5325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5326         multiarch stpcpy implementation for POWER8.
5327         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5328         multiarch strcpy implementation for POWER8.
5329         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5330         __strcpy_power8 function.
5331         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5332         stpcpy for POWER8.
5333         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5334         strcpy for POWER8.
5335         * NEWS: Update.
5337 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5339         [BZ #16009]
5340         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5341         weights and rules. Use do_xfrm_cached if data fits in cache,
5342         do_xfrm otherwise.  Moved former main loop to...
5343         * (do_xfrm_cached): New function.
5344         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5345         find_idx, find_position and stack_push.
5346         * (find_idx): New function.
5347         * (find_position): Likewise.
5348         * localedata/sort-test.sh: Added test run for do_xfrm.
5349         * localedata/xfrm-test.c (main): Added command line option
5350         -nocache to run the test with strings that are too large for
5351         the STRXFRM cache.
5353 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5355         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5356         variable to lll_futex_wake call, not the value itself.
5358 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5360         [BZ #17803]
5361         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5362         twom64.  Adjust value to 0x1p-64L.
5363         (__scalblnl): Only return standard underflowing result for K <=
5364         -64 not K <= -63; adjust exponent for underflowing result by 64
5365         not 63.
5366         * math/libm-test.inc (scalbn_test_data): Add more tests.
5367         (scalbln_test_data): Likewise.
5369         [BZ #17834]
5370         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5371         0x1p63L.
5372         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5373         not HX.
5374         * math/libm-test.inc (scalbn_test_data): Add more tests.
5375         (scalbln_test_data): Likewise.
5377 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5378             Stefani Seibold  <stefani@seibold.net>
5380         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5381         (sysdep_routines): Add dl-vdso here, ...
5382         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5383         (sysdep_routines): ... not here.
5384         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5385         fallback when vDSO is not presented.
5386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5387         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5388         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5389         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5390         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5391         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5392         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5393         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5394         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5396         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5397         fallback configurable symbol when vDSO is not available.
5398         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5399         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5400         be able to redefine fallback symbol when vDSO is not available.
5401         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5402         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5404 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5406         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5407         (TLS_INIT_TP): Add tm_capable initialization.
5408         (TLS_DEFINE_INIT_TP): Likewise.
5409         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5410         TCB.
5411         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5412         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5413         calculation.
5414         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5415         transactoion is lock elision is built and TCB tm_capable is set.
5416         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5418         (INTERNAL_SYSCALL_NCS): Likewise.
5419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5420         (INTERNAL_SYSCALL_NCS): Likewise.
5421         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5423         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5424         for powerpc.
5425         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5426         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5427         and remove it for 32 bits case.
5428         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5430         initialization.
5431         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5432         Disable lock elision with rdlocks if elision is not available.
5434         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5435         (sysdep_routines): Add lock elision objects.
5436         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5437         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5438         [pthread_mutex_t] (__elision): Add field.
5439         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5440         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5441         elision definitions for powerpc.
5442         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5443         implementation of lock elision for powerpc.
5444         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5445         implementation of timed lock elision for powerpc.
5446         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5447         implementation of trylock with lock elision for powerpc.
5448         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5449         implementaion of unlock for lock elision for powerpc.
5450         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5451         automatic enable lock elision for mutexes.
5452         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5453         transaction execution definitions for powerpc.
5454         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5455         definitions.
5456         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5457         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5458         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5459         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5460         * NEWS: Update.
5462 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5464         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5465         for #include of <shm-directory.h>.
5467 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5470         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5472 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5474         [BZ #17791]
5475         * NEWS: Mention bug fix.
5476         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5477         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5478         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5480 2015-01-09  Torvald Riegel <triegel@redhat.com>
5482         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5484 2015-01-09  Torvald Riegel <triegel@redhat.com>
5486         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5488 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5490         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5491         pointer and cast to uintptr_t.
5493 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5495         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5496         removed.
5497         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5499 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5501         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5502         of 0.
5504 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5506         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5507         <nptl/pthreadP.h> instead.
5508         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5510         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5511         already defined.
5512         [__SIGRTMIN] (init): Function removed.
5513         [__SIGRTMIN] (initialized): Variable removed.
5514         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5515         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5516         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5517         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5518         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5519         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5520         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5521         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5522         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5523         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5524         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5525         * sysdeps/nptl/allocrtsig.c: New file.
5526         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5527         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5528         * sysdeps/generic/testrtsig.h: File removed.
5530         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5531         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5533         * nptl/nptl-init.c (pthread_functions): Conditionalize
5534         .ptr__nptl_setxid initialization on [SIGSETXID].
5536         * sysdeps/nptl/sys/procfs.h: New file.
5537         * nptl_db/Makefile (headers): Add it.
5538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5540         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5541         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5542         * nptl/pthread_attr_setaffinity.c: Include it.
5543         * nptl/pthread_setattr_default_np.c: Likewise.
5544         * nptl/check-cpuset.h: New file.
5546 2015-01-08  Richard Henderson  <rth@redhat.com>
5548         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5549         (CFLAGS-tst-execstack-prog.c): Likewise.
5550         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5552 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5553             Sandra Loosemore  <sandra@codesourcery.com>
5554             Andrew Jenner  <andrew@codesourcery.com>
5555             Joseph Myers  <joseph@codesourcery.com>
5556             Nathan Sidwell  <nathan@codesourcery.com>
5558         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5559         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5560         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5561         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5562         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5563         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5564         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5565         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5566         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5567         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5568         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5569         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5570         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5571         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5572         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5573         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5574         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5576 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5578         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5579         timespec struct member in syscall macro.
5580         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5581         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5582         first timeval struct member in syscall macro.
5583         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5585 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5587         [BZ #17748]
5588         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5589         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5590         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5591         __feupdateenv and define as weak alias of __feupdateenv.  Use
5592         libm_hidden_weak.
5593         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5594         libm_hidden_def.
5595         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5596         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5597         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5598         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5599         libm_hidden_def.
5600         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5601         __feupdateenv and define as weak alias of __feupdateenv.  Use
5602         libm_hidden_weak.
5603         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5604         libm_hidden_def.
5605         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5606         __feupdateenv and define as weak alias of __feupdateenv.  Use
5607         libm_hidden_weak.
5608         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5609         libm_hidden_def.
5610         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5611         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5612         (__feupdateenv): Likewise.
5613         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5614         __feupdateenv and define as weak alias of __feupdateenv.  Use
5615         libm_hidden_weak.
5616         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5617         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5618         libm_hidden_def.
5619         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5620         function.
5621         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5622         libm_hidden_def.
5623         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5624         __feupdateenv instead of feupdateenv.
5625         (default_libc_feupdateenv_test): Likewise.
5626         (libc_feresetround_ctx): Likewise.
5628 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5630         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5631         prototype.
5633 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5635         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5636         COLL_SYM in a couple of places to avoid uninitialized variable
5637         wanings on tilegx gcc 4.8.2.
5639 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5641         * sysdeps/aarch64/strcpy.S: New file.
5642         * sysdeps/aarch64/stpcpy.S: New file.
5643         * NEWS: Updated.
5645 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5647         * sysdeps/aarch64/strrchr.S: New file.
5648         * NEWS: Updated.
5650 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5652         [BZ #17658]
5653         * stdlib/setenv.c: Fix memory leak when setting large,
5654         duplicate string.
5656 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5658         [BZ #17273]
5659         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5660         and tabs from buffer before parsing fstab entry.
5661         * misc/tst-mntent.c (main): Add test for mount entry with
5662         trailing spaces and tabs.
5664 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5666         [BZ #17748]
5667         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5668         * math/fesetround.c (fesetround): Rename to __fesetround and
5669         define as weak alias of __fesetround.  Use libm_hidden_weak.
5670         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5671         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5672         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5673         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5674         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5675         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5676         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5677         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5678         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5679         __fesetround_inline.
5680         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5681         __fesetround_inline instead of __fesetround.
5682         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5683         __fesetround and define as weak alias of __fesetround.  Use
5684         libm_hidden_weak.  Call __fesetround_inline instead of
5685         __fesetround.
5686         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5687         __fesetround and define as weak alias of __fesetround.  Use
5688         libm_hidden_weak.
5689         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5690         Likewise.
5691         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5692         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5693         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5694         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5695         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5696         __fesetround and define as weak alias of __fesetround.  Use
5697         libm_hidden_weak.
5698         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5699         __fesetround instead of fesetround.
5700         (default_libc_feholdexcept_setround): Likewise.
5701         (libc_feholdsetround_ctx): Likewise.
5702         (libc_feholdsetround_noex_ctx): Likewise.
5704         [BZ #17748]
5705         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5706         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5707         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5708         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5709         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5710         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5711         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5712         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5713         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5714         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5715         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5716         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5717         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5718         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5719         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5720         libm_hidden_def.
5721         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5722         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5723         Likewise.
5724         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5725         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5726         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5727         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5728         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5729         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5730         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5731         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5732         __fesetenv instead of fesetenv.
5733         (libc_feresetround_noex_ctx): Likewise.
5734         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5735         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5736         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5737         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5738         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5739         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5740         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5741         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5742         (__feupdateenv): Likewise.
5743         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5744         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5745         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5746         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5748 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5750         [BZ #17806]
5751         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5752         addresses have been freed.
5754 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5756         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5757         and nservall.
5759 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5761         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5762         Clean up check_pf allocation pattern. addresses
5764 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5766         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5767         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5768         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5769         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5770         * nptl/pthread_join.c (pthread_join): Likewise.
5771         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5772         * sysdeps/posix/waitid.c (__waitid): Likewise.
5773         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5774         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5775         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5776         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5778         Likewise.
5779         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5780         (__libc_pread64): Likewise.
5781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5782         (__libc_pwrite): Likewise.
5783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5784         (__libc_pwrite64): Likewsie.
5785         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5786         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5787         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5788         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5789         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5790         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5791         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5793         Likewise.
5794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5795         (__libc_pread64): Likewise.
5796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5797         Likewise.
5798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5799         (__libc_pwrite64): Likewise.
5800         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5801         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5802         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5803         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5804         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5805         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5806         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5807         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5808         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5809         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5810         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5811         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5812         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5813         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5814         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5815         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5816         Likewise.
5818 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5820         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5821         (CFLAGS-test-double.c): Likewise.
5822         (CFLAGS-test-ldouble.c): Likewise.
5823         (CPPFLAGS-test-ifloat.c): Likewise.
5824         (CPPFLAGS-test-idouble.c): Likewise.
5825         (CPPFLAGS-test-ildoubl.c): Likewise.
5826         (CFLAGS-test-test-fenv.c): Remove variable.
5827         (CFLAGS-test-misc.c): Likewise.
5829 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5831         [BZ #17797]
5832         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5833         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5834         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5835         CLOCKS_PER_SEC == 1000000.
5836         * time/clocktest.c (main): Replace %ld with %jd and cast to
5837         intmax_t.
5839 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5841         * sysdeps/generic/unwind-resume.h: New file.
5842         * sysdeps/gnu/unwind-resume.c: Include it.
5843         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5844         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5845         argument list.
5846         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5847         global rather than static.
5848         (_Unwind_Resume): Update user.
5849         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5850         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5851         rather than static.  Add __attribute__ ((cold)).
5852         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5853         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5854         * sysdeps/arm/arm-unwind-resume.S: New file.
5855         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5856         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5857         * sysdeps/arm/Makefile [$(subdir) = csu]
5858         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5859         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5860         Add rt-arm-unwind-resume.
5861         [$(subdir) = nptl]
5862         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5863         Add pt-arm-unwind-resume.
5864         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5865         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5867 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5869         [BZ #17748]
5870         * include/fenv.h (__feholdexcept): Declare.  Use
5871         libm_hidden_proto.
5872         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5873         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5874         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5875         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5876         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5877         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5878         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5879         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5880         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5881         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5882         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5883         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5884         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5885         (feholdexcept): Likewise.
5886         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5887         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5888         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5889         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5890         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5891         __feholdexcept instead of feholdexcept.
5892         (default_libc_feholdexcept_setround): Likewise.
5894 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5896         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5897         to avoid using stl/str to align destination.
5899 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5901         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5903 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #17796]
5906         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5907         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5908         Define as weak alias not strong alias.
5910 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5912         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5913         bltzal with addiupc.
5914         (RTLD_START): Ditto.
5916 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5918         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5919         for __vdso_* functions in declarations.
5920         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5921         definitions.
5922         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5923         INTERNAL_VSYSCALL): Use struct return types to check for error.
5925         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5926         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5927         function with cast from llround().
5928         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5929         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5930         Define.
5932 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5934         [BZ #17793]
5935         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5936         Define as weak alias not strong alias.
5938         [BZ #17635]
5939         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5940         ...
5941         * ctype/ctype-extn.c: ... here.
5942         (__isblank_l): Move to ...
5943         * ctype/ctype-c99_l.c: ... here.  New file.
5944         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5945         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5946         Remove variable.
5947         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5948         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5949         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5950         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5951         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5953         [BZ #17777]
5954         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5955         (posix_fadvise64): Define as weak alias not strong alias.
5956         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5957         (posix_fallocate64): Likewise.
5958         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5959         Remove variable.
5960         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5961         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5962         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5963         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5964         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5966 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5968         [BZ #16191]
5969         * NEWS: Mention bug fix.
5970         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5971         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5972         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5973         (HOST_STACK_END_ADDR): Likewise.
5975 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5977         [BZ #17748]
5978         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5979         * math/fegetround.c (fegetround): Rename to __fegetround and
5980         define as weak alias of __fegetround.  Use libm_hidden_weak.
5981         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5982         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5983         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5984         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5985         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5986         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5987         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5988         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5989         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5990         Undefine after rather than before function definition; use
5991         parentheses around function name in definition.
5992         (__fegetround): Also undefine macro after function definition.
5993         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5994         __fegetround and define as weak alias of __fegetround.  Use
5995         libm_hidden_weak.  Do not undefine as macro.
5996         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5997         Likewise.
5998         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5999         __fegetround and define as weak alias of __fegetround.  Use
6000         libm_hidden_weak.
6001         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6002         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6003         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6004         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6005         __fegetround and define as weak alias of __fegetround.  Use
6006         libm_hidden_weak.
6007         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6008         __fegetround instead of fegetround.
6010         [BZ #17782]
6011         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6012         Condition macro definition on [__USE_MISC].
6014         [BZ #17781]
6015         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6016         (struct sigaction): Change type of sa_flags field to int.
6018         [BZ #17780]
6019         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6020         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6021         __glibc_reserved0.
6023         * nptl/version.c (banner): Use single year in copyright notice.
6025         * NEWS: Update copyright dates.
6026         * catgets/gencat.c (print_version): Likewise.
6027         * csu/version.c (banner): Likewise.
6028         * debug/catchsegv.sh: Likewise.
6029         * debug/pcprofiledump.c (print_version): Likewise.
6030         * debug/xtrace.sh (do_version): Likewise.
6031         * elf/ldconfig.c (print_version): Likewise.
6032         * elf/ldd.bash.in: Likewise.
6033         * elf/pldd.c (print_version): Likewise.
6034         * elf/sotruss.sh: Likewise.
6035         * elf/sprof.c (print_version): Likewise.
6036         * iconv/iconv_prog.c (print_version): Likewise.
6037         * iconv/iconvconfig.c (print_version): Likewise.
6038         * locale/programs/locale.c (print_version): Likewise.
6039         * locale/programs/localedef.c (print_version): Likewise.
6040         * login/programs/pt_chown.c (print_version): Likewise.
6041         * malloc/memusage.sh (do_version): Likewise.
6042         * malloc/memusagestat.c (print_version): Likewise.
6043         * malloc/mtrace.pl: Likewise.
6044         * manual/libc.texinfo: Likewise.
6045         * nptl/version.c (banner): Likewise.
6046         * nscd/nscd.c (print_version): Likewise.
6047         * nss/getent.c (print_version): Likewise.
6048         * nss/makedb.c (print_version): Likewise.
6049         * posix/getconf.c (main): Likewise.
6050         * scripts/test-installation.pl: Likewise.
6051         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6053 2015-01-02  Will Newton  <will.newton@linaro.org>
6055         * sysdeps/arm/armv7/configure: Removed.
6056         * sysdeps/arm/armv7/configure.ac: Likewise.
6058 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6060         * All files with FSF copyright notices: Update copyright dates
6061         using scripts/update-copyrights.
6062         * intl/plural.c: Regenerated.
6063         * locale/programs/charmap-kw.h: Likewise.
6064         * locale/programs/locfile-kw.h: Likewise.
6066 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6068         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6070 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6072         [BZ #17748]
6073         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6074         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6075         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6076         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6077         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6078         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6079         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6080         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6081         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6082         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6083         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6084         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6085         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6086         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6087         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6088         libm_hidden_def.
6089         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6090         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6091         Likewise.
6092         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6093         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6094         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6095         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6096         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6097         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6098         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6099         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6100         __fegetenv instead of fegetenv.
6101         (libc_feholdsetround_noex_ctx): Likewise.
6103 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6105         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6106         (Elf_MIPS_ABIFlags_v0): New structure.
6107         (EF_MIPS_FP64): Define.
6108         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6109         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6110         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6111         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6112         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6113         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6114         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6115         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6116         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6117         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6118         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6119         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6120         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6121         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6122         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6123         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6124         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6125         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6126         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6127         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6128         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6129         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6130         field.
6131         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6132         EF_MIPS_FP64.
6133         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6134         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6135         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6136         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6137         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6138         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6139         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6140         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6141         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6142         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6143         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6144         record the current FP ABI extension.
6145         (mips-mode-switch): Define to show if kernel headers support mode
6146         switching.
6147         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6148         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6149         supported SYSV ABI version to 3.
6150         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6151         feature.
6153 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6154             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6156         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6157         path.
6158         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6160 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6162         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6163         __fegetround and redefine to call __fegetround.  Remove condition
6164         on [!__NO_MATH_INLINES].
6165         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6166         function.
6167         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6168         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6169         Remove macro.
6170         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6171         instead of <fenv_libc.h>.
6172         (__llrintl): Call fegetround instead of __fegetround.
6173         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6174         instead of <fenv_libc.h>.
6175         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6176         (__lrintl): Call fegetround instead of __fegetround.
6177         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6178         instead of <fenv_libc.h>.
6179         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6180         (__rintl): Call fegetround instead of __fegetround.
6182 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6184         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6185         arrays.
6187 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6189         [BZ #17775]
6190         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6191         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6192         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6194 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6196         * sysdeps/i386/tls-macros.h: Include <features.h>.
6197         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6198         (TLS_IE): Likewise.
6199         (TLS_LD): Likewise.
6200         (TLS_GD): Likewise.
6201         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6202         define for GCC >= 5.0.
6204 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6206         * math/test-fenv.c (test_single_exception, set_single_exc,
6207         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6208         feexcp_mask_test, feenable_test, fe_single_test): Add
6209         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6210         case where they are not used.
6211         * math/libm-test.inc: Likewise.
6212         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6213         unused in the absence of FP rounding/exception support.
6214         * stdio-common/tst-printf-round.c: Likewise.
6215         * stdlib/tst-strtod-round.c: Likewise.
6216         * stdlib/tst-strtod-underflow.c: Likewise.
6218 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6220         [BZ #17723]
6221         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6222         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6223         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6224         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6225         libm_hidden_weak.
6226         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6227         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6228         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6229         libm_hidden_def.
6230         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6231         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6232         libm_hidden_weak.
6233         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6234         Likewise.
6235         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6236         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6237         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6238         libm_hidden_weak.
6239         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6240         libm_hidden_def.
6241         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6242         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6243         (__feraiseexcept): Likewise.
6244         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6245         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6246         libm_hidden_weak.
6247         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6248         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6249         libm_hidden_def.
6250         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6251         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6252         Use libm_hidden_def.
6253         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6254         libm_hidden_def.
6255         (feraiseexcept): Define as weak not strong alias.  Use
6256         libm_hidden_weak.
6257         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6258         New inline function.  Factored out of ...
6259         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6260         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6261         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6262         feraiseexcept.
6263         * math/w_acos.c (__acos): Likewise.
6264         * math/w_asin.c (__asin): Likewise.
6265         * math/w_ilogb.c (__ilogb): Likewise.
6266         * math/w_j0.c (y0): Likewise.
6267         * math/w_j1.c (y1): Likewise.
6268         * math/w_jn.c (yn): Likewise.
6269         * math/w_log.c (__log): Likewise.
6270         * math/w_log10.c (__log10): Likewise.
6271         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6272         * sysdeps/aarch64/fpu/math_private.h
6273         (libc_feupdateenv_test_aarch64): Likewise.
6274         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6275         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6276         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6277         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6278         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6279         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6280         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6281         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6282         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6283         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6285 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6287         [BZ #17732]
6288         * io/test-utime.c (main): Replace %ld with %jd and cast to
6289         intmax_t.
6290         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6291         * nptl/tst-mutex5.c: Include <stdint.h>.
6292         (do_test): Replace %ld with %jd and cast to intmax_t.
6293         * posix/tst-regex.c (run_test): Likewise.
6294         (run_test_backwards): Likewise.
6295         * rt/tst-clock.c: Include <stdint.h>.
6296         (clock_test): Replace %ld with %jd and cast to intmax_t.
6297         * rt/tst-cpuclock1.c: Include <stdint.h>.
6298         (do_test): Replace %lu with %ju and cast to uintmax_t.
6299         * rt/tst-cpuclock2.c: Include <stdint.h>.
6300         (do_test): Replace %lu with %ju and cast to uintmax_t.
6301         * rt/tst-mqueue1.c: Include <stdint.h>.
6302         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6303         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6304         intmax_t.
6305         * rt/tst-mqueue4.c (do_test): Likewise.
6306         * rt/tst-timer4.c: Include <stdint.h>.
6307         (check_ts): Replace %ld with %jd and cast to intmax_t.
6308         (do_test): Likewise.
6309         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6310         and cast to intmax_t.
6311         * sysdeps/pthread/tst-timer.c (main): Likewise.
6312         * time/clocktest.c (main): Likewise.
6313         * time/tst-posixtz.c (do_test): Likewise.
6314         * timezone/tst-timezone.c (main): Likewise.
6316 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6317             H.J. Lu  <hongjiu.lu@intel.com>
6319         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6320         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6321         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6322         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6323         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6324         version if bit_Fast_Unaligned_Load is set.
6325         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6326         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6327         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6328         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6329         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6330         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6332         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6333         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6334         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6335         to 4.
6336         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6337         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6338         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6339         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6341 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6343         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6344         instead of #if to avoid a Wundef warning.
6345         * stdlib/tst-limits.c (do_test): Likewise.
6347         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6348         parallel other exception macros.
6349         (fegetenv): Convert from macro to extern inline so that it applies
6350         retroactively to inline functions already seen by the compiler.
6351         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6353         * posix/Makefile (before-compile): Use $(objpfx) for
6354         posix-conf-vars-def.h.
6356 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6358         * posix/getconf.c (main): Use size_t for type of I.
6359         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6360         NSPEC.
6362         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6363         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6364         * posix/posix-envs.def: Likewise.
6365         * sysdeps/posix/sysconf.c: Likewise.
6366         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6367         (specs): Remove array.
6368         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6369         array.
6371         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6372         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6373         (__sysconf): Use CONF_IS_* macros.
6375         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6376         ($(objpfx)posix-conf-vars-def.h): New target.
6377         * posix/posix-conf-vars.list: New file.
6378         * posix/posix-conf-vars.h: New file.
6379         * posix/confstr.c: Include posix-conf-vars.h.
6380         (confstr): Use CONF_IS_* macros.
6381         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6382         CONF_IS_* macros.
6383         * scripts/gen-posix-conf-vars.awk: New file.
6385 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6387         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6388         fegetround): Add no-op macros to avoid linknamespace issues.
6390         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6391         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6393         * sysdeps/unix/sysv/linux/tile/sysdep.h
6394         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6395         assembly-specific section to avoid a redefinition warning.
6397         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6398         long before casting to pointer to avoid a cast warning.
6400 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6402         * sysdeps/tile/tilegx/Implies: New file.
6404 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6406         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6408 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6410         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6412 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6414         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6415         not define.
6416         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6417         <kernel-features.h>.
6418         (__utimes) [__NR_utimes]: Make code unconditional.
6419         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6421         (__ASSUME_UTIMES): Do not undefine.
6422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6423         (__ASSUME_UTIMES): Likewise.
6424         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6425         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6426         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6427         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6429 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6431         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6433 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6435         [BZ #17747]
6436         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6437         alias to weak alias for j0l, y0l.
6438         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6439         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6441         [BZ #17746]
6442         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6443         conversion.
6445 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6447         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6448         to zero if not already defined.
6450 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #17724]
6453         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6454         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6455         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6456         (char *) casts added.
6457         * sysdeps/ieee754/k_standardf.c: New file.
6458         * sysdeps/ieee754/k_standardl.c: Likewise.
6459         * math/Makefile (libm-support): Remove k_standard.
6460         (libm-calls): Add k_standard.
6462 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6464         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6465         Optimize to avoid an unnecessary FPCR read.
6467 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6469         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6470         Optimize to reduce FPCR/FPSR accesses.
6472 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6474         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6475         Call libc_fetestexcept_aarch64.
6477 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6479         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6480         Call libc_fesetround_aarch64.
6482 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6484         [BZ #17733]
6485         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6486         (__bind): Do not define as weak alias.
6487         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6488         define.
6489         (__getsockname): Do not define as weak alias.
6491 2014-12-22  Will Newton  <will.newton@linaro.org>
6493         * manual/install.texi: Document that we require bison 2.7
6494         or above.
6495         * INSTALL: Regenerate.
6496         * configure.ac: Use AC_CHECK_PROG_VER instead of
6497         AC_PATH_PROG when checking for bison and check for
6498         version 2.7 or above.
6499         * configure: Regenerate.
6501 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6503         [BZ #17745]
6504         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6505         * sysdeps/tile/ffsll.c (ffsll): To here.
6507         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6509 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6511         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6512         if not defined.
6513         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6514         definition.
6515         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6516         hidden ___tls_get_addr.
6517         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6518         hidden __tls_get_addr.
6519         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6520         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6521         Likewise.
6523 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6525         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6526         _dl_init call.
6528 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6530         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6531         from "call _dl_init@PLT".
6532         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6534 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6536         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6537         guarantees.
6539 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6541         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6543 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6545         [BZ #17744]
6546         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6547         strnlen.
6549 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6551         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6552         of multu on MIPSr6.
6553         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6554         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6555         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6556         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6557         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6559 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6561         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6562         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6563         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6564         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6565         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6566         mips32r6/mips64r6.
6567         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6569 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6571         * string/strncat.c (STRNCAT): Simplify implementation.
6573 2014-12-19  David S. Miller  <davem@davemloft.net>
6575         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6576         access the quad as both a long double and as a series of 4 words.
6578         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6579         link_map->l_info array access.
6581 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6583         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6585         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6586         * math/atest-exp2.c (TIMEOUT): Likewise.
6587         * math/atest-sincos.c (TIMEOUT): Likewise.
6589 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6591         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6592         -Wno-error with -fno-builtin-lround.
6594 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6596         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6597         Contains futex constants and functions moved over from ...
6598         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6599         <lowlevellock-futex.h>.
6600         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6601         (lll_timedwait_tid): Add comments and parentheses around macro
6602         arguments.
6604 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6606         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6607         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6608         (__lll_private_flag): Remove.
6609         (lll_futex_wait): Likewise.
6610         (lll_futex_timed_wait): Likewise.
6611         (lll_futex_wake): Likewise.
6612         (lll_futex_requeue): Likewise.
6613         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6614         (__lll_timedwait_tid): Spell out argument names.
6615         (lll_timedwait_tid): Add comments and parentheses around macro
6616         arguments.
6617         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6618         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6620 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6622         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6623         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6624         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6625         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6626         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6627         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6628         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6629         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6630         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6631         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6633         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6635         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6636         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6637         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6638         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6639         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6640         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6642 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6644         * sysdeps/x86_64/x32/Makefile: New file.
6646 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6648         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6649         1L with (mp_limb_t) 1.
6651 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6653         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6654         * nptl/libc_pthread_init.c: ... here.
6655         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6656         * nptl/register-atfork.c: ... here.
6658         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6659         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6660         Use assert_perror to check its return value.
6661         (__gai_create_helper_thread): Likewise.
6663         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6665         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6667 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6669         [BZ #17725]
6670         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6671         __profil_counter.
6672         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6679         (profil_counter): Likewise.
6680         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6681         (profil_counter): Likewise.
6682         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6683         Likewise.
6684         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6685         Likewise.
6686         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6687         (profil_counter): Likewise.
6688         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6689         Likewise.
6690         [!__profil_counter] (profil_counter): Define as weak alias of
6691         __profil_counter.
6692         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6693         (profil_counter): Rename to __profil_counter.
6694         [!__profil_counter] (profil_counter): Define as weak alias of
6695         __profil_counter.
6696         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6697         (profil_counter): Rename to __profil_counter.
6698         [!__profil_counter] (profil_counter): Define as weak alias of
6699         __profil_counter.
6700         * sysdeps/posix/profil.c: Update comment referring to
6701         profil_counter.
6702         (__profil): Use __profil_counter instead of profil_counter.
6703         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6704         __profil_counter.  Use __profil_counter_ushort and
6705         __profil_counter_uint in definitions.
6706         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6707         instead of profil_counter_uint and profil_counter_ushort.
6709         [BZ #17722]
6710         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6711         define as weak alias of __inet_makeaddr.
6712         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6713         as weak alias of __inet_addr.
6714         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6715         as weak alias of __inet_pton.  Use libc_hidden_weak.
6716         * include/arpa/inet.h (__inet_pton): Declare.  Use
6717         libc_hidden_proto.
6718         (inet_makeaddr): Don't use libc_hidden_proto.
6719         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6720         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6721         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6722         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6723         Remove variable.
6724         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6725         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6727 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6729         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6731 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6733         * stdio-common/bug-vfprintf-nargs.c (do_test):
6734         Cast value to intptr_t to avoid format warning
6735         for usage with PRIdPTR printing macro.
6737 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6739         * libio/tst-widetext.c (do_test):
6740         Use format type %td instead of %Zd for ptrdiff_t
6741         in order to avoid format warning.
6743 2014-12-17  Andreas Schwab  <schwab@suse.de>
6745         * nscd/mem.c (gc): Add size_t cast to match printf format.
6747 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6749         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6750         (init): Apply PTR_MANGLE to pointers before storing them.
6751         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6752         before using them.
6754 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6756         [BZ #17719]
6757         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6758         define as weak alias of __memrchr.
6759         (__memrchr): Do not define as strong alias of memrchr.
6760         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6761         Remove variable.
6762         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6763         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6764         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6766         [BZ #17717]
6767         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6768         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6769         (if_indextoname): Rename to __if_indextoname and define as weak
6770         alias of __if_indextoname.  Use libc_hidden_weak.
6771         (if_freenameindex): Rename to __if_freenameindex and define as
6772         weak alias of __if_freenameindex.
6773         (if_nameindex): Rename to __if_nameindex and define as weak alias
6774         of __if_nameindex.
6775         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6776         __if_nametoindex and define as weak alias of __if_nametoindex.
6777         Use libc_hidden_weak.
6778         (if_freenameindex): Rename to __if_freenameindex and define as
6779         weak alias of __if_freenameindex.
6780         (if_nameindex): Rename to __if_nameindex and define as weak alias
6781         of __if_nameindex.
6782         (if_indextoname): Rename to __if_indextoname and define as weak
6783         alias of __if_indextoname.  Use libc_hidden_weak.
6784         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6785         __if_nametoindex and define as weak alias of __if_nametoindex.
6786         Use libc_hidden_weak.
6787         (if_freenameindex): Rename to __if_freenameindex and define as
6788         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6789         (if_nameindex_netlink): Use __if_freenameindex instead of
6790         if_freenameindex.
6791         (if_nameindex): Rename to __if_nameindex and define as weak alias
6792         of __if_nameindex.  Use libc_hidden_weak.
6793         (if_indextoname): Rename to __if_indextoname and define as weak
6794         alias of __if_indextoname.  Use libc_hidden_weak.
6795         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6796         libc_hidden_proto.
6797         [!_ISOMAC] (__if_freenameindex): Likewise.
6798         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6799         if_nametoindex.
6800         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6801         variable.
6802         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6803         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6804         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6805         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6806         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6807         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6808         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6810         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6811         Remove variable.
6812         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6813         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6815 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6818         subscript above bounds'
6820         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6821         bounds.
6823 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6825         * libio/tst-fopenloc.c: Use test-skeleton.c.
6827         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6828         (entry): Rename to ITEM.
6829         (do_test, comp): Adjust.
6831         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6833 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6835         * string/tester.c: Include <libc-internal.h>.
6836         (test_memset): Ignore -Wmemset-transposed-args.
6838 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6840         * misc/tst-mntent2.c (do_test): Fix warning.
6842 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6844         * elf/tst-unique4lib.cc(a): Mark as used.
6846 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6848         [BZ #17630]
6849         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6850         names.
6852 2014-12-16  Allan McRae  <allan@archlinux.org>
6854         * stdio-common/Makefile (tests): Re-add bug26.
6856 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6858         [BZ #17657]
6859         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6860         static array.
6862 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6864         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6865         (__lll_lock_wait): Likewise.
6866         (__lll_timedlock_wait): Likewise.
6867         (__lll_timedwait_tid): Likewise.
6868         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6869         (__lll_robust_timedlock_wait): Likewise.
6870         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6871         (lll_cond_trylock): Likewise.
6872         (__lll_lock): Likewise.
6873         (__lll_robust_lock): Likewise.
6874         (__lll_cond_lock): Likewise.
6875         (lll_robust_cond_lock): Likewise.
6876         (__lll_timedlock): Likewise.
6877         (__lll_robust_timedlock): Likewise.
6878         (__lll_unlock): Likewise.
6879         (__lll_robust_unlock): Likewise.
6880         (lll_wait_tid): Likewise.
6881         (lll_timedwait_tid): Likewise.
6883 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6885         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6887 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6889         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6891 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6893         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6894         * stdio-common/tst-sprintf.c: Likewise.
6896 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6898         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6900 2014-12-15  Jeff Law  <law@redhat.com>
6902         [BZ #16617]
6903         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6904         on the heap.  (CVE-2012-3406)
6905         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6906         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6907         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6909 2014-12-15  Will Newton  <will.newton@linaro.org>
6911         * manual/install.texi: Bump required version of texinfo
6912         to 4.7 from 4.5.
6913         * INSTALL: Regenerated.
6914         * configure.ac: Check for makeinfo version 4.7 and above.
6915         * configure: Regenerated.
6917 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6919         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6920         PREFIX, string constant to insert between directory and name.
6921         * sysdeps/posix/shm_open.c: Update caller.
6922         * sysdeps/posix/shm_unlink.c: Likewise.
6923         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6924         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6925         (SEM_SHM_PREFIX): New macro.
6926         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6927         [$(have-thread-library) = no].
6928         * nptl/Makefile (libpthread-routines): Add shm-directory.
6929         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6930         * sysdeps/nptl/shm-directory.h: New file.
6931         * sysdeps/posix/shm-directory.c
6932         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6933         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6934         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6935         INTERNAL_SYSCALL.
6936         (__where_is_shmfs): Function removed.
6937         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6938         Variables removed.
6939         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6940         Use SHM_GET_NAME.
6941         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6943         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6944         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6945         unconditional for use inside libpthread.
6946         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6948 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6950         * nptl/pthread_getaffinity.c: New file.
6951         * nptl/pthread_setaffinity.c: New file.
6952         * nptl/pthread_getname.c: New file.
6953         * nptl/pthread_setname.c: New file.
6955         * nptl/pthread_create.c (START_THREAD_DEFN)
6956         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6958 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6959             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6961         * resolv/res_send.c (send_vc): Disable warning resplen may
6962         be used uninitialized.
6964 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6966         * nptl/tst-mutex6.c
6967         (ATTR_NULL): New define checks ATTR against NULL.
6968         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6969         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6971 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6973         [BZ #17581]
6974         * malloc/hooks.c
6975         (mem2mem_check): Revert my previous change.
6976         (malloc_check_get_size): Revert my previous change.
6977         (mem2chunk_check): Revert my previous change.
6979 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6981         * sysdeps/posix/shm-directory.c: New file.
6982         * sysdeps/posix/shm-directory.h: New file.
6983         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6984         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6985         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6986         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6987         Transmute EPERM to EACCES.
6988         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6989         from ...
6990         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6991         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6993 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6995         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6996         pointer and cast to uintptr_t.
6997         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6998         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6999         Add cast to avoid warning.
7000         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7002 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7004         * nptl/semaphore.h: Move to ...
7005         * sysdeps/pthread/semaphore.h: ... here.
7006         * Makefile (installed-headers): Change nptl/semaphore.h to
7007         sysdeps/pthread/semaphore.h.
7009 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7011         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7012         generated error format strings.
7014         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7015         -Wformat-extra-args warnings for scanf formats.
7016         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7017         test of zero-length format (duh).
7018         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7019         corner-case scanf format test.
7020         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7021         generated fprintf format string.
7022         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7023         corner-case sprintf format tests.
7024         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7025         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7026         -Wformat-extra-args warnings throughout.
7027         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7028         (CFLAGS-scanf4.c): Likewise.
7029         (CFLAGS-scanf7.c): Likewise.
7030         (CFLAGS-tst-sprintf.c): Likewise.
7031         (CFLAGS-tst-printf.c): Likewise.
7032         (CFLAGS-tst-printfsz.c): Likewise.
7034 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7036         * include/cpio.h: New file.
7037         * include/fmtmsg.h: Likewise.
7039         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7040         corresponding format argument to size_t.
7041         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7042         arguments.
7043         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7044         corresponding format argument to size_t.
7045         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7046         arguments.
7047         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7048         corresponding format argument to size_t.
7049         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7050         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7051         (CFLAGS-tst-mbswcs2.c): Likewise.
7052         (CFLAGS-tst-mbswcs3.c): Likewise.
7053         (CFLAGS-tst-mbswcs4.c): Likewise.
7054         (CFLAGS-tst-mbswcs5.c): Likewise.
7055         (CFLAGS-tst-trans.c): Likewise
7057 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7059         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7060         rather than assuming they won't contain any '%'s.
7062 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7064         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7065         inhibit_loop_to_libcall to avoid recursive calls.
7066         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7067         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7069 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7071         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7072         prototype.
7074 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7076         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7077         integer value instead of boolean.
7079 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7081         * malloc/malloc.c: Fix powerof2 check.
7083 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7085         * locale/programs/locfile.h (maybe_swap_uint32):
7086         Remove inline and add unused attribute.
7088 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7090         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7091         Truncating assembler expression to a .long expression.
7093 2014-12-11  Andreas Schwab  <schwab@suse.de>
7095         * elf/rtld.c (struct map_args): Constify str member.
7096         (do_preload): Constify fname argument.
7098 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7101         constants definition.
7103 2014-12-11  Andreas Schwab  <schwab@suse.de>
7105         [BZ #16657]
7106         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7107         FORCE_ELISION instead of DO_ELISION.
7108         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7109         Remove.
7110         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7111         Likewise.
7113         * iconvdata/gconv-modules: Remove duplicate entry.
7115 2014-12-11  Will Newton  <will.newton@linaro.org>
7117         Merge gettext 0.19.3 into intl/.
7119         This involves a number of cosmetic changes to comments
7120         and ANSI function definitions and prototypes throughout
7121         all the files. The gettext copyright header is used but
7122         with the date ranges taken from the glibc copy.
7124         * NEWS: Add gettext merge to 2.21.
7125         * intl/bindtextdom.c: Switch to gettext copyright.
7126         Use ANSI definitions and prototypes.
7127         Use gl_* locking primitives rather than __libc_* ones.
7128         Use __builtin_expect rather than __glibc_likely/unlikely.
7129         * intl/dcgettext.c: Switch to gettext copyright.
7130         Use ANSI definitions and prototypes.
7131         * intl/dcigettext.c: Switch to gettext copyright.
7132         Use ANSI definitions and prototypes.
7133         (INTDIV0_RAISES_SIGFPE): New define.
7134         Use gl_* locking primitives rather than __libc_* ones.
7135         Include eval-plural.h instead of plural-eval.c.
7136         Use __builtin_expect rather than __glibc_likely/unlikely.
7137         * intl/dcngettext.c: Switch to gettext copyright.
7138         Use ANSI definitions and prototypes.
7139         * intl/dgettext.c: Likewise.
7140         * intl/dngettext.c: Likewise.
7141         * intl/plural-eval.c: Renamed to...
7142         * intl/eval-plural.h: ...this.
7143         * intl/explodename.c: Switch to gettext copyright.
7144         Use ANSI definitions and prototypes.
7145         (_nl_explode_name): Use strchr instead of __rawmemchr.
7146         * intl/finddomain.c: Switch to gettext copyright.
7147         Use ANSI definitions and prototypes.
7148         Use gl_* locking primitives rather than __libc_* ones.
7149         (_nl_find_domain): Use malloc rather than alloca for
7150         allocation of temporary locale name.
7151         * intl/gettext.c: Switch to gettext copyright.
7152         Use ANSI definitions and prototypes.
7153         * intl/gettextP.h: Switch to gettext copyright.
7154         Use ANSI definitions and prototypes.
7155         Use gl_* locking primitives rather than __libc_* ones.
7156         * intl/gmo.h: Switch to gettext copyright.
7157         (struct sysdep_string): Move struct segment_pair outside of
7158         struct definition.
7159         * intl/hash-string.c: Use ANSI definitions and prototypes.
7160         * intl/hash-string.h: Switch to gettext copyright.
7161         Use ANSI definitions and prototypes.
7162         * intl/l10nflist.c: Switch to gettext copyright.
7163         Use ANSI definitions and prototypes.
7164         (_nl_normalize_codeset): Avoid integer overflow.
7165         * intl/loadinfo.h: Switch to gettext copyright.
7166         Use ANSI definitions and prototypes.
7167         (LIBINTL_DLL_EXPORTED): New define.
7168         (PATH_SEPARATOR): New define.
7169         * intl/loadmsgcat.c: Switch to gettext copyright.
7170         * intl/localealias.c: Switch to gettext copyright.
7171         Use ANSI definitions and prototypes.
7172         (_nl_expand_alias): Use PATH_SEPARATOR.
7173         * intl/ngettext.c: Switch to gettext copyright.
7174         Use ANSI definitions and prototypes.
7175         * intl/plural-exp.c: Likewise.
7176         * intl/plural-exp.h: Switch to gettext copyright.
7177         Use ANSI definitions and prototypes.
7178         (struct expression): Move definition of enum operator outside
7179         of struct definition.
7180         * intl/plural.c: Regenerate.
7181         * intl/plural.y: Switch to gettext copyright.
7182         Use ANSI definitions and prototypes.
7183         Port to bison 3.0.
7184         * intl/textdomain.c: Switch to gettext copyright.
7185         Use ANSI definitions and prototypes.
7186         Use gl_* locking primitives rather than __libc_* ones.
7188 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7190         * debug/warning-nop.c: Add used atrribute.
7192 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7194         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7196         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7197         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7198         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7200 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7201             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7203         [BZ #17634]
7204         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7205         Undefine after defining function.  Define as weak alias of
7206         __wcschr.  Use libc_hidden_weak.
7207         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7208         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7209         (libc_hidden_def): Also define __GI___wcschr alias.
7210         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7211         __wcschr and define as weak alias of __wcschr.
7212         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7213         __wcschr.
7214         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7215         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7216         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7217         libc_hidden_weak.  Do not use libc_hidden_def.
7218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7219         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7220         __GI___wcschr alias.
7221         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7222         [IS_IN (libc)] (wcschr): Define as macro expanding to
7223         __redirect_wcschr.
7224         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7225         [IS_IN (libc)] (__wcschr_power6): Likewise.
7226         [IS_IN (libc)] (__wcschr_power7): Likewise.
7227         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7228         instead of wcschr.
7229         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7230         __libc_wcschr.
7231         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7232         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7233         __wcschr and define as weak alias of __wcschr.  Use
7234         libc_hidden_builtin_def.
7235         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7236         as weak alias of __wcschr.  Use libc_hidden_weak.
7237         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7238         wcschr.
7239         * time/era.c (_nl_init_era_entries): Likewise.
7240         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7241         variable.
7242         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7243         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7245 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7247         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7248         format for long int variable.
7250 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7252         [BZ #10672]
7253         * manual/search.texi: (Array Sort Function): Remove claim how to make
7254         qsort stable.
7256 2014-12-10  Andreas Schwab  <schwab@suse.de>
7258         [BZ #12847]
7259         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7260         user-controlled locks.
7262 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7264         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7265         register.
7267 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7269         * configure.ac (--disable-werror): New configure option.
7270         (enable_werror): New AC_SUBST.
7271         * configure: Regenerated.
7272         * config.make.in (enable-werror): New variable.
7273         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7274         -Wno-error=undef.
7275         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7276         * manual/install.texi (Configuring and compiling): Document
7277         --disable-werror.
7278         * INSTALL: Regenerated.
7279         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7280         (CFLAGS-tst-chk2.c): Likewise.
7281         (CFLAGS-tst-chk3.c): Likewise.
7282         (CFLAGS-tst-chk4.cc): Likewise.
7283         (CFLAGS-tst-chk5.cc): Likewise.
7284         (CFLAGS-tst-chk6.cc): Likewise.
7285         (CFLAGS-tst-lfschk1.c): Likewise.
7286         (CFLAGS-tst-lfschk2.c): Likewise.
7287         (CFLAGS-tst-lfschk3.c): Likewise.
7288         (CFLAGS-tst-lfschk4.cc): Likewise.
7289         (CFLAGS-tst-lfschk5.cc): Likewise.
7290         (CFLAGS-tst-lfschk6.cc): Likewise.
7292         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7293         (main): Disable -Wdeprecated-declarations around calls to
7294         register_printf_function.
7296         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7297         (do_test): Disable -Wdiv-by-zero around some calls to
7298         fwrite_unlocked and fread_unlocked.
7300         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7301         (DIAG_POP_NEEDS_COMMENT): Likewise.
7302         (_DIAG_STR1): Likewise.
7303         (_DIAG_STR): Likewise.
7304         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7305         * stdio-common/bug21.c: Include <libc-internal.h>.
7306         (do_test): Disable -Wformat around call to sscanf.
7307         * stdio-common/scanf14.c: Include <libc-internal.h>.
7308         (main): Disable -Wformat around some calls to scanf functions.
7310 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7312         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7314 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7316         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7317         stack variable alignment.
7319 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7321         [BZ #17682]
7322         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7323         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7324         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7325         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7326         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7327         __getrlimit instead of getrlimit.
7328         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7329         __gettimeofday instead of gettimeofday.
7330         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7331         Likewise.
7332         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7333         Likewise.
7334         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7335         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7336         Remove variable.
7337         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7338         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7340 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7342         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7343         for wide-character tests.
7345 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7347         * io/openat64.c: #include <libc-internal.h>
7348         (__openat64): Prototypify.  Use ignore_value on MODE.
7349         * io/openat.c: Likewise.
7350         * misc/reboot.c: #include <libc-internal.h>
7351         (reboot): Prototypify.  Use ignore_value on HOWTO.
7352         * misc/ptrace.c: #include <libc-internal.h>
7353         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7355 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7357         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7358         XPG4, UNIX98 and XOPEN2K.
7359         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7360         Remove variable.
7361         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7363 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7365         * libio/fileops.c: Use ISO C style for function definitions.
7366         * libio/iofopen.c: Likewise.
7367         * libio/wfileops.c: Likewise.
7369         [BZ #17653]
7370         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7371         offset on EOF.
7372         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7373         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7374         (fgets_func): Function pointer to fgets and fgetws.
7375         (do_ftell_test): Add test to verify ftell value after read
7376         EOF.
7377         (do_test): Set fgets_func.
7379         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7380         O_TRUNC flag for w and w+ modes.
7381         (do_rewind_test): Likewise.
7382         (do_ftell_test): Likewise.
7383         (do_write_test): Likewise.
7385         [BZ #17647]
7386         * libio/fileops.c (do_ftell): Seek only when there are
7387         unflushed writes.
7388         * libio/wfileops.c (do_ftell_wide): Likewise.
7389         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7390         test case.
7391         (do_one_test): Call it.
7393 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7395         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7396         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7397         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7398         Remove variable.
7399         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7400         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7401         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7403 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7405         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7406         Remove variable.
7407         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7409         [BZ #17668]
7410         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7411         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7412         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7413         __freeifaddrs.  Use libc_hidden_weak.
7414         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7415         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7416         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7417         __freeifaddrs.  Use libc_hidden_weak.
7418         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7419         __getifaddrs and define as weak alias of __getifaddrs.  Use
7420         libc_hidden_weak.
7421         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7422         __freeifaddrs.  Use libc_hidden_weak.
7423         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7424         Remove variable.
7425         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7426         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7428 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7430         [BZ #17601]
7431         * sysdeps/mips/start.S (__start): Use indirect jump to call
7432         __libc_start_main.
7434 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7436         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7438         * nptl/tst-mutex1.c: Include <stdbool.h>.
7439         [!ATTR] (ATTR_NULL): New macro.
7440         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7441         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7442         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7444         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7445         to char *.
7447         [BZ #17665]
7448         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7449         Change conditional to [__USE_MISC].
7451         [BZ #17664]
7452         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7453         fgets_unlocked.
7454         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7455         __fgets_unlocked.
7456         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7457         fgets_unlocked.
7458         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7459         Remove variable.
7460         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7461         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7462         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7463         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7464         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7465         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7466         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7467         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7468         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7470         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7472 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7474         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7475         Remove strpbrk objects.
7476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7477         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7478         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7479         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7480         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7481         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7484         Remove strcspn objects.
7485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7486         (__libc_ifunc_impl_list): Remove strcspn implementation.
7487         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7488         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7489         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7490         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7493         Remove strspn objetcs.
7494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7495         (__libc_ifunc_impl_list): Remove strspn implementation.
7496         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7497         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7498         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7499         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7501 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7503         [BZ #17581]
7504         * malloc/hooks.c
7505         (mem2mem_check): Add a terminator to the chain of checking blocks.
7506         (malloc_check_get_size): Use it here.
7507         (mem2chunk_check): Ditto.
7509 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7511         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7512         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7514 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7516         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7518         * nptl/nptl-init.c: Include libc-internal.h.
7519         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7521         * elf/ldconfig.c (search_dir): Expand comment.
7523 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7525         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7526         variable.
7527         (linknamespace-symlist-stdlibs-tests): Likewise.
7528         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7529         instead of $(objpfx)symlist-stdlibs.
7530         (linknamespace-libs-isoc): New variable.
7531         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7532         (linknamespace-libs-ISO): New variable.
7533         (linknamespace-libs-ISO99): Likewise.
7534         (linknamespace-libs-ISO11): Likewise.
7535         (linknamespace-libs-XPG3): Likewise.
7536         (linknamespace-libs-XPG4): Likewise.
7537         (linknamespace-libs-POSIX): Likewise.
7538         (linknamespace-libs-UNIX98): Likewise.
7539         (linknamespace-libs-XOPEN2K): Likewise.
7540         (linknamespace-libs-POSIX2008): Likewise.
7541         (linknamespace-libs-XOPEN2K8): Likewise.
7542         ($(objpfx)symlist-stdlibs): Replace by
7543         $(linknamespace-symlist-stdlibs-tests).  Use
7544         $(linknamespace-libs-$*) as set of libraries.
7545         ($(linknamespace-header-tests)): Update dependencies.  Use
7546         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7547         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7548         * conform/linknamespace.pl: Remove comment about considering
7549         definitions of symbols from irrelevant libraries.
7551 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7553         [BZ #13862]
7554         * elf/dl-tls.c: Include <atomic.h>.
7555         (oom): Remove #ifdef SHARED/#endif.
7556         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7557         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7558         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7559         big enough.
7560         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7561         * nptl/Makefile (tests): Add tst-stack4.
7562         (modules-names): Add tst-stack4mod.
7563         ($(objpfx)tst-stack4): New.
7564         (tst-stack4mod.sos): Likewise.
7565         ($(objpfx)tst-stack4.out): Likewise.
7566         ($(tst-stack4mod.sos)): Likewise.
7567         (clean): Likewise.
7568         * nptl/tst-stack4.c: New file.
7569         * nptl/tst-stack4mod.c: Likewise.
7571 2014-11-27  J. Brown  <jb999@gmx.de>
7573         * sysdeps/x86/bits/string.h: Add recent CPUs.
7575 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7577         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7578         sigblock.
7580         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7581         feof.
7583         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7584         variable.
7586 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7588         * nscd/connections.c: Include libc-internal.h because of macro
7589         usage ignore_value.
7591 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7593         * string/bits/string3.h (__warn_memset_zero_len): Don't
7594         declare for gcc newer than 5.0.
7595         (memset): Don't test for zero-length __LEN for gcc newer than
7596         5.0.
7598 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7600         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7601         size_t for %zu format.
7603         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7604         difference, not %ju.
7606 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7608         * include/libc-internal.h (ignore_value): New macro.
7609         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7610         with ignore_value.
7612         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7613         definition.
7615         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7616         pthread_cleanup_push to void *.
7618         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7619         Undefine.
7621         [BZ #16619]
7622         [BZ #16740]
7623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7624         instead of 1L << 52.
7626         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7627         * libio/bug-rewind2.c (do_test): Likewise.
7629         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7630         * debug/test-strcpy_chk-ifunc.c: Likewise.
7631         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7632         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7633         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7634         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7635         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7636         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7637         * Rules [$(multi-arch) = no] (tests): Do not filter out
7638         $(tests-ifunc).
7639         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7640         * debug/Makefile (tests-ifunc): Remove variable.
7641         (tests): Do not add $(tests-ifunc).
7642         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7643         (tests): Do not add $(tests-ifunc).
7644         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7645         [TEST_IFUNC]: Remove conditionals.
7646         * string/test-string.h (TEST_IFUNC): Remove macro.
7647         [TEST_IFUNC]: Remove conditionals.
7649         * string/test-strchr.c [!WIDE] (L): New macro.
7650         [WIDE] (L): Likewise.
7651         (check1): Use CHAR instead of char.  Use L on string and character
7652         constants.
7654 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7656         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7657         tests.
7658         * sysdeps/powerpc/bits/atomic.h
7659         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7660         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7661         (atomic_exchange_and_add_acq): Likewise.
7662         (atomic_exchange_and_add_rel): Likewise.
7663         * sysdeps/powerpc/powerpc32/bits/atomic.h
7664         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7665         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7666         * sysdeps/powerpc/powerpc64/bits/atomic.h
7667         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7668         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7670 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7672         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7673         Change synchronization of __sched_fifo_min_prio and
7674         __sched_fifo_max_prio.
7675         * nptl/pthread_mutexattr_getprioceiling.c
7676         (pthread_mutexattr_getprioceiling): Likewise.
7677         * nptl/pthread_mutexattr_setprioceiling.c
7678         (pthread_mutexattr_setprioceiling): Likewise.
7679         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7680         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7681         Likewise.
7683 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7685         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7686         void.
7688 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7690         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7691         third argument const.
7693 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7695         fnmatch: work around GCC compiler warning bug with uninit var
7696         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7697         This works around a bug with x86-64 GCC 4.9.2 and earlier
7698         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7699         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7700         used uninitialized in this function [-Wmaybe-uninitialized]".
7702 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7704         * posix/bug-regex31.c (main): Return RES not 0.
7706 2014-11-25  Anton Blanchard <anton@samba.org>
7708         * sysdeps/powerpc/bits/atomic.h
7709         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7711 2014-11-24  Sterling Augustine  <saugustine@google.com>
7713         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7715 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7717         [BZ #17608]
7718         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7720 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7722         [BZ #17633]
7723         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7724         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7725         variable.
7726         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7727         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7729 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7731         * string/strncpy.c (strncpy): Improve performance by using memset.
7733 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7735         * string/strcpy.c (strcpy):
7736         Improve performance by using strlen and memcpy.
7738 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7740         * string/strcoll_l.c (get_next_seq): __always_inline.
7741         * string/strcoll_l.c (do_compare): __always_inline.
7743 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7745         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7746         defined.
7747         * include/mqueue.h: Likewise.
7748         * include/stdlib.h: Likewise.
7750         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7751         (get_null_defines): Adjust.
7752         * sunrpc/Makefile: Adjust comment.
7753         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7754         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7755         (CFLAGS-interp.c): Likewise.
7756         (CFLAGS-ldconfig.c): Likewise.
7757         (CPPFLAGS-.os): Likewise.
7758         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7759         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7760         * extra-modules.mk (extra-modules.mk): Likewise.
7761         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7762         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7763         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7764         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7765         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7766         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7767         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7768         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7769         * iconvdata/Makefile (CPPFLAGS): Likewise.
7770         (cpp-srcs-left): Add libof for all iconvdata routines.
7771         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7772         * include/assert.h: Likewise.
7773         * include/ctype.h: Likewise.
7774         * include/errno.h: Likewise.
7775         * include/libc-symbols.h: Likewise.
7776         * include/math.h: Likewise.
7777         * include/netdb.h: Likewise.
7778         * include/resolv.h: Likewise.
7779         * include/stdio.h: Likewise.
7780         * include/stdlib.h: Likewise.
7781         * include/string.h: Likewise.
7782         * include/sys/stat.h: Likewise.
7783         * include/wctype.h: Likewise.
7784         * intl/l10nflist.c: Likewise.
7785         * libidn/idn-stub.c: Likewise.
7786         * libio/libioP.h: Likewise.
7787         * nptl/libc_multiple_threads.c: Likewise.
7788         * nptl/pthreadP.h: Likewise.
7789         * posix/regex_internal.h: Likewise.
7790         * resolv/res_hconf.c: Likewise.
7791         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7792         * sysdeps/arm/memmove.S: Likewise.
7793         * sysdeps/arm/sysdep.h: Likewise.
7794         * sysdeps/generic/_itoa.h: Likewise.
7795         * sysdeps/generic/symbol-hacks.h: Likewise.
7796         * sysdeps/gnu/errlist.awk: Likewise.
7797         * sysdeps/gnu/errlist.c: Likewise.
7798         * sysdeps/i386/i586/memcpy.S: Likewise.
7799         * sysdeps/i386/i586/memset.S: Likewise.
7800         * sysdeps/i386/i686/memcpy.S: Likewise.
7801         * sysdeps/i386/i686/memmove.S: Likewise.
7802         * sysdeps/i386/i686/mempcpy.S: Likewise.
7803         * sysdeps/i386/i686/memset.S: Likewise.
7804         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7805         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7806         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7807         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7810         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7811         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7812         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7813         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7814         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7815         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7816         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7817         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7818         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7819         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7820         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7821         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7822         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7823         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7824         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7825         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7829         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7830         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7831         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7832         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7833         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7834         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7838         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7839         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7840         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7841         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7842         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7843         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7844         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7846         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7847         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7848         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7849         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7850         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7851         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7852         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7853         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7854         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7855         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7856         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7857         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7858         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7859         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7860         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7861         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7862         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7863         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7864         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7865         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7866         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7867         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7868         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7869         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7870         * sysdeps/posix/closedir.c: Likewise.
7871         * sysdeps/posix/opendir.c: Likewise.
7872         * sysdeps/posix/readdir.c: Likewise.
7873         * sysdeps/posix/rewinddir.c: Likewise.
7874         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7875         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7876         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7877         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7878         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7879         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7880         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7885         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7886         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7887         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7888         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7889         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7890         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7891         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7893         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7894         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7895         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7896         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7897         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7900         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7901         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7909         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7910         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7911         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7912         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7913         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7914         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7915         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7916         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7918         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7919         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7920         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7921         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7922         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7923         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7924         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7925         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7926         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7927         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7929         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7930         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7932         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7933         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7934         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7935         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7937         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7938         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7939         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7940         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7941         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7942         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7943         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7945         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7946         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7947         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7948         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7949         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7950         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7951         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7952         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7953         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7954         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7955         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7956         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7957         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7958         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7959         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7960         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7961         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7962         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7963         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7964         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7965         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7966         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7970         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7972         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7973         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7974         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7975         * sysdeps/unix/alpha/sysdep.S: Likewise.
7976         * sysdeps/unix/alpha/sysdep.h: Likewise.
7977         * sysdeps/unix/make-syscalls.sh: Likewise.
7978         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7980         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7981         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7982         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7983         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7984         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7985         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7986         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7987         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7989         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7991         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7992         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7993         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7994         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7995         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7996         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7997         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7998         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7999         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8000         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8001         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8002         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8003         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8004         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8007         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8008         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8009         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8012         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8016         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8017         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8018         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8019         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8020         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8021         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8022         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8025         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8028         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8029         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8030         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8031         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8033         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8034         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8036         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8037         * sysdeps/x86_64/memcpy.S: Likewise.
8038         * sysdeps/x86_64/memmove.c: Likewise.
8039         * sysdeps/x86_64/memset.S: Likewise.
8040         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8041         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8042         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8043         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8044         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8045         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8046         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8047         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8048         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8049         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8050         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8051         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8052         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8053         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8055         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8056         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8057         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8058         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8059         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8060         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8061         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8062         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8063         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8064         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8065         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8066         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8067         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8068         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8069         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8070         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8071         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8072         * sysdeps/x86_64/strcmp.S: Likewise.
8074         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8076         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8077         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8078         * elf/rtld-Rules: Likewise.
8079         * elf/setup-vdso.h: Likewise.
8080         * include/assert.h: Likewise.
8081         * include/bits/stdlib-float.h: Likewise.
8082         * include/errno.h: Likewise.
8083         * include/sys/stat.h: Likewise.
8084         * include/unistd.h: Likewise.
8085         * sysdeps/aarch64/setjmp.S: Likewise.
8086         * sysdeps/alpha/setjmp.S: Likewise.
8087         * sysdeps/arm/__longjmp.S: Likewise.
8088         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8089         * sysdeps/arm/setjmp.S: Likewise.
8090         * sysdeps/arm/sysdep.h: Likewise.
8091         * sysdeps/generic/_itoa.h: Likewise.
8092         * sysdeps/generic/dl-sysdep.h: Likewise.
8093         * sysdeps/generic/ldsodefs.h: Likewise.
8094         * sysdeps/i386/dl-tls.h: Likewise.
8095         * sysdeps/i386/setjmp.S: Likewise.
8096         * sysdeps/m68k/setjmp.c: Likewise.
8097         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8098         * sysdeps/mach/hurd/opendir.c: Likewise.
8099         * sysdeps/posix/getcwd.c: Likewise.
8100         * sysdeps/posix/opendir.c: Likewise.
8101         * sysdeps/posix/profil.c: Likewise.
8102         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8103         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8104         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8105         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8106         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8107         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8108         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8109         * sysdeps/s390/dl-tls.h: Likewise.
8110         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8111         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8112         * sysdeps/sh/sh3/setjmp.S: Likewise.
8113         * sysdeps/sh/sh4/setjmp.S: Likewise.
8114         * sysdeps/unix/alpha/sysdep.h: Likewise.
8115         * sysdeps/unix/arm/sysdep.S: Likewise.
8116         * sysdeps/unix/i386/sysdep.S: Likewise.
8117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8118         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8119         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8120         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8122         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8123         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8124         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8125         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8126         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8127         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8128         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8132         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8133         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8136         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8138         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8139         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8140         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8141         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8144         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8145         * sysdeps/x86_64/setjmp.S: Likewise.
8147         * include/math.h: Use IS_IN instead of IS_IN_libm.
8148         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8149         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8150         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8151         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8153         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8154         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8155         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8156         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8157         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8158         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8159         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8160         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8161         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8162         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8163         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8164         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8165         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8166         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8167         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8168         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8169         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8170         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8171         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8172         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8173         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8174         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8175         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8176         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8177         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8178         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8179         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8180         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8182         Likewise.
8183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8184         Likewise.
8185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8186         Likewise.
8187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8188         Likewise.
8189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8190         Likewise.
8191         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8192         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8193         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8194         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8195         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8196         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8202         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8203         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8204         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8205         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8206         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8207         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8208         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8209         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8210         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8211         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8214         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8215         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8217         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8219         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8220         * nptl/pthreadP.h: Likewise.
8221         * nptl_db/structs.def: Likewise.
8222         * sysdeps/arm/sysdep.h: Likewise.
8223         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8224         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8225         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8226         * sysdeps/unix/alpha/sysdep.h: Likewise.
8227         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8229         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8230         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8231         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8232         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8234         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8235         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8236         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8237         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8238         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8239         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8240         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8245         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8248         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8249         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8250         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8251         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8252         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8254         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8255         * nptl/pthreadP.h: Likewise.
8256         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8257         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8258         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8259         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8260         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8261         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8262         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8263         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8264         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8265         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8266         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8267         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8269         Likewise.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8271         Likewise.
8272         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8274         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8277         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8278         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8279         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8281         * dlfcn/dladdr.c: Use IS_IN.
8282         * dlfcn/dladdr1.c: Likewise.
8283         * dlfcn/dlclose.c: Likewise.
8284         * dlfcn/dlerror.c: Likewise.
8285         * dlfcn/dlinfo.c: Likewise.
8286         * dlfcn/dlmopen.c: Likewise.
8287         * dlfcn/dlopen.c: Likewise.
8288         * dlfcn/dlsym.c: Likewise.
8289         * dlfcn/dlvsym.c: Likewise.
8291         * include/ifaddrs.h: Use IS_IN.
8292         * inet/check_pf.c: Likewise.
8293         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8294         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8296         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8297         IS_IN_ldconfig.
8298         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8299         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8301         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8302         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8303         IS_IN (libc).
8305         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8307         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8308         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8309         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8310         * include/libc-symbols.h (IS_IN_LIB): New macro.
8311         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8312         * include/netdb.h: Likewise.
8313         * include/stap-probe.h: Remove all uses of IN_LIB.
8315         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8316         instead of IN_MODULE.
8317         * include/libc-symbols.h (IN_MODULE): Define using
8318         MODULE_NAME.
8319         (PASTE_NAME, PASTE_NAME1): New macros.
8320         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8321         of IN_LIB.
8322         (STAP_PROBE_ASM): Likewise.
8324 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8326         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8327         __mach_init in dlopened libc.
8329 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8331         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8332         * sysdeps/arm/preconfigure: Regenerate.
8334 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8336         * nptl/pthread_create.c (__pthread_create_2_1): Set
8337         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8338         when copying values from IATTR into PD.
8340 2014-11-21  Will Newton  <will.newton@linaro.org>
8341             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8343         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8344         Refactor inline-asm.  Also add comment.
8346         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8347         ElfW macro instead of hardcoded Elf64 types.
8348         (la_aarch64_gnu_pltenter): Likewise.
8349         * sysdeps/aarch64/dl-machine.h
8350         (elf_machine_runtime_setup): Use ElfW(Addr).
8352         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8353         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8354         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8355         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8356         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8357         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8358         (R_AARCH64_TLS_DTPMOD): This.
8359         (R_AARCH64_TLS_DTPREL64): Rename to ...
8360         (R_AARCH64_TLS_DTPREL): This.
8361         (R_AARCH64_TLS_TPREL64): Rename to ...
8362         (R_AARCH64_TLS_TPREL): This.
8363         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8364         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8365         R_AARCH64_TLS_TPREL64.
8366         (elf_machine_rela): Likewise.
8368 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8370         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8371         by setting it to 0.  64b atomics are not supported currently.
8373 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8375         [BZ #16469]
8376         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8377         search domain names.
8379 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8381         [BZ #16469]
8382         * NEWS: Update.
8383         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8384         trailing dot.
8385         * posix/tst-getaddrinfo5.c: New.
8386         * posix/Makefile (tests): Add it.
8388 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8390         [BZ #14498]
8391         * NEWS: Fixed.
8392         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8393         after parsing line but before break_if_match.
8394         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8395         if there is a protocol mismatch.
8397 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8399         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8400         because the potential race is on the user-supplied stream.
8402 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8404         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8405         string literal if not passed a buffer.
8406         * manual/job.texi (ctermid): Update reasoning, note deviation
8407         from posix, suggest mtasurace when not passed a buffer, for
8408         future non-preliminary safety notes.
8410 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8412         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8413         of not passing it a buffer.
8414         Reported by Peng Haitao.
8416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8418         * manual/Makefile ($(objpfx)stamp-summary): Require
8419         check-safety.sh to pass.
8420         * manual/check-safety.sh: Wish for verification that every
8421         @deftypefn and @deftypefun is followed by a @safety remark.
8423 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8425         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8427         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8428         PTHREAD_CANCEL_ASYNCHRONOUS.
8429         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8430         send SIGCANCEL.
8432         * nptl/default-sched.h: New file.
8433         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8434         * nptl/pthread_create.c: Include it.
8435         (__pthread_create_2_1): Use collect_default_sched instead of making
8436         Linux syscalls here directly.
8438 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8440         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8441         __pthread_once): Use C11 atomics.
8443 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8445         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8447 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8449         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8450         atomic_thread_fence_acquire, atomic_thread_fence_release,
8451         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8452         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8453         atomic_compare_exchange_weak_relaxed,
8454         atomic_compare_exchange_weak_acquire,
8455         atomic_compare_exchange_weak_release,
8456         atomic_exchange_acquire, atomic_exchange_release,
8457         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8458         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8459         atomic_fetch_and_acquire,
8460         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8462 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8464         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8465         USE_ATOMIC_COMPILER_BUILTINS): Define.
8466         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8467         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8468         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8469         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8470         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8472         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8474         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8476         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8478         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8480         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8482         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8484         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8486         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8488         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8490         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8492         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8494         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8496         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8498         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8500         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8501         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8502         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8504         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8507 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8509         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8510         the sched_priority value here.  It was already checked when the user
8511         called pthread_attr_setschedparam.
8513         * nptl/tst-bad-schedattr.c: New file.
8514         * nptl/Makefile (tests): Add it.
8516 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8517             Florian Weimer  <fweimer@redhat.com>
8518             Joseph Myers  <joseph@codesourcery.com>
8519             Adam Conrad  <adconrad@0c3.net>
8520             Andreas Schwab  <schwab@suse.de>
8521             Brooks  <bmoses@google.com>
8523         [BZ #17625]
8524         * wordexp-test.c (__dso_handle): Add prototype.
8525         (__register_atfork): Likewise.
8526         (__app_register_atfork): New function.
8527         (registered_forks): New global.
8528         (register_fork): New function.
8529         (test_case): Add 3 new tests for WRDE_CMDSUB.
8530         (main): Call __app_register_atfork.
8531         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8532         fork count is non-zero fail the test.
8533         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8534         is set.
8535         (parse_dollars): Remove check for WRDE_NOCMD.
8536         (parse_dquote): Likewise.
8538 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8540         * Makeconfig (built-modules): List non-library modules to be
8541         built.
8542         (module-cppflags): Include libc-modules.h for
8543         everything except shlib-versions.v.i.
8544         (CPPFLAGS): Use it.
8545         (before-compile): Add libc-modules.h.
8546         ($(common-objpfx)libc-modules.h,
8547         $(common-objpfx)libc-modules.stmp): New targets.
8548         (common-generated): Add libc-modules.h and libc-modules.stmp.
8549         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8550         * include/libc-symbols.h: Don't include libc-modules.h.
8551         * include/libc-modules.h: Remove file.
8552         * scripts/gen-libc-modules.awk: New script to generate
8553         libc-modules.h.
8554         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8555         Depend on libc-modules.stmp.
8557         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8559         * Makeconfig (in-module): Get value of libof set for the
8560         translation unit.
8561         (CPPFLAGS): Use $(in-module).
8562         * Makerules: Don't suffix routine names for nonlib.
8563         * include/libc-modules.h: New file.
8564         * include/libc-symbols.h: Include libc-modules.h
8565         (IS_IN): New macro to replace IS_IN_* macros.
8566         * elf/Makefile: Set libof-* for each routine.
8567         * elf/rtld-Rules: Likewise.
8568         * extra-modules.mk: Likewise.
8569         * iconv/Makefile: Likewise.
8570         * iconvdata/Makefile: Likewise.
8571         * locale/Makefile: Likewise.
8572         * malloc/Makefile: Likewise.
8573         * nss/Makefile: Likewise.
8574         * sysdeps/gnu/Makefile: Likewise.
8575         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8576         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8577         * sysdeps/s390/s390-64/Makefile: Likewise.
8578         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8579         CPPFLAGS for nscd instead of nonlib.
8581 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8583         * nptl/createthread.c: New file.
8585         * nptl/createthread.c: Moved ...
8586         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8588         * nptl/createthread.c: Add proper top-line comment.
8589         (do_clone): Folded into ...
8590         (create_thread): ... here.  Take new arguments STOPPED_START and
8591         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8592         increment __nptl_threads, do event-reporting logic, do
8593         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8594         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8595         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8596         just send SIGCANCEL.
8597         * nptl/pthread_create.c: Forward-declare create_thread before
8598         including createthread.c.
8599         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8600         declaration, and new macro START_THREAD_SELF to replace argument.
8601         Remove return statement.
8602         (report_thread_creation): New function.
8603         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8604         synchronization logic, and __nptl_nthreads increment here, around
8605         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8606         PD->parent_cancelhandling here, before create_thread.  When
8607         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8608         __deallocate_stack, and ENOMEM translation here.
8610 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8612         [BZ #17616]
8613         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8614         (mptwo): Rename to __mptwo.
8615         (__inv): Use __mptwo instead of mptwo.
8616         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8617         (mptwo): Rename to __mptwo.
8618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8619         of mpone and __mptwo instead of mptwo.
8620         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8621         instead of mpone.
8622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8623         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8624         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8625         of mpone and __mptwo instead of mptwo.
8626         (__mpranred): Use __mpone instead of mpone.
8627         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8628         variable.
8629         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8630         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8631         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8632         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8633         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8634         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8635         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8636         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8637         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8638         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8639         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8640         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8641         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8642         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8643         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8644         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8645         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8646         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8647         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8649 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8651         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8652         replace BSD Handler xref with BSD Signal Handling.
8654 2014-11-17  Richard Henderson  <rth@redhat.com>
8656         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8657         (_FP_PACK_RAW_2): Remove.
8658         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8659         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8660         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8661         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8662         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8663         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8664         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8665         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8666         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8667         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8668         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8669         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8670         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8671         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8672         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8673         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8675 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8677         * signal/signal.h [__USE_MISC]
8678         (struct sigvec): Remove type.
8679         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8680         (sigvec): Remove declaration.
8681         * sysdeps/posix/sigvec.c: Moved ...
8682         * signal/sigvec.c: ... here, replacing old file.
8683         (struct sigvec): New type, copied from old signal.h definition.
8684         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8685         (__sigvec): Convert definition to prototype.
8686         (sigvec): Replace weak_alias with compat_symbol.
8687         * signal/Versions (libc: GLIBC_2.21): New version set.
8688         * include/signal.h: Remove __sigvec declaration.
8689         * sysdeps/unix/bsd/sigvec.c: Remove file.
8690         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8691         * manual/signal.texi (BSD Handler): Remove subsection.
8692         Move siginterrupt up to ...
8693         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8694         (Blocking in BSD): Fold subsection into its parent.
8695         * NEWS: Mention sigvec removal.
8697 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8699         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8700         (DLA_FMS): Make definition conditional only on [__FMA4__].
8701         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8702         definition.
8704         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8705         Make definition conditional only on [PROF].
8706         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8707         definition.
8708         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8709         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8711         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8712         !__GNUC__].
8713         * include/signal.h (__sigpause): Move declaration above call to
8714         libc_hidden_proto.
8715         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8716         variable.
8717         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8718         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8720 2014-11-14  David S. Miller  <davem@davemloft.net>
8722         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8723         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8725 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8727         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8728         * configure: Regenerated.
8729         * manual/install.texi (Tools for Compilation): Document a
8730         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8731         compiler verified to work.
8732         * INSTALL: Regenerated.
8734         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8735         redeclare with asm name.
8736         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8737         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8738         including <string.h>.
8739         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8741         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8743         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8744         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8745         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8747 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8749         * stdlib/strtol.c (__strtol): Use prototype definition.
8751         [BZ #17594]
8752         * stdlib/strtol.c (SYM__): New macro.
8753         (SYM__1): Likewise.
8754         (__strtol): Likewise.
8755         (strtol): Rename to __strtol and define as weak alias of
8756         __strtol.  Use libc_hidden_weak.
8758 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8760         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8761         Use numbered labels in inline assembly.
8763 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8765         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8766         Add setjmp LIBC_PROBE.
8767         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8768         Likewise.
8769         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8770         Add longjmp, longjmp_target LIBC_PROBE.
8771         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8772         Likewise.
8774 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8776         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8777         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8778         to get rid of unused variable warning.
8780 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8782         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8783         Check for unwind_backtrace ==  NULL only in SHARED case.
8784         (__backchain_backtrace): Compile only in SHARED case.
8785         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8786         Likewise.
8787         (__backchain_backtrace): Declare as static.
8789 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8791         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8792         (__libc_multiple_threads_ptr): Variable moved ...
8793         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8795 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8797         * conform/GlibcConform.pm: New file.
8798         * conform/conformtest.pl: Use GlibcConform module.
8799         * conform/linknamespace.pl: New file.
8800         * conform/list-header-symbols.pl: Likewise.
8801         * conform/Makefile (linknamespace-symlists-base): New variable.
8802         (linknamespace-symlists-tests): Likewise.
8803         (linknamespace-header-base): Likewise.
8804         (linknamespace-header-tests): Likewise.
8805         (tests-special): Add new tests.
8806         ($(linknamespace-symlists-tests)): New rule.
8807         (linknamespace-libs): New variable.
8808         ($(objpfx)symlist-stdlibs): New rule.
8809         ($(linknamespace-header-tests)): Likewise.
8810         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8811         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8812         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8813         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8814         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8815         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8816         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8817         (test-xfail-ISO/math.h/linknamespace): Likewise.
8818         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8819         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8820         (test-xfail-ISO/time.h/linknamespace): Likewise.
8821         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8822         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8823         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8824         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8825         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8826         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8827         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8828         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8829         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8830         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8831         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8832         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8833         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8834         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8835         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8836         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8837         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8838         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8839         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8840         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8841         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8842         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8843         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8844         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8845         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8846         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8847         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8848         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8849         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8850         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8851         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8852         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8853         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8854         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8855         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8856         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8857         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8858         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8859         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8860         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8861         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8862         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8863         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8864         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8865         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8866         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8867         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8868         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8869         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8870         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8871         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8872         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8873         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8874         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8875         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8876         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8877         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8878         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8879         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8880         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8881         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8882         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8883         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8884         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8885         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8886         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8887         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8888         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8889         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8890         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8891         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8892         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8893         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8894         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8895         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8896         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8897         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8898         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8899         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8900         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8901         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8902         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8903         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8904         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8905         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8906         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8907         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8908         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8909         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8910         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8911         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8912         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8913         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8914         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8915         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8916         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8917         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8918         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8919         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8920         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8921         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8922         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8923         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8924         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8925         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8926         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8927         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8928         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8929         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8930         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8931         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8932         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8933         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8934         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8935         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8936         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8937         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8938         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8939         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8940         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8941         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8942         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8943         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8944         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8945         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8946         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8947         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8948         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8949         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8950         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8951         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8952         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8953         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8954         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8955         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8956         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8957         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8958         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8959         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8960         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8961         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8962         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8963         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8964         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8965         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8966         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8967         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8968         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8969         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8970         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8972         [BZ #17589]
8973         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8974         of fgets_unlocked.
8976         [BZ #17585]
8977         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8978         (memmem): Rename to __memmem and define as weak alias of
8979         __memmem.  Use libc_hidden_weak.
8980         (__memmem): Use libc_hidden_def.
8981         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8982         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8983         memmem.
8985         [BZ #17582]
8986         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8987         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8988         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8989         and define as weak alias of __fgets_unlocked.  Use
8990         libc_hidden_weak.
8991         (__fgets_unlocked): Use libc_hidden_def.
8992         * include/stdio.h (__fgets_unlocked): Declare.  Use
8993         libc_hidden_proto.
8994         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8995         __fgets_unlocked instead of fgets_unlocked.
8996         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8997         (GET_NPROCS_CONF_PARSER): Likewise.
8998         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8999         (GET_NPROCS_CONF_PARSER): Likewise.
9001         [BZ #17574]
9002         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9003         weak alias of __wmemset.  Use libc_hidden_weak.
9004         (__wmemset): Use libc_hidden_def.
9005         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9006         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9007         of wmemset.
9009         [BZ #17573]
9010         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9011         with asm name __mempcpy.
9012         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9014         [BZ #17572]
9015         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9016         and define as weak alias of __rawmemchr.
9017         (__rawmemchr): Do not define as strong alias of rawmemchr.
9019         [BZ #17571]
9020         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9021         alias of __qsort_r.
9022         (qsort): Call __qsort_r instead of qsort_r.
9023         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9024         (__qsort_r): Declare.  Call libc_hidden_proto.
9025         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9026         instead of qsort_r.
9027         * nscd/gai.c (__qsort_r): Define to qsort_r.
9028         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9029         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9030         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9032         [BZ #17570]
9033         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9034         define as weak alias of __malloc_info.
9036         [BZ #17584]
9037         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9038         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9039         (__rewinddir): Use libc_hidden_def.
9040         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9041         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9042         (__rewinddir): Use libc_hidden_def.
9043         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9044         weak alias of __rewinddir.  Don't use libc_hidden_def.
9045         (__rewinddir): Use libc_hidden_def.
9046         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9047         (__rewinddir): Use libc_hidden_proto.
9048         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9049         rewinddir.
9050         (__getcwd): Use __rewinddir instead of rewinddir.
9052         [BZ #17583]
9053         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9054         alias of __fileno.  Use libc_hidden_weak.
9055         (__fileno): Use libc_hidden_def.
9056         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9057         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9058         alias of __ftello.
9059         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9060         __ftello.
9061         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9062         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9063         libc_hidden_def.
9064         (fread_unlocked): Don't use libc_hidden_ver.
9065         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9066         and define as weak alias of __fread_unlocked.  Don't use
9067         libc_hidden_def.
9068         (__fread_unlocked): Use libc_hidden_def.
9069         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9070         (ftello): Don't use libc_hidden_proto.
9071         (__ftello): Declare.  Use libc_hidden_proto.
9072         (fread_unlocked): Don't use libc_hidden_proto.
9073         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9074         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9075         and __ftello instead of fileno, fread_unlocked and ftello.
9077 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9079         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9080         GOT12.
9081         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9082         Likewise.
9083         (_dl_start_user): Likewise.
9084         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9086 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9087             Siddhesh Poyarekar  <siddhesh@redhat.com>
9089         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9090         Move argv and envp down instead of moving argc up.
9091         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9093 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9095         [BZ #17506]
9096         * test-skeleton.c (main): Return successful if one of
9097         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9098         * string/tst-strcoll-overflow.c: Define expected status.
9100 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9102         [BZ #17475]
9103         * locale/iso-639.def: Define Bhili and Tulu language codes.
9105 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9107         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9109 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9111         [BZ #17555]
9112         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9114 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9116         * configure.ac: Updated check of minimal required version to
9117         2.22.
9118         * manual/install.texi (Tools for Compilation): Updated version
9119         number.
9120         * configure: Regenerated.
9121         * INSTALL: Likewise.
9123 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9125         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9126         __tls_get_addr.
9128 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9130         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9131         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9132         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9133         libc_hidden_weak.
9134         (waitpid): Define as alias of __waitpid.
9135         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9136         __waitpid.
9137         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9138         libc_hidden_weak.
9139         (waitpid): Define as alias of __waitpid.
9140         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9141         __libc_waitpid alias.
9142         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9143         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9144         Likewise.
9145         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9146         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9147         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9148         alias.
9149         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9150         __waitpid.
9151         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9152         libc_hidden_weak.
9153         (waitpid): Define as alias of __waitpid.
9155 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9157         * manual/llio.texi: Add comment that write safety has been
9158         fixed in Linux.
9160         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9161         (localplt-build-dso): Add elf/ld.so.
9162         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9163         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9164         and free for ld.so.
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9166         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9168         Likewise.
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9170         Likewise.
9171         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9172         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9173         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9174         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9175         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9176         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9177         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9178         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9179         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9180         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9181         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9183 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9185         [BZ #14132]
9186         * include/libc-symbols.h (INTUSE): Remove macro.
9187         (INTDEF): Likewise.
9188         (INTVARDEF): Likewise.
9189         (_INTVARDEF): Likewise.
9190         (INTDEF2): Likewise.
9191         (INTVARDEF2): Likewise.
9192         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9193         rtld_hidden_def instead of INTVARDEF.
9194         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9195         (_dl_starting_up_internal): Remove declaration.
9196         (_dl_starting_up): Use rtld_hidden_proto.
9197         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9198         declaration.
9199         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9200         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9201         _dl_starting_up.
9202         * elf/dl-writev.h (_dl_writev): Likewise.
9203         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9204         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9205         _dl_starting_up_internal.
9207 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9209         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9210         test-skeleton.c.
9212 2014-11-05  Will Newton  <will.newton@linaro.org>
9214         * benchtests/Makefile: (bench-malloc): Add malloc thread
9215         scalability benchmark.
9216         * benchtests/bench-malloc-threads.c: New file.
9218 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9220         * sysdeps/aarch64/strchrnul.S: New file.
9222 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9224         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9225         definition.
9226         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9227         Likwise.
9228         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9229         Likewise.
9230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9231         Likewise.
9232         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9233         Likewise.
9234         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9235         Likewise.
9237 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9239         * catgets/test-gencat.c: Use test-skeleton.c.
9240         * catgets/tst-catgets.c: Likewise.
9241         * csu/tst-empty.c: Likewise.
9242         * elf/tst-audit2.c: Likewise.
9243         * elf/tst-global1.c: Likewise.
9244         * elf/tst-pathopt.c: Likewise.
9245         * elf/tst-piemod1.c: Likewise.
9246         * elf/tst-tls10.c: Likewise.
9247         * elf/tst-tls11.c: Likewise.
9248         * elf/tst-tls12.c: Likewise.
9249         * gnulib/tst-gcc.c: Likewise.
9250         * iconvdata/tst-e2big.c: Likewise.
9251         * iconvdata/tst-loading.c: Likewise.
9252         * iconv/tst-iconv1.c: Likewise.
9253         * iconv/tst-iconv2.c: Likewise.
9254         * inet/test-inet6_opt.c: Likewise.
9255         * inet/tst-gethnm.c: Likewise.
9256         * inet/tst-network.c: Likewise.
9257         * inet/tst-ntoa.c: Likewise.
9258         * intl/tst-codeset.c: Likewise.
9259         * intl/tst-gettext2.c: Likewise.
9260         * intl/tst-gettext3.c: Likewise.
9261         * intl/tst-ngettext.c: Likewise.
9262         * intl/tst-translit.c: Likewise.
9263         * io/test-stat.c: Likewise.
9264         * libio/test-fmemopen.c: Likewise.
9265         * libio/tst-freopen.c: Likewise.
9266         * libio/tst-sscanf.c: Likewise.
9267         * libio/tst-ungetwc1.c: Likewise.
9268         * libio/tst-ungetwc2.c: Likewise.
9269         * libio/tst-widetext.c: Likewise.
9270         * localedata/tst-ctype.c: Likewise.
9271         * localedata/tst-digits.c: Likewise.
9272         * localedata/tst-leaks.c: Likewise.
9273         * localedata/tst-mbswcs1.c: Likewise.
9274         * localedata/tst-mbswcs2.c: Likewise.
9275         * localedata/tst-mbswcs3.c: Likewise.
9276         * localedata/tst-mbswcs4.c: Likewise.
9277         * localedata/tst-mbswcs5.c: Likewise.
9278         * localedata/tst-setlocale.c: Likewise.
9279         * localedata/tst-trans.c: Likewise.
9280         * localedata/tst-wctype.c: Likewise.
9281         * localedata/tst-xlocale1.c: Likewise.
9282         * login/tst-grantpt.c: Likewise.
9283         * malloc/tst-calloc.c: Likewise.
9284         * malloc/tst-malloc.c: Likewise.
9285         * malloc/tst-mallocstate.c: Likewise.
9286         * malloc/tst-mcheck.c: Likewise.
9287         * malloc/tst-mtrace.c: Likewise.
9288         * malloc/tst-obstack.c: Likewise.
9289         * math/atest-exp2.c: Likewise.
9290         * math/atest-exp.c: Likewise.
9291         * math/atest-sincos.c: Likewise.
9292         * math/test-matherr.c: Likewise.
9293         * math/test-misc.c: Likewise.
9294         * math/test-powl.c: Likewise.
9295         * math/tst-definitions.c: Likewise.
9296         * misc/tst-dirname.c: Likewise.
9297         * misc/tst-efgcvt.c: Likewise.
9298         * misc/tst-fdset.c: Likewise.
9299         * misc/tst-hsearch.c: Likewise.
9300         * misc/tst-mntent2.c: Likewise.
9301         * nptl/tst-sem7.c: Likewise.
9302         * nptl/tst-sem8.c: Likewise.
9303         * nptl/tst-sem9.c: Likewise.
9304         * nss/test-netdb.c: Likewise.
9305         * posix/tst-fnmatch.c: Likewise.
9306         * posix/tst-getlogin.c: Likewise.
9307         * posix/tst-gnuglob.c: Likewise.
9308         * posix/tst-mmap.c: Likewise.
9309         * pwd/tst-getpw.c: Likewise.
9310         * resolv/tst-inet_ntop.c: Likewise.
9311         * rt/tst-timer.c: Likewise.
9312         * stdio-common/test-fseek.c: Likewise.
9313         * stdio-common/test-popen.c: Likewise.
9314         * stdio-common/test-vfprintf.c: Likewise.
9315         * stdio-common/tst-cookie.c: Likewise.
9316         * stdio-common/tst-fileno.c: Likewise.
9317         * stdio-common/tst-gets.c: Likewise.
9318         * stdio-common/tst-obprintf.c: Likewise.
9319         * stdio-common/tst-perror.c: Likewise.
9320         * stdio-common/tst-sprintf2.c: Likewise.
9321         * stdio-common/tst-sprintf3.c: Likewise.
9322         * stdio-common/tst-sprintf.c: Likewise.
9323         * stdio-common/tst-swprintf.c: Likewise.
9324         * stdio-common/tst-tmpnam.c: Likewise.
9325         * stdio-common/tst-unbputc.c: Likewise.
9326         * stdio-common/tst-wc-printf.c: Likewise.
9327         * stdlib/tst-environ.c: Likewise.
9328         * stdlib/tst-fmtmsg.c: Likewise.
9329         * stdlib/tst-limits.c: Likewise.
9330         * stdlib/tst-rand48-2.c: Likewise.
9331         * stdlib/tst-rand48.c: Likewise.
9332         * stdlib/tst-random2.c: Likewise.
9333         * stdlib/tst-random.c: Likewise.
9334         * stdlib/tst-strtol.c: Likewise.
9335         * stdlib/tst-strtoll.c: Likewise.
9336         * stdlib/tst-tls-atexit.c: Likewise.
9337         * stdlib/tst-xpg-basename.c: Likewise.
9338         * string/test-ffs.c: Likewise.
9339         * string/tst-bswap.c: Likewise.
9340         * string/tst-inlcall.c: Likewise.
9341         * string/tst-strtok.c: Likewise.
9342         * string/tst-strxfrm.c: Likewise.
9343         * sysdeps/x86_64/tst-audit10.c: Likewise.
9344         * sysdeps/x86_64/tst-audit3.c: Likewise.
9345         * sysdeps/x86_64/tst-audit4.c: Likewise.
9346         * sysdeps/x86_64/tst-audit5.c: Likewise.
9347         * time/tst-ftime_l.c: Likewise.
9348         * time/tst-getdate.c: Likewise.
9349         * time/tst-mktime3.c: Likewise.
9350         * time/tst-mktime.c: Likewise.
9351         * time/tst-posixtz.c: Likewise.
9352         * time/tst-strptime2.c: Likewise.
9353         * time/tst-strptime3.c: Likewise.
9354         * wcsmbs/tst-btowc.c: Likewise.
9355         * wcsmbs/tst-mbrtowc.c: Likewise.
9356         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9357         * wcsmbs/tst-wchar-h.c: Likewise.
9358         * wcsmbs/tst-wcpncpy.c: Likewise.
9359         * wcsmbs/tst-wcrtomb.c: Likewise.
9360         * wcsmbs/tst-wcsnlen.c: Likewise.
9361         * wcsmbs/tst-wcstof.c: Likewise.
9363 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9365         [BZ #14132]
9366         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9367         INTDEF.
9368         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9369         declaration.
9370         (_dl_mcount): Use rtld_hidden_proto.
9371         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9372         _dl_mcount.
9373         * elf/rtld.c (_rtld_global_ro): Likewise.
9375         [BZ #14132]
9376         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9377         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9378         of _dl_init_internal.
9379         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9380         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9381         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9382         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9383         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9384         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9385         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9386         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9387         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9388         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9389         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9390         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9391         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9392         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9393         * sysdeps/tile/dl-start.S (_start): Likewise.
9394         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9395         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9397         [BZ #14132]
9398         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9399         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9400         (rtld_progname): Make macro definition unconditional.
9401         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9402         INTDEF.
9403         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9404         (dl_main): Likewise.
9405         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9406         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9407         instead of _dl_argv_internal.
9408         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9409         __GI__dl_argv instead of INTUSE(_dl_argv).
9410         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9411         __GI__dl_argv instead of _dl_argv_internal.
9413         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9414         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9415         macro.
9416         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9417         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9418         New macro.
9419         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9420         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9421         macro.
9422         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9423         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9425 2014-11-04  Andreas Schwab  <schwab@suse.de>
9427         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9429 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9431         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9432         mtvsrd instruction in binary form.
9434 2014-11-03  Andreas Schwab  <schwab@suse.de>
9436         [BZ #17522]
9437         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9438         for less than MB_LEN_MAX use a local buffer of that size.
9439         * libio/tst-fputws.c: New file.
9440         * libio/Makefile (tests): Add tst-fputws.
9442 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9444         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9445         the size of the fpu_fr.fpu_dregs[] array.
9447 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9449         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9450         (__nanosleep): Do not define as alias.
9451         (nanosleep): Define as alias of __nanosleep.
9452         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9453         __libc_nanosleep name.
9455 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9457         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9458         install.texi in comment.
9460 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9462         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9463         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9464         ... add here and use lwsync or sync ...
9465         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9466         ... and add here using lwsync.
9468 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9470         * elf/dl-machine-reject-phdr.h: New file.
9471         * elf/dl-load.c: #include that.
9472         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9473         if that returned true.
9475 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9477         [BZ #17496]
9478         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9479         gen-as-const-headers chunk.  Add a big scare comment after the last
9480         safe place to touch before-compile.
9482 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9484         * manual/install.texi (Tools for Compilation): Update autoconf
9485         version requirements.
9486         * INSTALL: Regenerated.
9488         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9489         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9490         (__libc_pselect): Likewise.
9492         [BZ #14138]
9493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9498 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9500         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9501         correct barrier instruction.
9502         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9503         Likewise.
9504         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9505         Likewise.
9507 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9509         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9510         after defining inlines.  Instead, just use parens to defeat macro
9511         expansion of __isctype in its declaration.
9513 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9515         * include/sys/uio.h (__libc_readv): Remove declaration.
9516         (__libc_writev): Likewise.
9517         * misc/readv.c (__libc_readv): Rename to __readv.
9518         (__readv): Do not define as alias.
9519         (readv): Define as alias of __readv.
9520         * misc/writev.c (__libc_writev): Rename to __writev.
9521         (__writev): Do not define as alias.
9522         (writev): Define as alias of __writev.
9523         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9524         (__readv): Do not define as alias.
9525         (readv): Define unconditionally as alias of __readv.
9526         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9527         (__writev): Do not define as alias.
9528         (writev): Define unconditionally as alias of __writev.
9529         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9530         name.
9531         (writev): Do not define __libc_writev name.
9533 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9535         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9536         (convert_charseq): New function, broken out of ...
9537         (use_from_charmap): ... here.  Call it.
9538         (use_to_charmap): Use convert_charseq and free instead of duplicating
9539         its code with a variable-length stack struct.
9541 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9543         * include/fcntl.h (__libc_creat): Remove declaration.
9544         * io/creat.c (__libc_creat): Rename to creat.
9545         (creat): Do not define as alias.
9546         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9547         of creat instead of __libc_creat.
9548         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9549         to creat.
9550         (creat): Do not define as alias.
9551         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9552         __libc_creat.
9553         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9554         __libc_creat name.
9555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9556         Likewise.
9558 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9560         * manual/llio.texi: Add comments discussing why write() may be
9561         considered MT-unsafe on Linux.
9563 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9565         * dl-load.c (local_strdup): Remove.
9566         (expand_dynamic_string_token): Use __strdup.
9567         (decompose_rpath): Likewise.
9568         (_dl_map_object): Likewise.
9570 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9572         [BZ #14132]
9573         * sysdeps/generic/unwind-dw2-fde.c
9574         (__register_frame_info_bases_internal): Do not declare.
9575         (__register_frame_info_table_bases_internal): Likewise.
9576         (__deregister_frame_info_bases_internal): Likewise.
9577         (__register_frame_info_bases): Declare and use hidden_proto before
9578         definition.  Use hidden_def instead of INTDEF.
9579         (__register_frame_info_table_bases): Likewise.
9580         (__deregister_frame_info_bases): Likewise.
9581         (__register_frame_info): Do not use INTUSE.
9582         (__register_frame): Likewise.
9583         (__register_frame_info_table): Likewise.
9584         (__register_frame_table): Likewise.
9585         (__deregister_frame_info): Likewise.
9586         (__deregister_frame): Likewise.
9588 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9590         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9591         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9592         not undefine.
9593         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9594         Likewise.
9595         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9596         Likewise.
9598 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9600         [BZ #14138]
9601         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9602         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9603         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9604         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9605         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9606         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9607         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9608         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9609         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9610         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9611         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9612         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9613         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9614         syscall.
9615         (setfsuid): Likewise.
9616         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9617         (setfsuid): Likewise.
9618         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9619         (setfsuid): Likewise.
9620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9621         Likewise.
9622         (setfsuid): Likewise.
9623         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9624         (setfsuid): Likewise.
9625         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9626         Likewise.
9627         (setfsuid): Likewise.
9629 2014-10-27  Andreas Schwab  <schwab@suse.de>
9631         [BZ #17501]
9632         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9633         check for Slow_SSE4_2 feature bit.
9634         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9635         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9636         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9637         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9639 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9641         * configure.ac: Validate compiler version with a empirical test of
9642         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9643         $CC -v output.
9644         * configure: Regenerated.
9646         * inet/htons.c (htons): Prototypify.
9647         * inet/htonl.c (htonl): Likewise.
9649 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9651         * string/strncat.c (strncat): Improve performance by using strlen.
9653 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9655         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9657 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9659         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9660         Call libc_fetestexcept_aarch64.
9662 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9664         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9665         Call libc_feholdexcept_aarch64.
9667 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9669         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9670         Call get_rounding_mode.
9672 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9674         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9675         Simplify logic.
9677 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9679         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9680         Simplify logic.
9682 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9684         [BZ #14138]
9685         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9686         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9687         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9688         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9689         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9690         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9691         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9692         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9693         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9694         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9695         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9696         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9697         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9698         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9699         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9700         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9701         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9702         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9703         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9704         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9705         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9706         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9707         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9708         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9709         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9710         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9711         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9712         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9713         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9714         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9715         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9716         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9717         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9718         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9719         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9720         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9721         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9722         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9723         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9724         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9725         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9726         syscall.
9727         (geteuid): Likewise.
9728         (getgid): Likewise.
9729         (getuid): Likewise.
9730         (getresgid): Likewise.
9731         (getresuid): Likewise.
9732         (getgroups): Likewise.
9733         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9734         (geteuid): Likewise.
9735         (getgid): Likewise.
9736         (getuid): Likewise.
9737         (getresgid): Likewise.
9738         (getresuid): Likewise.
9739         (getgroups): Likewise.
9740         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9741         (geteuid): Likewise.
9742         (getgid): Likewise.
9743         (getuid): Likewise.
9744         (getresgid): Likewise.
9745         (getresuid): Likewise.
9746         (getgroups): Likewise.
9747         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9748         Likewise.
9749         (geteuid): Likewise.
9750         (getgid): Likewise.
9751         (getuid): Likewise.
9752         (getresgid): Likewise.
9753         (getresuid): Likewise.
9754         (getgroups): Likewise.
9755         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9756         (geteuid): Likewise.
9757         (getgid): Likewise.
9758         (getuid): Likewise.
9759         (getresgid): Likewise.
9760         (getresuid): Likewise.
9761         (getgroups): Likewise.
9762         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9763         Likewise.
9764         (geteuid): Likewise.
9765         (getgid): Likewise.
9766         (getuid): Likewise.
9767         (getgroups): Likewise.
9769         [BZ #14138]
9770         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9771         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9772         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9773         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9774         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9775         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9776         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9777         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9778         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9779         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9782         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9783         __chown.
9784         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9785         (lchown): Likewise.
9786         (fchown): Likewise.
9787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9788         Likewise.
9789         (lchown): Likewise.
9790         (fchown): Likewise.
9791         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9792         (lchown): Likewise.
9793         (fchown): Likewise.
9794         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9795         Likewise.
9796         (lchown): Likewise.
9797         (fchown): Likewise.
9799 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9801         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9802         Simplify logic.
9804 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9806         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9807         Cleanup logic.
9809 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9811         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9812         Remove unused include.
9814 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9816         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9817         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9818         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9819         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9821 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9822             Helge Deller <deller@gmx.de>
9824         [BZ #17508]
9825         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9826         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9827         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9829 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #14132]
9832         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9833         Remove macro definition.
9834         (__ashrdi3_v_glibc20): Likewise.
9835         (__lshrdi3_v_glibc20): Likewise.
9836         (__cmpdi2_v_glibc20): Likewise.
9837         (__ucmpdi2_v_glibc20): Likewise.
9838         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9839         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9840         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9841         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9842         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9843         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9845 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9847         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9848         old GNU extension [0] syntax.
9849         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9850         alloca rather than an array member with variable length.
9851         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9852         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9853         (parse_opt): ... here.  Likewise use alloca there.
9854         Validate the -i argument before checking for rootness.
9855         (send_shutdown): New function, broken out of ...
9856         (parse_opt): ... here.
9858 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9860         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9861         macro to get at the _rt_local_ro field.
9862         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9863         ([PIC] case) or _dl_hwcap ([!PIC] case).
9864         * sysdeps/arm/setjmp.S: Likewise.
9866         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9867         * sysdeps/arm/configure.ac: New check to define it.
9868         * sysdeps/arm/configure: Regenerated.
9869         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9870         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9871         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9872         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9873         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9874         Use move/movt pair instead of a load.
9875         (LDST_GLOBAL): Macro removed.
9876         (LDR_GLOBAL): New macro replaces it.
9877         (LDR_HIDDEN): New macro.
9878         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9879         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9881         * setjmp/tst-setjmp-static.c: New file.
9882         * setjmp/Makefile (tests): Add it.
9883         (tests-static): New variable.
9885 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9887         [BZ #17485]
9888         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9890 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9892         [BZ #14132]
9893         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9895 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9897         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9899 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9901         * io/fts.c (dirent_not_directory): New function.
9902         (fts_build): Call it.
9904 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9906         * nptl/version.c (__nptl_main): Use normal __write rather than
9907         INTERNAL_SYSCALL.
9908         (banner): Update copyright years.
9910         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9911         gettimeofday.
9912         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9913         * nptl/pthread_cond_timedwait.c: Likewise.
9914         * nptl/pthread_mutex_timedlock.c: Likewise.
9915         * nptl/sem_timedwait.c: Likewise.
9917         * sysdeps/nptl/bits/libc-lock.h
9918         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9919         (__libc_lock_init_recursive): Return void, not 0.
9920         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9921         (__libc_rwlock_init): Likewise.
9922         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9924 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9926         [BZ #15215]
9927         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9928         (__pthread_once_slow): ... here.
9929         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9930         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9932 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9934         [BZ #15215]
9935         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9936         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9937         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9938         * nptl/pthread_once.c (__pthread_once): Likewise.
9939         Update comments.
9941 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9943         [BZ #14138]
9944         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9945         name.
9946         (writev): Use __libc_writev as strong name.
9947         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9948         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9950 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9952         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9954         * sysdeps/i386/nptl/tls.h
9955         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9956         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9957         New macros.
9958         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9959         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9960         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9961         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9962         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9963         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9965         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9966         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9967         on [__NR_futex].
9968         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9969         broken out of ...
9970         (__pthread_mutex_init): ... here.  Call it.
9971         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9972         Conditionalize PI cases on [__NR_futex].
9973         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9974         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9975         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9977         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9978         conditional on [SIGSETXID].
9979         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9980         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9981         is defined.  Likewise for SIGSETXID.
9982         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9983         Conditionalize definitions on [SIGSETXID].
9984         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9985         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9986         unblocking on [SIGCANCEL].
9988         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9989         [__NR_set_robust_list].
9991 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9993         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9994         (do_compare): Likewise.
9996 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9998         [BZ #15884]
9999         * string/strcoll_l.c: Don't include stdio.h.
10000         (coll_seq): Remove members idxarr and rulearr.
10001         (get_next_seq_cached): Remove function.
10002         (get_next_seq): Likewise.
10003         (get_next_seq_nocache): Rename to get_next_seq.
10004         (do_compare): Remove function.
10005         (do_compare_nocache): Rename to do_compare.
10006         (STRCOLL): Remove weight and rules cache.
10008 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10010         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10011         * sysdeps/arm/sfp-machine.h: ... to here.
10012         * sysdeps/arm/Implies: Remove arm/soft-fp.
10014 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10016         * conform/data/sys/utsname.h-data (*_t): Allow.
10017         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10018         [POSIX] (WEXITED): Do not expect constant.
10019         [POSIX] (WSTOPPED): Likewise.
10020         [POSIX] (WNOHANG): Likewise.
10021         [POSIX] (WNOWAIT): Likewise.
10022         [POSIX] (siginfo_t): Do not expect type or elements.
10023         [POSIX] (pid_t): Do not expect type.
10024         [POSIX] (signal.h): Do not allow header.
10025         [POSIX] (sys/resource.h): Likewise.
10026         [POSIX] (si_*): Do not allow pattern.
10027         [POSIX] (W*): Likewise.
10028         [POSIX] (P_*): Likewise.
10029         [POSIX] (BUS_*): Likewise.
10030         [POSIX] (CLD_*): Likewise.
10031         [POSIX] (FPE_*): Likewise.
10032         [POSIX] (ILL_*): Likewise.
10033         [POSIX] (POLL_*): Likewise.
10034         [POSIX] (SEGV_*): Likewise.
10035         [POSIX] (SI_*): Likewise.
10036         [POSIX] (TRAP_*): Likewise.
10037         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10038         variable.
10040 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10042         [BZ #12926]
10043         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10044         infinite loop when __recvmsg returns 0.
10046 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10048         * CANCEL-FCT-WAIVE: Remove file.
10049         * CANCEL-FILE-WAIVE: Likewise.
10051         [BZ #14132]
10052         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10053         instead of INTVARDEF.
10054         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10055         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10056         rtld_hidden_data_def instead of INTVARDEF.
10057         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10058         * elf/dl-deps.c (expand_dst): Likewise.
10059         * elf/dl-load.c (_dl_dst_count): Likewise.
10060         (_dl_dst_substitute): Likewise.
10061         (decompose_rpath): Likewise.
10062         (_dl_init_paths): Likewise.
10063         (open_path): Likewise.
10064         (_dl_map_object): Likewise.
10065         * elf/rtld.c (dl_main): Likewise.
10066         (process_dl_audit): Likewise.
10067         (process_envvars): Likewise.
10068         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10069         Remove declaration.
10070         (__libc_enable_secure): Use rtld_hidden_proto.
10072 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10074         * elf/dl-load.c
10075         (add_path): New function broken out of _dl_rtld_di_serinfo.
10076         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10078 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10080         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10081         parentheses around macro arguments.
10082         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10085         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10093         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10094         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10097         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10098         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10099         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10111         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10112         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10116         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10117         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10118         Likewise.
10119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10121         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10126         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10127         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10129         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10130         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10131         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10140         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10141         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10143         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10144         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10145         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10146         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10147         (_FP_FRAC_SRS_1): Likewise.
10148         (_FP_FRAC_CLZ_1): Likewise.
10149         (_FP_MUL_MEAT_1_imm): Likewise.
10150         (_FP_MUL_MEAT_1_wide): Likewise.
10151         (_FP_MUL_MEAT_1_hard): Likewise.
10152         (_FP_SQRT_MEAT_1): Likewise.
10153         (_FP_FRAC_ASSEMBLE_1): Likewise.
10154         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10155         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10156         (__FP_CLZ_2): Likewise.
10157         (_FP_MUL_MEAT_2_wide): Likewise.
10158         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10159         (_FP_MUL_MEAT_2_gmp): Likewise.
10160         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10161         (_FP_SQRT_MEAT_2): Likewise.
10162         (_FP_FRAC_ASSEMBLE_2): Likewise.
10163         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10164         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10165         (_FP_FRAC_CLZ_4): Likewise.
10166         (_FP_MUL_MEAT_4_wide): Likewise.
10167         (_FP_MUL_MEAT_4_gmp): Likewise.
10168         (_FP_SQRT_MEAT_4): Likewise.
10169         (_FP_FRAC_ASSEMBLE_4): Likewise.
10170         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10171         * soft-fp/op-common.h (_FP_CMP): Likewise.
10172         (_FP_CMP_EQ): Likewise.
10173         (_FP_CMP_UNORD): Likewise.
10174         (_FP_TO_INT): Likewise.
10175         (_FP_FROM_INT): Likewise.
10176         [!__FP_CLZ] (__FP_CLZ): Likewise.
10177         (_FP_DIV_HELP_imm): Likewise.
10178         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10179         Likewise.
10180         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10181         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10182         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10183         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10191         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10192         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10193         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10194         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10195         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10196         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10199         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10200         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10209         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10213         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10214         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10215         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10216         (FP_UNPACK_RAW_SP): Likewise.
10217         (FP_PACK_RAW_S): Likewise.
10218         (FP_PACK_RAW_SP): Likewise.
10219         (FP_UNPACK_S): Likewise.
10220         (FP_UNPACK_SP): Likewise.
10221         (FP_UNPACK_SEMIRAW_S): Likewise.
10222         (FP_UNPACK_SEMIRAW_SP): Likewise.
10223         (FP_PACK_S): Likewise.
10224         (FP_PACK_SP): Likewise.
10225         (FP_PACK_SEMIRAW_S): Likewise.
10226         (FP_PACK_SEMIRAW_SP): Likewise.
10227         (_FP_SQRT_MEAT_S): Likewise.
10228         (FP_CMP_S): Likewise.
10229         (FP_CMP_EQ_S): Likewise.
10230         (FP_CMP_UNORD_S): Likewise.
10231         (FP_TO_INT_S): Likewise.
10232         (FP_FROM_INT_S): Likewise.
10234         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10236         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10237         (FP_EX_INVALID_IMZ): Likewise.
10238         (FP_EX_INVALID_IMZ_FMA): Likewise.
10239         (FP_EX_INVALID_ISI): Likewise.
10240         (FP_EX_INVALID_ZDZ): Likewise.
10241         (FP_EX_INVALID_IDI): Likewise.
10242         (FP_EX_INVALID_SQRT): Likewise.
10243         (FP_EX_INVALID_CVI): Likewise.
10244         (FP_EX_INVALID_VC): Likewise.
10245         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10246         "invalid" exceptions.
10247         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10248         (_FP_ADD_INTERNAL): Likewise.
10249         (_FP_MUL): Likewise.
10250         (_FP_FMA): Likewise.
10251         (_FP_DIV): Likewise.
10252         (_FP_CMP_CHECK_NAN): Likewise.
10253         (_FP_SQRT): Likewise.
10254         (_FP_TO_INT): Likewise.
10255         (FP_EXTEND): Likewise.
10257 2014-10-09  Allan McRae  <allan@archlinux.org>
10259         * po/fr.po: Update French translation from translation project.
10261 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10263         [BZ #14132]
10264         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10265         of INTDEF.
10266         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10267         (__cxa_atexit): Use libc_hidden_proto.
10268         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10270         [BZ #14132]
10271         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10272         declaration.
10273         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10274         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10275         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10276         [!_ISOMAC] (__iswctype_internal): Likewise.
10277         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10278         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10279         alias.
10280         (fcntl): Remove __fcntl_internal alias.
10281         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10282         __connect_internal alias.
10283         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10284         Likewise.
10286         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10287         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10288         FP_DENORM_ZERO.
10289         (_FP_CHECK_FLUSH_ZERO): New macro.
10290         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10291         (_FP_CMP): Likewise.
10292         (_FP_CMP_EQ): Likewise.
10293         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10294         FP_DENORM_ZERO.
10295         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10296         (FP_TRUNC): Likewise.
10298         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10299         treated as invalid conversion, not as normal exponent.
10301         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10302         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10303         (_FP_CMP_EQ): Likewise.
10304         (_FP_CMP_UNORD): Likewise.
10305         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10306         (FP_CMP_EQ_D): Likewise.
10307         (FP_CMP_UNORD_D): Likewise.
10308         * soft-fp/extended.h (FP_CMP_E): Likewise.
10309         (FP_CMP_EQ_E): Likewise.
10310         (FP_CMP_UNORD_E): Likewise.
10311         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10312         (FP_CMP_EQ_Q): Likewise.
10313         (FP_CMP_UNORD_Q): Likewise.
10314         * soft-fp/single.h (FP_CMP_S): Likewise.
10315         (FP_CMP_EQ_S): Likewise.
10316         (FP_CMP_UNORD_S): Likewise.
10317         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10318         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10319         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10320         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10321         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10322         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10323         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10324         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10325         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10326         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10327         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10328         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10329         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10330         to FP_CMP_Q.
10331         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10332         FP_CMP_Q.
10333         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10334         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10335         FP_CMP_EQ_Q.
10336         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10337         FP_CMP_Q.
10338         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10339         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10340         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10341         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10342         FP_CMP_EQ_Q.
10343         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10344         FP_CMP_Q.
10345         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10346         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10347         FP_CMP_EQ_Q.
10348         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10349         FP_CMP_Q.
10350         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10351         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10352         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10353         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10354         FP_CMP_EQ_Q.
10356         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10357         a subnormal result, set the underflow exception if trapping on
10358         underflow is enabled.
10359         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10360         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10361         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10362         redefine to 0.
10363         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10364         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10365         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10366         * soft-fp/extendxftf2.c (__extendxftf2): Use
10367         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10369         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10370         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10371         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10372         FP_HANDLE_EXCEPTIONS.
10373         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10374         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10375         FP_HANDLE_EXCEPTIONS.
10376         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10377         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10378         FP_HANDLE_EXCEPTIONS.
10379         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10380         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10381         FP_HANDLE_EXCEPTIONS.
10383 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10385         [BZ #14132]
10386         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10387         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10388         use INTUSE.
10389         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10390         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10391         Remove alias.
10392         (__adjtimex): Define using libc_hidden_ver.
10393         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10394         Remove declaration.
10395         (ntp_gettime): Call __adjtimex directly.
10396         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10397         Remove declaration.
10398         (ntp_gettimex): Call __adjtimex directly.
10399         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10400         __adjtimex_internal alias.
10402 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10404         [BZ #17460]
10405         * nscd/nscd.c (more_help): Rewrite list of tables collection
10406         using xstrdup and asprintf.
10408         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10410 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10411             Roland McGrath  <roland@hack.frob.com>
10413         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10414         (do_lookup_unique): ... local function 'enter' here; update callers.
10416 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10418         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10419         compat_symbol calls on [SHARED].
10420         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10421         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10422         Remove.
10423         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10424         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10425         (oldsetrlimit): Remove.
10426         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10428         (lchown): New syscall entry.
10429         (oldsetrlimit): Remove.
10430         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10432         (oldsetrlimit): Remove.
10433         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10435         [BZ #14138]
10436         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10437         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10438         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10439         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10440         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10441         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10442         (fchown): Likewise.
10443         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10444         (fchown): Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10446         Likewise.
10448 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10450         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10451         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10452         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10453         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10454         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10455         Likewise.
10456         (__old_sem_post): Likewise.
10458 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10460         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10461         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10462         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10463         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10464         Use INLINE_VSYSCALL macro.
10465         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10466         __vdso_clock_gettime.
10467         * sysdeps/unix/sysv/linux/tile/init-first.c
10468         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10469         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10470         __vdso_clock_gettime.
10472         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10473         to set up frame more cleanly.
10475         * sysdeps/tile/memcmp.c: New file.
10477         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10479         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10480         * sysdeps/tile/tilegx/strcasestr.c: New file.
10481         * sysdeps/tile/tilegx/strnlen.c: New file.
10482         * sysdeps/tile/tilegx/strstr.c: New file.
10484         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10486 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10488         * nptl/tst-setuid3.c: Write errors to stdout.
10490 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10492         * elf/dl-deps.c
10493         (preload): New functions broken out of _dl_map_object_deps.
10494         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10496 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10498         [BZ #14138]
10499         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10500         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10502 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10504         * sysdeps/mips/strcmp.S: New.
10506 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #14138]
10509         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10510         (linkat): Likewise.
10511         (mkdirat): Likewise.
10512         (readlinkat): Likewise.
10513         (renameat): Likewise.
10514         (symlinkat): Likewise.
10515         (unlinkat): Likewise.
10516         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10517         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10518         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10519         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10520         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10521         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10522         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10524 2014-09-30  Will Newton  <will.newton@linaro.org>
10526         * math/math.h: Define long double math functions if
10527         _LIBC_TEST is defined.
10528         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10530         * localedata/Makefile: Move assignment to tests-special
10531         into an ifdef testing run-built-tests.
10532         * timezone/Makefile: Likewise.
10534 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10536         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10537         with $(BASH) not $(SHELL).
10539 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10540             Matthew LeGendre  <legendre1@llnl.gov>
10542         [BZ #17411]
10543         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10544         l_reloc_result.
10546 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10548         * stdio-common/printf_fp.c
10549         (hack_digit): New function, broken out of ...
10550         (__printf_fp): ... local function here.  Update call sites.
10551         hack_digit now takes an additional parameter that is a pointer
10552         to a struct of the referenced locals.  Those locals moved inside
10553         the struct and references updated.
10555 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10557         * aclocal.m4: Require autoconf 2.69.
10558         * configure: Regenerated.
10559         * sysdeps/aarch64/configure: Likewise.
10560         * sysdeps/alpha/configure: Likewise.
10561         * sysdeps/arm/armv7/configure: Likewise.
10562         * sysdeps/arm/configure: Likewise.
10563         * sysdeps/ia64/configure: Likewise.
10564         * sysdeps/mach/configure: Likewise.
10565         * sysdeps/mips/configure: Likewise.
10566         * sysdeps/s390/configure: Likewise.
10567         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10570         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10571         file.
10572         * sysdeps/ia64/configure.ac: Likewise.
10574 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10577         specify symbol version for ld.so.  Do not include entry for
10578         libpthread.
10579         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10580         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10581         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10583         [BZ #14171]
10584         * Makeconfig [$(build-shared) = yes]
10585         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10586         makefiles.
10587         [$(build-shared) = yes && $(soversions.mk-done) = t]
10588         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10589         [$(build-shared) = yes && $(soversions.mk-done) = t]
10590         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10591         to Makerules.
10592         [$(build-shared) = yes && $(soversions.mk-done) = t]
10593         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10594         here.
10595         [$(build-shared) = yes && $(soversions.mk-done) = t]
10596         (common-generated): Don't append gnu/lib-names.h and
10597         gnu/lib-names.stmp here.
10598         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10599         (lib-names-h-abi): New variable.
10600         [$(build-shared) = yes && $(soversions.mk-done) = t]
10601         (lib-names-stmp-abi): Likewise.
10602         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10603         abi-variants] (before-compile): Append
10604         $(common-objpfx)$(lib-names-h-abi).
10605         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10606         abi-variants] (common-generated): Append gnu/lib-names.h.
10607         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10608         abi-variants] (install-others-nosubdir): Depend on
10609         $(inst_includedir)/$(lib-names-h-abi).
10610         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10611         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10612         [$(build-shared) = yes && $(soversions.mk-done) = t]
10613         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10614         [$(build-shared) = yes && $(soversions.mk-done) = t]
10615         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10616         [$(build-shared) = yes && $(soversions.mk-done) = t]
10617         (common-generated): Append $(lib-names-h-abi) and
10618         $(lib-names-stmp-abi).
10619         * scripts/lib-names.awk: Do not handle multi being set.
10620         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10621         Remove variable.
10622         (abi-lp64_be-ld-soname): Likewise.
10623         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10624         Likewise.
10625         (abi-hard-ld-soname): Likewise.
10626         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10627         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10628         Remove variable.
10629         (abi-o32_hard-ld-soname): Likewise.
10630         (abi-o32_soft_2008-ld-soname): Likewise.
10631         (abi-o32_hard_2008-ld-soname): Likewise.
10632         (abi-n32_soft-ld-soname): Likewise.
10633         (abi-n32_hard-ld-soname): Likewise.
10634         (abi-n32_soft_2008-ld-soname): Likewise.
10635         (abi-n32_hard_2008-ld-soname): Likewise.
10636         (abi-n64_soft-ld-soname): Likewise.
10637         (abi-n64_hard-ld-soname): Likewise.
10638         (abi-n64_soft_2008-ld-soname): Likewise.
10639         (abi-n64_hard_2008-ld-soname): Likewise.
10640         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10641         Likewise.
10642         (abi-64-v2-ld-soname): Likewise.
10643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10644         ld.so entries.
10645         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10646         variable.
10647         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10648         entry.
10649         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10650         variable.
10651         (abi-64-ld-soname): Likewise.
10652         (abi-x32-ld-soname): Likewise.
10653         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10654         entry.
10655         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10657 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10659         [BZ #14138]
10660         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10661         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10662         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10663         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10664         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10665         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10666         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10667         syscall entry for GLIBC_2.2 symbol version.
10668         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10671         (setrlimit): Likewise.
10672         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10673         Likewise.
10675 2014-09-23  Will Newton  <will.newton@linaro.org>
10677         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10678         _LINUX_ARM_SYSDEP_H include guard too.
10679         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10680         define.
10682 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10684         * sysdeps/unix/sysv/linux/eventfd.c:
10685         Make first argument unsigned.
10686         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10687         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10689 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10691         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10692         * socket/sys/socket.h: Likewise
10693         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10695 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10697         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10699 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10701         * time/tst-ftime.c: New test.
10702         * time/Makefile (tests): Add tst-ftime.
10704 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10706         * soft-fp/extended.h: Fix comment formatting.
10707         * soft-fp/op-1.h: Likewise.
10708         * soft-fp/op-2.h: Likewise.
10709         * soft-fp/op-4.h: Likewise.
10710         * soft-fp/op-8.h: Likewise.
10711         * soft-fp/op-common.h: Likewise.
10712         * soft-fp/soft-fp.h: Likewise.
10714         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10716 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10718         [BZ #6652]
10719         * Makeconfig (soversions-default-setname): Remove variable.
10720         ($(common-objpfx)soversions.i): Don't pass default_setname to
10721         soversions.awk.
10722         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10723         oldest_abi to abi-versions.awk.
10724         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10725         * config.make.in (oldest-abi): Remove variable.
10726         * configure.ac (--enable-oldest-abi): Remove configure option.
10727         * configure: Regenerated.
10728         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10729         text.
10730         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10731         * scripts/soversions.awk: Do not handle default_setname variable.
10732         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10733         variable.
10734         * sysdeps/mach/hurd/configure: Regenerated.
10735         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10736         variable.
10737         * sysdeps/unix/sysv/linux/configure: Regenerated.
10739 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741         * elf/Makefile (CFLAGS-interp.c): Remove.
10742         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10743         path string.
10744         * elf/interp.c: Include generated runtime-linker.h
10746         * Makerules (lib%.so): Don't include $(+interp) in
10747         prerequisites.
10748         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10749         * dlfcn/eval.c: Remove file.
10751         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10752         macros.
10754         [BZ #17266]
10755         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10756         4.2 and newer.
10758         [BZ #17370]
10759         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10761 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10762             Jakub Jelinek  <jakub@redhat.com>
10764         [BZ #17266]
10765         * libio/stdio.h: Check definition of __fortify_function
10766         instead of __extern_always_inline to include bits/stdio2.h.
10767         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10768         check if __extern_always_inline is defined.
10769         [__USE_MISC || __USE_XOPEN]: Likewise.
10770         [__USE_ISOC99] Likewise.
10771         * misc/sys/cdefs.h (__fortify_function): Define only if
10772         __extern_always_inline is defined.
10773         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10774         __extern_always_inline and __extern_inline only for g++-4.3
10775         and newer or a compatible gcc.
10777 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10779         [BZ #17371]
10780         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10781         last change to handle zero prefix length.
10783 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10785         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10786         _SC_REGEX_VERSION.
10788         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10789         _POSIX_RAW_SOCKETS.
10791 2014-09-13  Allan McRae  <allan@archlinux.org>
10793         * po/ru.po: Update Russian translation from translation project.
10795 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10797         * locale/programs/locale.c (show_locale_vars): Inline local function
10798         into its sole call site.  Clean up some style nits.
10799         (print_item): New function, broken out of ...
10800         (show_info): ... local function here.  Clean up style nits.
10802         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10803         out of ...
10804         (set_class_defaults): ... local function set_default here.
10805         Define set_default as a macro locally to pass constant parameters.
10806         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10807         rather than a shared local.
10809         * stdlib/rpmatch.c (try): New function, broken out of ...
10810         (rpmatch): ... local function here.  Also, prototypify definition.
10812 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10814         * scripts/soversions.awk: Do not handle configuration names.
10815         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10816         vendor and os variables to soversions.awk.
10817         * configure.ac: Do not modify gnu-* host_os.
10818         * configure: Regenerated
10819         * shlib-versions: Remove first column with configuration names.
10820         * nptl/shlib-versions: Likewise.
10821         * nptl_db/shlib-versions: Likewise.
10822         * sysdeps/hppa/shlib-versions: Likewise.
10823         * sysdeps/m68k/shlib-versions: Likewise.
10824         * sysdeps/mach/hurd/shlib-versions: Likewise.
10825         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10826         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10827         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10828         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10829         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10830         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10831         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10832         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10834         Likewise.
10835         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10836         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10837         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10838         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10839         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10840         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10841         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10842         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10845         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10847         Regenerated.
10848         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10850         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10852         * shlib-versions: Remove OS-specific entries.  Moved to files in
10853         sysdeps.
10854         * sysdeps/mach/hurd/shlib-versions: New file.
10855         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10857         * nptl/shlib-versions: Remove architecture-specific entries.
10858         Moved to files in sysdeps.
10859         * shlib-versions: Likewise.
10860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10861         file.
10862         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10863         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10864         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10865         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10867         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10868         (UDP_NO_CHECK6_RX): Likewise.
10870 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10872         * sysdeps/posix/sysconf.c (__sysconf): Spell
10873         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10875 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10877         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10878         loading.
10879         * iconv/Versions (__gconv_transliterate): Export for use from
10880         gconv modules.
10881         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10882         (struct __gconv_trans_data, __gconv_trans_fct,
10883         __gconv_trans_context_fct, __gconv_trans_query_fct,
10884         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10885         definitions.
10886         (struct __gconv_step_data): Remove __trans member.
10887         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10888         longer hidden.  Remove unused trans_data argument.
10889         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10890         (__gconv_translit_find): Remove declaration.
10891         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10892         prototype.
10893         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10894         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10895         trans_data argument.  Add hidden definition.
10896         (__gconv_translit_find): Remove.
10897         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10898         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10899         * iconv/skeleton.c: Remove transliteration initialization.
10900         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10901         __gconv_step_data initialization.
10902         * libio/iofwide.c (__libio_translit_): Remove.
10903         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10904         * wcsmbs/btowc.c (__btowc): Likewise.
10905         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10906         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10907         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10908         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10909         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10910         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10911         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10912         * wcsmbs/wctob.c (wctob): Likewise.
10914 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10916         [BZ #16194]
10917         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10918         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10919         register usage.
10920         * sysdeps/x86/Makefile: Adjust.
10922 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10923             Roland McGrath  <roland@hack.frob.com>
10925         * locale/weight.h: Add include guard.
10926         (findidx): Make static rather than auto; take new parameters
10927         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10928         * locale/weightwc.h: Likewise.
10929         * posix/fnmatch_loop.c
10930         (FCT): Change type of EXTRA from int32_t to wint_t.
10931         Don't include either header inside the function.
10932         Call FINDIDX rather than findidx, and pass new arguments.
10933         #undef FINDIDX at the end of the file.
10934         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10935         FINDIDX before including fnmatch_loop.c for the non-wide version.
10936         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10937         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10938         for the wide version.
10939         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10940         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10941         Pass new arguments to findidx.
10942         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10943         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10944         Don't #include it inside the function.  Pass new arguments to findidx.
10945         * posix/regex_internal.h
10946         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10947         (re_string_elem_size_at): Don't #include it inside the function.
10948         Pass new arguments to findidx.
10949         * string/strcoll_l.c: #include WEIGHT_H at top level.
10950         (get_next_seq): Don't #include it inside the function.
10951         Pass new arguments to findidx.
10952         (get_next_seq_nocache): Likewise.
10953         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10954         (STRXFRM): Don't #include it inside the function.
10955         Pass new arguments to findidx.
10957 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10959         [BZ #17344]
10960         * malloc/malloc.c (unlink): Turn asserts into a call to
10961         malloc_printerr.
10963 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10965         [BZ #17370]
10966         * libio/wfileops (do_ftell_wide): Free OUT.
10968 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10970         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10972 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10974         [BZ #17363]
10975         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10976         group if the current group is empty.
10978 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10980         * benchtests/bench-memset.c (test_main): Add more test from size
10981         from 32 to 512 bytes.
10982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10983         Add POWER8 memset object.
10984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10985         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10986         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10987         implementation.
10988         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10989         Likewise.
10990         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10991         multiarch POWER8 memset optimization.
10992         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10993         POWER8 memset optimization.
10995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10996         Remove bzero multiarch objects.
10997         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10998         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10999         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11000         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11001         Remove define.
11002         [__bzero]: Redefine to specific name.
11003         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11004         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11005         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11006         define.
11007         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11008         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11010 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11012         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11013         warnings into errors.
11015         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11016         __cxa_thread_atexit_impl prototype.
11018 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11020         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11021         Fix capitalization of error message.
11023 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11025         * sysdeps/mips/preconfigure: Modify ABI tests.
11027 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11029         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11031 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11032             Carlos O'Donell  <carlos@systemhalted.org>
11034         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11036         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11037         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11038         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11039         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11040         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11041         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11042         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11043         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11044         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11045         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11046         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11047         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11048         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11049         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11050         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11051         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11052         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11053         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11054         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11055         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11056         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11057         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11058         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11059         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11060         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11061         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11062         Deconditionalize the code that was previously under [RESET_PID].
11063         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11064         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11065         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11066         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11067         include sysdep.h.
11069 2014-09-08  Allan McRae  <allan@archlinux.org>
11071         * version.h (RELEASE): Set to "development".
11072         (VERSION): Set to "2.20.90"
11074 2014-09-07  Allan McRae  <allan@archlinux.org
11076         * version.h (RELEASE): Set to "stable".
11077         (VERSION): Set to "2.20"
11078         * include/features.h (__GLIBC_MINOR__): Set to 20.
11080         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11081         Liebler.
11083         * po/ko.po: Update Korean translation from translation project.
11085 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11087         [BZ #17354]
11088         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11089         macro for handling signed relocations.
11091 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11093         [BZ #17325]
11094         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11095         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11096         assert.
11097         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11098         * iconvdata/ibm935.c (BODY): Likewise.
11099         * iconvdata/ibm937.c (BODY): Likewise.
11100         * iconvdata/ibm939.c (BODY): Likewise.
11101         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11102         assert.
11103         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11104         script.
11105         * iconvdata/run-iconv-test.sh: New test loop for checking for
11106         decoder crashers.
11108 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11111         libm_hidden_ver.
11113 2014-09-01  Allan McRae  <allan@archlinux.org>
11115         * po/eo.po: Update Esperanto translation from translation project.
11117         * po/ca.po: Update Catalan translation from translation project.
11119 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11121         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11122         __proc_dostop call.
11124 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11126         [BZ #17319]
11127         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11128         to call set_thread_area instead of hand written asm.
11129         (__NR_set_thread_area): Removed define.
11130         (TLS_FLAG_WRITABLE): Likewise.
11131         (__ASSUME_SET_THREAD_AREA): Remove check.
11132         (TLS_EBX_ARG): Remove define.
11133         (TLS_LOAD_EBX): Likewise.
11135 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11137         Simplify atomicity of socket creation in bind.
11139         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11140         looking up the name after linking the file.
11142 2014-08-27  Allan McRae  <allan@archlinux.org>
11144         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11146 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11148         [BZ #17187]
11149         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11150         trans_compare, open_translit, __gconv_translit_find):
11151         Remove module loading code.
11153 2014-08-26  Allan McRae  <allan@archlinux.org>
11155         * po/vi.po: Update Vietnamese translation from translation project.
11157         * po/uk.po: Update Ukrainian translation from translation project.
11159         * po/fr.po: Update French translation from translation project.
11161         * po/ru.po: Update Russian translation from translation project.
11163         * po/pl.po: Update Polish translation from translation project.
11165         * po/cs.po: Update Czech translation from translation project.
11167         * po/de.po: Update German translation from translation project.
11169         * po/bg.po: Update Bulgarian translation from translation project.
11171         * po/sv.po: Update Sweedish translation from translation project.
11173         * po/nl.po: Update Dutch translation from translation project.
11175         * po/es.po: Update Spanish translation from translation project.
11177 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11179         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11181         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11182         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11183         (CPPFLAGS-iconvconfig): Likewise.
11184         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11186         * include/libc-symbols.h: Remove unnecessary check for
11187         NOT_IN_libc.
11188         * nptl/pthreadP.h: Likewise.
11189         * sysdeps/aarch64/setjmp.S: Likewise.
11190         * sysdeps/alpha/setjmp.S: Likewise.
11191         * sysdeps/arm/sysdep.h: Likewise.
11192         * sysdeps/i386/setjmp.S: Likewise.
11193         * sysdeps/m68k/setjmp.c: Likewise.
11194         * sysdeps/posix/getcwd.c: Likewise.
11195         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11196         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11197         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11198         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11199         * sysdeps/sh/sh3/setjmp.S: Likewise.
11200         * sysdeps/sh/sh4/setjmp.S: Likewise.
11201         * sysdeps/unix/alpha/sysdep.h: Likewise.
11202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11204         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11205         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11208         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11210         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11213         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11215         * sysdeps/x86_64/setjmp.S: Likewise.
11217 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11219         [BZ #17263]
11220         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11221         <stdint.h>.
11222         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11223         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11225 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11227         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11229         [BZ #17262]
11230         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11231         and __x86_64__ when disabling x87 inline functions.
11233 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11235         [BZ #17259]
11236         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11237         asm statement with __cpuid_count.
11239 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11241         * configure.ac: Change __ehdr_start code to dereference the struct.
11242         Run readelf on the output to look for relocations.
11243         * configure: Regenerated.
11245 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11247         [BZ #17261]
11248         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11249         value to 0.
11250         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11252 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11254         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11256 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11258         [BZ #16892]
11259         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11260         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11262 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11264         * malloc/malloc.c: Fix typo in comment.
11266 2014-08-09  Allan McRae  <allan@archlinux.org>
11268         * Regenerate libc.po.
11270 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11272         * intl/tst-gettext2.sh: Check every lang file for creation.
11274 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11276         * sysdeps/aarch64/fpu/math_private.h
11277         (libc_feholdsetround_noex_aarch64_ctx): New function.
11279 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11281         * sysdeps/arm/armv6/strcpy.S (strcpy):
11282         Fix performance issue in misaligned cases.
11284 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11286         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11287         Move definition from termios.h.
11288         (struct termio): Likewise.
11289         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11290         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11291         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11292         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11293         Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11295         Move definition to ioctl-types.h
11296         (struct termio): Likewise.
11297         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11298         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11299         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11300         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11301         Likewise.
11303 2014-08-05  Richard Henderson  <rth@redhat.com>
11305         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11306         exceptions.
11307         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11308         Add fraiseexcpt.
11309         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11310         Use __feraiseexcept.
11311         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11312         Protect libm symbols with IS_IN_libm.
11314         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11316 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11318         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11320 2014-08-04  Will Newton  <will.newton@linaro.org>
11322         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11323         file.
11325 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11327         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11328         variants for each function.
11330 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11332         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11333         appended ...
11334         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11335         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11336         appended ...
11337         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11338         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11339         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11340         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11341         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11342         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11343         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11344         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11345         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11346         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11347         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11348         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11349         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11350         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11351         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11352         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11353         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11354         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11355         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11356         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11357         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11358         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11359         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11360         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11361         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11362         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11363         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11364         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11365         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11366         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11367         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11368         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11369         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11370         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11373         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11374         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11375         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11376         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11377         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11378         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11379         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11380         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11381         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11382         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11383         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11385         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11387         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11388         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11389         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11390         Update #include.
11391         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11392         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11394 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11396         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11397         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11398         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11399         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11400         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11401         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11403 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11405         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11406         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11407         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11408         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11410 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11412         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11413         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11414         (__libc_vfork): Define function under this name.
11415         (__vfork): Define as an alias.
11416         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11417         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11419 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11421         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11422         that was previously under [RESET_PID].
11423         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11425 2014-08-04  Andreas Schwab  <schwab@suse.de>
11427         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11429 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11431         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11432         (main): Likewise.
11434 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11436         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11438 2014-08-01  Richard Henderon  <rth@redhat.com>
11440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11441         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11442         typo in exact zero test.
11443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11444         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11447 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11449         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11450         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11451         * sysdeps/arm/sysdep.h: ... here.
11452         [!__ASSEMBLER__]: Include <stdint.h>.
11454 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11457         (HAVE_WCTYPE_H): Likewise.
11458         (HAVE_ISWCTYPE): Likewise.
11459         (ENABLE_NLS): Likewise.
11460         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11461         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11463         * posix/regex_internal.c: Check if DEBUG is defined and is
11464         set.
11466         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11467         (HAVE_MBSRTOWCS): Likewise.
11468         * posix/fnmatch.c: Include string.h unconditionally.
11470 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11472         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11473         reversal.
11475 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11477         * sysdeps/generic/safe-fatal.h: New file.
11478         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11479         * nptl/forward.c: Include it.
11480         (__pthread_unwind): Use __safe_fatal as default action, rather
11481         than a bogus use of INTERNAL_SYSCALL that could never work.
11483         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11484         * configure.ac (libc_cv_builtin_trap): New test.
11485         * configure: Regenerated.
11486         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11487         (ABORT_INSTRUCTION): Define using __builtin_trap.
11489         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11490         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11491         * sysdeps/nptl/nptl-signals.h: New file.
11492         * nptl/pthreadP.h: Include <nptl-signals.h>.
11494 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11496         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11497         (ONE_DIRECTION): Define.
11498         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11499         (ONE_DIRECTION): Define.
11500         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11501         (ONE_DIRECTION): Define.
11503 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11505         * sysdeps/s390/Makefile: Delete file.
11506         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11507         * sysdeps/s390/__longjmp.c: Delete file.
11508         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11509         Remove fields __flags and __reserved.
11510         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11511         and add versioning.
11512         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11513         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11514         * sysdeps/s390/rtld-setjmp.S: Likewise.
11515         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11516         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11517         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11518         * sysdeps/s390/s390-32/setjmp.S: ... here.
11519         Add versioning.
11520         (__sigsetjmp): Remove setting __flags field.
11521         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11522         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11523         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11524         * sysdeps/s390/s390-64/setjmp.S: ... here.
11525         Add versioning.
11526         (__sigsetjmp): Remove setting __flags field.
11527         * sysdeps/s390/setjmp.S: Delete file.
11528         * sysdeps/s390/sigjmp.c: Likewise.
11529         * sysdeps/s390/v1-longjmp.c: Likewise.
11530         * sysdeps/s390/v1-setjmp.h: Likewise.
11531         * sysdeps/s390/v1-sigjmp.c: Likewise.
11532         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11533         Remove v1-longjmp_chk.
11534         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11535         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11536         Include debug/longjmp_chk.c and add versioning.
11537         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11538         Include nptl/pt-longjmp.c and add versioning.
11539         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11540         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11541         Include __longjmp.c.
11542         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11543         Move to ...
11544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11545         (__getcontext): Remove setting __flags field.
11546         Add versioning.
11547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11548         Don't restore upper high grps.
11549         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11550         Likewise.
11551         (__swapcontext): Remove setting uc_flags field.
11552         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11553         Delete file.
11554         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11555         Include __longjmp.c.
11556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11557         Move to ...
11558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11559         (__getcontext): Remove setting __flags field.
11560         Add versioning.
11561         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11562         (__swapcontext): Remove setting uc_flags field.
11563         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11564         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11565         Remove fields uc_high_gprs and __reserved.
11566         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11567         New file with reverted content.
11568         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11569         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11570         Regenerated.
11571         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11572         Regenerated.
11574 2014-07-31  Andreas Schwab  <schwab@suse.de>
11576         * config.h.in (HAVE_IFUNC): Define to 0.
11577         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11578         definedness.
11580 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11583         memmove-avx-unaligned, memcpy-avx-unaligned and
11584         mempcpy-avx-unaligned.
11585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11586         Add tests for AVX memcpy functions.
11587         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11588         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11589         memcpy_chk.
11590         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11591         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11592         memmove_chk.
11593         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11594         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11595         mempcpy_chk.
11596         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11597         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11598         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11600 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11602         [BZ #17213]
11603         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11604         powerpc64le.
11606 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11608         [BZ #16839]
11609         * manual/llio.texi: Add section about open file description locks.
11610         * manual/examples/ofdlocks.c: Example of open file description
11611         lock usage.
11612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11613         F_OFD_SETLK, and F_OFD_SETLKW.
11615 2014-07-23  Allan McRae  <allan@archlinux.org>
11617         * po/es.po: Update Spanish translation from translation project.
11619 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11621         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11623 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11625         [BZ #17078]
11626         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11627         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11628         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11630 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11632         [BZ #17088]
11633         * math/fesetenv.c (__fesetenv)
11634         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11635         * math/feupdateenv.c (__feupdateenv)
11636         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11638         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11639         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11640         (__ASSUME_SOCKETCALL): Do not define.
11642         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11643         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11644         (__ASSUME_SOCKETCALL): Do not define.
11645         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11646         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11647         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11648         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11650         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11652         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11654         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11655         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11656         (__ASSUME_SOCKETCALL): Do not define.
11657         (__ASSUME_IPC64): Define unconditionally.
11658         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11659         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11660         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11661         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11662         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11663         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11664         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11665         Likewise.
11667         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11668         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11669         (__ASSUME_SOCKETCALL): Do not define.
11670         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11671         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11672         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11673         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11674         (__ASSUME_REQUEUE_PI): Define unconditionally.
11675         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11676         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11677         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11678         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11679         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11680         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11682         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11683         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11684         (__ASSUME_SOCKETCALL): Do not define.
11685         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11686         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11687         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11688         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11689         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11690         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11692         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11693         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11694         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11695         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11696         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11697         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11698         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11699         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11700         (__ASSUME_GETCPU_SYSCALL): Likewise.
11702         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11703         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11704         cases for individual architectures.
11705         * sysdeps/gnu/configure: Regenerated.
11706         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11707         LIBC_SLIBDIR_RTLDDIR.
11708         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11709         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11710         LIBC_SLIBDIR_RTLDDIR.
11711         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11713         LIBC_SLIBDIR_RTLDDIR.
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11715         Regenerated.
11716         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11717         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11718         file.
11719         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11720         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11721         file.
11722         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11723         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11724         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11725         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11727         * sysdeps/aarch64/shlib-versions: Move to ...
11728         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11729         * sysdeps/alpha/shlib-versions: Move to ...
11730         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11731         * sysdeps/arm/shlib-versions: Move to ...
11732         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11733         * sysdeps/hppa/shlib-versions: Move all contents except for
11734         libgcc_s entry to ...
11735         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11736         entry from ...
11737         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11738         * sysdeps/ia64/shlib-versions: Move to ...
11739         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11740         entry from ...
11741         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11742         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11743         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11744         * sysdeps/microblaze/shlib-versions: Move to ...
11745         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11746         * sysdeps/mips/shlib-versions: Move to ...
11747         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11748         entry from ...
11749         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11750         * sysdeps/tile/shlib-versions: Move to ...
11751         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11752         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11753         from ...
11754         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11755         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11756         entry from ...
11757         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11759 2014-07-17  Will Newton  <will.newton@linaro.org>
11761         * sysdeps/arm/bits/atomic.h
11762         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11763         (__arch_compare_and_exchange_bool_16_int): Likewise.
11764         (__arch_compare_and_exchange_bool_64_int): Likewise.
11766         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11767         into an #else block.
11769 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11771         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11772         just Linux configurations.  Test empirically that the compiler sets
11773         __ARM_EABI__, rather than using the tuple to decide.
11774         * sysdeps/arm/preconfigure: Regenerated.
11775         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11776         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11777         contents appended ...
11778         * sysdeps/arm/configure.ac: ... here.
11779         * sysdeps/arm/configure: Regenerated.
11781 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11783         * nptl/pthread_kill.c: New file.
11784         * nptl/pthread_sigmask.c: New file.
11785         * nptl/pthread_sigqueue.c: New file.
11787         * sysdeps/nptl/lowlevellock.h: New file.
11788         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11789         * sysdeps/nptl/lowlevellock-futex.h: New file.
11791         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11792         Remove dead declarations.
11794 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11796         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11797         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11798         config-cflags-avx2.
11799         * sysdeps/x86_64/configure.ac: Likewise.
11800         * sysdeps/i386/configure: Regenerated.
11801         * sysdeps/x86_64/configure: Likewise.
11802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11803         memset-avx2 only if config-cflags-avx2 is yes.
11804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11805         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11806         defined.
11807         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11808         only if HAVE_AVX2_SUPPORT is defined.
11809         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11811 2014-07-14  Alan Modra  <amodra@gmail.com>
11813         [BZ #17153]
11814         * elf/elf.h (DT_PPC64_NUM): Correct value.
11815         * NEWS: Add to fixed bug list.
11817 2014-07-13  Jim Meyering  <meyering@fb.com>
11819         [BZ 17150]
11820         regex: don't deref NULL upon heap allocation failure
11821         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11822         failure in one more place.
11823         To trigger the segfault, configure grep -with-included-regex,
11824         build it, and run these commands:
11825         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11827 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11829         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11831 2014-07-11  Richard Henderson  <rth@redhat.com>
11833         * sysdeps/aarch64/libm-test-ulps: Update.
11835 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11837         [BZ #17135]
11838         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11839         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11840         (__nptl_setxid): Initialize error member.  Call
11841         __nptl_setxid_error.
11842         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11843         * nptl/descr.h (struct xid_command): Add error member.
11844         * nptl/tst-setuid3.c: New file.
11845         * nptl/Makefile (tests): Add it.
11847 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11849         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11850         New define.
11851         (__lll_trylock): Use __lll_base_trylock.
11852         (__lll_cond_trylock): Likewise.
11854 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11856         * nptl/pthread_create.c (start_thread): Use atomic_or and
11857         lll_futex_wake directly rather than lll_robust_dead.
11858         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11859         (lll_robust_dead): Macro removed.
11860         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11861         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11862         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11863         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11864         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11865         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11866         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11867         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11868         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11870         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11871         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11872         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11873         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11874         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11876         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11877         Use atomic_compare_and_exchange_val_acq directly rather than
11878         lll_robust_trylock.
11879         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11880         (__lll_robust_trylock, lll_robust_trylock): Removed.
11881         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11882         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11883         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11885         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11887         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11888         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11893         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11896 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11898         * manual/locale.texi (Locale Names): New section documenting
11899         locale name syntax.  Adjust menu and node chaining accordingly.
11900         (Choosing Locale): Reference Locale Names, Locale Categories.
11901         Mention setting LC_ALL=C.  Reflect that name syntax is now
11902         documented.
11903         (Locale Categories): New section title.  Reference Locale Names.
11904         LC_ALL is an environment variable, but not a category.
11905         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11906         description, now in Locale Name.  Reference that section.  Locale
11907         name syntax is now documented.
11909 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11911         [BZ #17137]
11912         * locale/findlocale.c (name_present, valid_locale_name): New
11913         functions.
11914         (_nl_find_locale): Use the loc_name variable to store name
11915         candidates.  Call name_present and valid_locale_name to check and
11916         validate locale names.  Return an error if the locale is invalid.
11918 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11920         * locale/setlocale.c (setlocale): Use strdup for allocating
11921         composite name copy.
11923 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11925         Sync up with gnulib.
11926         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11927         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11928         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11929         and _GL_ARG_NONNULL.
11930         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11931         [!_LIBC]: Include code for Windows and Cygwin.
11932         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11933         Include prototype for int strerror_r.
11934         [!_LIBC] (is_open): New function.
11935         (flush_stdout): New function.
11936         (print_errno_message): Use it.
11937         (error): Likewise.
11938         (error_at_line): Likewise.
11939         (error_tail) Add function attribute macros.  Use
11940         __builtin_expect.
11942         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11944         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11946         * io/ftw.c: Include sys/param.h unconditionally.
11948         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11950         [BZ #17125]
11951         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11952         libc_freeres_ptr.
11953         (freecache): New function to free CACHE on exit.
11955         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11956         initialization.
11958 2014-07-09  David S. Miller  <davem@davemloft.net>
11960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11962         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11963         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11964         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11965         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11966         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11967         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11968         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11969         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11970         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11971         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11972         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11973         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11974         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11976 2014-07-09  Andreas Schwab  <schwab@suse.de>
11978         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11979         output.
11980         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11981         (do_test): Likewise.
11983         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11985 2014-07-09  Will Newton  <will.newton@linaro.org>
11987         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11988         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11989         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11990         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11991         * sysdeps/hppa/start.S (_start): Likewise.
11993 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11995         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11997         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11998         defined.
12000 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12002         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12003         after checking that it is non-NULL.
12005         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12007 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12009         * sysdeps/powerpc/memmove.c: Remove file.
12010         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12011         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12012         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12013         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12014         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12015         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12016         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12017         string memmove instead of removed powerpc one.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12020         [weak_alias]: Fix compiler warning due trailing data.
12021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12022         [weak_alias]: Likewise.
12023         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12024         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12027         (__libc_ifunc_impl_list): Add memmove functions.
12029 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12031         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12032         Remove code.
12033         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12034         Likewise
12035         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12036         Likewise
12037         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12038         Likewise
12039         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12040         Likewise
12041         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12042         Likewise
12043         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12044         Likewise
12045         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12046         Likewise
12047         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12048         Likewise
12049         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12050         Likewise
12051         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12052         Likewise
12053         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12054         Likewise
12055         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12056         Likewise
12057         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12058         Likewise
12059         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12060         Likewise
12061         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12062         Likewise
12063         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12064         Likewise
12066 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12068         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12069         to avoid alignment traps in non-cacheable memory.
12070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12073         multiarch objects.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12075         file: multiarch power7 memmove.
12076         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12077         multiarch default memmove.
12078         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12079         multiarch memove for powerpc32/power4.
12081         * string/bcopy.c: Use full path to include memmove.c.
12082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12083         multiarch objects.
12084         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12085         bcopy for powerpc64.
12086         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12087         bcopy for powerpc64.
12088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12089         and memmove implementations.
12090         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12091         optimized multiarch memmove for POWER7/powerpc64.
12092         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12093         default multiarch memmove for powerpc64.
12094         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12095         multiarch for powerpc64.
12096         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12097         for POWER7/powerpc64.
12098         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12099         memmove for POWER7/powerpc64.
12101         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12102         glibc default one.
12104         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12105         __ELF_NATIVE_CLASS equal to 64.
12107 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12109         * sysdeps/nptl/lowlevellock.h: File removed.
12111         * NEWS: NPTL is no longer an add-on!
12112         * nptl/internaltypes.h: Moved ...
12113         * sysdeps/nptl/internaltypes.h: ... here.
12114         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12115         * sysdeps/nptl/fork.c: Likewise.
12116         * sysdeps/nptl/gai_misc.h: Likewise.
12117         * sysdeps/nptl/librt-cancellation.c: Likewise.
12118         * sysdeps/nptl/jmp-unwind.c: Likewise.
12119         * sysdeps/nptl/setxid.h: Likewise.
12120         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12121         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12122         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12123         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12124         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12125         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12126         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12127         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12128         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12129         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12130         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12131         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12132         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12133         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12134         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12135         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12136         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12137         * nptl/Makeconfig: Moved ...
12138         * sysdeps/nptl/Makeconfig: ... here.
12139         * nptl/configure: File removed.
12140         * nptl/ANNOUNCE: File removed.
12141         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12142         * sysdeps/unix/sysv/linux/configure: Regenerated.
12144         * nptl/Makefile (routines): Add libc_pthread_init,
12145         libc_multiple_threads, register-atfork and unregister-atfork.
12146         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12147         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12148         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12149         pthread-pi-defines.sym, structsem.sym.
12150         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12151         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12152         [$(subdir) = nptl] (tests): Add tst-setgetname.
12153         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12154         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12155         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12156         [!LIBC_SIGACTION]: Remove aliases.
12157         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12158         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12159         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12160         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12161         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12162         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12163         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12164         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12165         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12166         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12167         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12168         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12169         __libc_allocate_rtsig_private.
12170         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12171         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12172         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12173         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12174         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12175         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12176         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12177         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12178         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12179         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12180         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12181         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12182         * nptl/internaltypes.h: ... here.
12183         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12184         * sysdeps/nptl/jmp-unwind.c: ... here.
12185         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12186         * nptl/libc-lowlevellock.c: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12188         * nptl/libc_multiple_threads.c: ... here.
12189         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12190         * nptl/libc_pthread_init.c: ... here.
12191         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12192         * nptl/lowlevelbarrier.sym: ... here.
12193         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12194         * nptl/lowlevelcond.sym: ... here.
12195         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12196         * nptl/lowlevellock.c: ... here.
12197         * nptl/lowlevellock.h: Moved ...
12198         * sysdeps/nptl/lowlevellock.h: ... here.
12199         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12200         * nptl/lowlevelrobustlock.c: ... here.
12201         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12202         * nptl/lowlevelrobustlock.sym: ... here.
12203         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12204         * nptl/lowlevelrwlock.sym: ... here.
12205         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12206         * nptl/pt-fork.c: ... here.
12207         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12208         * nptl/pthread-pi-defines.sym: ... here.
12209         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12210         * nptl/pthread_attr_getaffinity.c: ... here.
12211         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12212         * nptl/pthread_attr_setaffinity.c: ... here.
12213         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12214         * nptl/pthread_mutex_cond_lock.c: ... here.
12215         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12216         Update #include.
12217         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12218         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12219         * nptl/pthread_once.c: ... here, replacing old file.
12220         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12221         * nptl/pthread_yield.c: ... here.
12222         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12223         * nptl/register-atfork.c: ... here.
12224         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12225         * nptl/sem_post.c: ... here.
12226         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12227         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12228         * nptl/sem_timedwait.c: ... here.
12229         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12230         * nptl/sem_trywait.c: ... here.
12231         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12232         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12233         * nptl/sem_wait.c: ... here.
12234         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12235         * nptl/structsem.sym: ... here.
12236         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12237         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12238         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12239         * nptl/unregister-atfork.c: ... here.
12240         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12241         * nptl/unwindbuf.sym: ... here.
12242         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12243         * sysdeps/nptl/fork.c: ... here.
12244         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12245         * sysdeps/nptl/fork.h: ... here.
12246         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12247         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12248         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12249         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12250         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12251         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12252         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12253         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12254         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12255         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12256         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12257         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12258         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12260         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12262         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12263         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12264         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12265         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12266         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12268         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12270         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12272         * sysdeps/unix/sysv/linux/raise.c: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12274         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12275         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12276         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12278         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12280         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12282         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12284         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12285         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12286         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12287         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12289 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12291         * sysdeps/generic/memcopy.h: Add comment for
12292         MEMCPY_OK_FOR_FWD_MEMMOVE.
12294 2014-07-04  Will Newton  <will.newton@linaro.org>
12296         * string/memchr.c: Merge from gnulib.
12297         [_LIBC]: Remove conditionals.
12298         (__ptr_t): Remove define.
12299         (LONG_MAX_32_BITS): Likewise.
12300         (LONG_MAX): Likewise.
12301         (MEMCHR): Use ANSI prototype and optimize algorithm.
12303         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12305 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12307         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12308         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12310         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12311         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12312         in a bare environment with no <stdlib.h> installed.
12313         * sysdeps/nptl/configure: Regenerated.
12315         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12317         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12318         AC_EGREP_CPP for kernel header checks, so they only succeed if
12319         including <linux/version.h> actually works right.
12320         * sysdeps/unix/sysv/linux/configure: Regenerated.
12322         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12323         value so it's not diagnosed as unused.
12325         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12326         thing) with "ifeq ($(subdir),rt)".
12328 2014-07-03  Richard Henderson  <rth@redhat.com>
12330         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12331         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12332         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12334         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12335         (math_force_eval): New.
12337         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12338         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12340         * sysdeps/alpha/fpu/s_round.c: Remove file.
12341         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12343         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12344         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12345         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12346         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12347         (_dl_start, print_statistics): Likewise.
12348         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12349         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12351         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12352         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12353         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12354         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12356         (HP_SMALL_TIMING_AVAIL): Define.
12357         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12358         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12359         (HP_SMALL_TIMING_AVAIL): Define.
12360         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12361         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12363         * sysdeps/aarch64/hp-timing.h: New file.
12365         * sysdeps/generic/hp-timing.h: Remove dead comment.
12366         * sysdeps/generic/hp-timing-common.h: New file.
12367         * sysdeps/alpha/hp-timing.h: Include it.
12368         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12369         * sysdeps/i386/i686/hp-timing.h: Likewise.
12370         * sysdeps/ia64/hp-timing.h: Likewise.
12371         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12372         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12373         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12374         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12375         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12376         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12377         (hp_timing_t): New.
12379         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12380         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12381         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12382         * elf/rtld.c (_dl_start_final): Likewise.
12383         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12384         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12385         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12386         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12387         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12389         (HP_TIMING_DIFF_INIT): Remove.
12390         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12391         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12392         (HP_TIMING_DIFF_INIT): Remove.
12393         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12394         * sysdeps/i386/i686/hp-timing.c: Remove file.
12395         * sysdeps/x86_64/hp-timing.c: Remove file.
12396         * sysdeps/ia64/hp-timing.c: Remove file.
12397         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12398         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12400         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12402         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12403         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12404         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12405         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12406         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12407         (HP_TIMING_ACCUM): Remove.
12408         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12409         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12410         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12412         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12413         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12414         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12415         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12416         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12417         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12418         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12419         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12421         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12423 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12425         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12427 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12429         Sync up with gettext.
12430         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12431         [_MSC_VER]: Include malloc.h
12432         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12433         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12434         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12435         TEMP_FAILURE_RETRY.  Cast return of alloca.
12436         [!_LIBC] Call gl_rwlock_init.
12437         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12439 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12441         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12442         before checking its value.
12444 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12446         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12448         * debug/memcpy_chk.c: Don't include pagecopy.h.
12449         * debug/mempcpy_chk.c: Likewise.
12450         * string/memcpy.c: Likewise.
12451         * string/memmove.c: Likewise.
12452         * sysdeps/powerpc/memmove.c: Likewise.
12453         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12454         definition of PAGE_COPY_FWD_MAYBE here...
12455         * sysdeps/generic/pagecopy.h: ... from here.
12456         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12458 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12459             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12461         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12463         optimizations.
12464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12465         (__libc_ifunc_impl_list): Likewise.
12466         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12467         multiarch strcat for PPC64.
12468         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12469         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12471 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12473         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12475 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12477         * intl/loadmsgcat.c: Remove declaration of
12478         get_sysdep_segment_value.
12479         (get_sysdep_segment_value): Use ISO C style.
12480         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12481         semicolon.  Fix typo and formatting in comment.
12482         (_nl_unload_domain): Use ISO C style.
12484         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12486 2014-07-02  Will Newton  <will.newton@linaro.org>
12488         * malloc/obstack.c: Merge from gnulib master.
12489         [HAVE_CONFIG_H]: Remove conditional code.
12490         [!_LIBC]: Include config.h.
12491         [!ELIDE_CODE]: Don't include inttypes.h, include
12492         stdint.h unconditionally.
12493         (print_and_abort): Mark as _Noreturn.
12494         (_obstack_allocated_p): Mark as __attribute_pure__.
12495         (obstack_free): Rename to __obstack_free.
12496         [!__attribute__]: Remove conditional code.
12497         * malloc/obstack.h: Merge from gnulib master.
12498         [__cplusplus]: Move conditional down.
12499         [!__attribute_pure__]: Define __attribute_pure__ here
12500         if it is not already defined.
12501         (_obstack_memory_used): Mark as __attribute_pure__.
12502         [!__obstack_free]: Define as obstack_free.
12503         [__GNUC__]: Remove check for ancient NeXT gcc.
12505 2014-07-02  Will Newton  <will.newton@linaro.org>
12506             Paul Eggert  <eggert@cs.ucla.edu>
12508         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12510 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12512         * resolv/gethnamaddr.c: Add comment warning that the file is
12513         not maintained.
12515 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12517         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12518         entries.
12520         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12521         entry for aio_cancel and aio_cancel64.
12522         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12523         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12524         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12525         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12526         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12527         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12528         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12529         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12530         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12531         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12532         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12533         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12534         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12536 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12538         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12539         * nptl/pthread_mutex_lock.c: Likewise.
12540         * nptl/pthread_mutex_timedlock.c: Likewise.
12541         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12543 2014-07-01  Richard henderson  <rth@redhat.com>
12545         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12546         (__isnan, __isnanl): Remove.
12547         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12549         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12551 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12553         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12555 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12557         * resolv/nss_dns/dns-host.c (getanswer_r)
12558         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12560 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12563         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12564         undefine.
12565         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12566         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12568 2014-07-01  Roland McGrath <roland@hack.frob.com>
12570         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12571         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12573         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12574         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12576         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12577         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12578         ... here.
12579         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12580         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12582         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12583         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12584         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12585         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12587         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12588         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12589         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12590         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12591         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12592         Moved ...
12593         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12594         ... here.
12595         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12596         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12597         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12598         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12599         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12600         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12601         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12602         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12604         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12605         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12606         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12607         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12608         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12609         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12610         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12612         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12613         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12614         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12615         ... here.
12616         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12619         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12620         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12621         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12622         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12623         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12625 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12627         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12628         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12629         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12630         Add sysdep.
12632 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12636 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12638         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12639         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12641         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12643         * sysdeps/arm/libm-test-ulps: Regenerated.
12645 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12646             Roland McGrath <roland@hack.frob.com>
12648         * test-skeleton.c (signal_handler): Kill the whole process group
12649         before killing the child individually.
12650         (main): Report any failure on `setpgid'.
12652 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12654         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12655         from _TLS_H to _ARM_NPTL_TLS_H.
12656         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12657         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12659 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12661         [BZ #16539]
12662         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12663         (__expm1l): Return argument unchanged when small but not
12664         subnormal.
12666         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12667         include macro name.
12668         (_FP_UNPACK_RAW_1_P): Likewise.
12669         (_FP_PACK_RAW_1): Likewise.
12670         (_FP_PACK_RAW_1_P): Likewise.
12671         (_FP_MUL_MEAT_1_wide): Likewise.
12672         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12673         (_FP_MUL_MEAT_1_hard): Likewise.
12674         (_FP_DIV_MEAT_1_imm): Likewise.
12675         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12676         (_FP_DIV_MEAT_1_udiv): Likewise.
12677         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12678         (_FP_UNPACK_RAW_2): Likewise.
12679         (_FP_UNPACK_RAW_2_P): Likewise.
12680         (_FP_PACK_RAW_2): Likewise.
12681         (_FP_PACK_RAW_2_P): Likewise.
12682         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12683         (_FP_MUL_MEAT_2_wide): Likewise.
12684         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12685         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12686         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12687         (_FP_MUL_MEAT_2_gmp): Likewise.
12688         (_FP_DIV_MEAT_2_udiv): Likewise.
12689         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12690         (_FP_FRAC_SRL_4): Likewise.
12691         (_FP_FRAC_SRST_4): Likewise.
12692         (_FP_FRAC_SRS_4): Likewise.
12693         (_FP_UNPACK_RAW_4): Likewise.
12694         (_FP_UNPACK_RAW_4_P): Likewise.
12695         (_FP_PACK_RAW_4): Likewise.
12696         (_FP_PACK_RAW_4_P): Likewise.
12697         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12698         (_FP_MUL_MEAT_4_wide): Likewise.
12699         (_FP_MUL_MEAT_4_gmp): Likewise.
12700         (umul_ppppmnnn): Likewise.
12701         (_FP_DIV_MEAT_4_udiv): Likewise.
12702         (__FP_FRAC_ADD_4): Likewise.
12703         (__FP_FRAC_SUB_3): Likewise.
12704         (__FP_FRAC_SUB_4): Likewise.
12705         (__FP_FRAC_DEC_3): Likewise.
12706         (__FP_FRAC_DEC_4): Likewise.
12707         (__FP_FRAC_ADDI_4): Likewise.
12708         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12709         (_FP_FRAC_SRL_8): Likewise.
12710         (_FP_FRAC_SRS_8): Likewise.
12712         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12713         include macro name.
12714         (FP_UNPACK_RAW_EP): Likewise.
12715         (FP_PACK_RAW_E): Likewise.
12716         (FP_PACK_RAW_EP): Likewise.
12717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12718         (_FP_ISSIGNAN): Likewise.
12719         (_FP_ADD_INTERNAL): Likewise.
12720         (_FP_FMA): Likewise.
12721         (_FP_CMP): Likewise.
12722         (_FP_SQRT): Likewise.
12723         (_FP_TO_INT): Likewise.
12724         (_FP_FROM_INT): Likewise.
12725         (FP_EXTEND): Likewise.
12726         (_FP_DIV_MEAT_N_loop): Likewise.
12728 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12730         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12731         throughout.
12733 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12735         [BZ #17097]
12736         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12737         result with correct sign in case of exponents that produce
12738         overflow except for X very close to 1.
12740 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12742         mktime: merge #if/#ifdef usage from glibc
12743         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12744         as that works with both Glibc's and Gnulib's style.
12745         See thread starting at Siddhesh Poyarekar's bug report at:
12746         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12748 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12750         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12751         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12752         * sysdeps/tile/tilegx/memmove.c: Remove file.
12754 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12756         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12757         abi-name definition.
12758         * scripts/soversions.awk: Do not handle or generate ABI lines.
12759         * shlib-versions: Remove ABI entries.
12760         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12761         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12763 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12766         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12767         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12768         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12770         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12772         Moved ...
12773         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12774         ... here.
12775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12776         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12778         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12780         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12782         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12788         Moved ...
12789         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12790         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12791         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12793         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12795         Moved ...
12796         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12798         Moved ...
12799         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12801         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12803         Moved ...
12804         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12806         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12808         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12810         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12812         Moved ...
12813         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12815         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12816         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12817         Moved ...
12818         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12820         Moved ...
12821         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12822         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12823         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12824         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12825         Moved ...
12826         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12827         ... here.
12828         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12829         Identical file removed.
12830         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12831         Moved ...
12832         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12833         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12834         Identical file removed.
12835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12836         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12837         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12838         Moved ...
12839         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12840         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12841         Identical file removed.
12842         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12843         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12845         Identical file removed.
12846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12847         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12849         Identical file removed.
12850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12851         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12853         Identical file removed.
12854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12855         Moved ...
12856         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12858         Identical file removed.
12859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12860         Moved ...
12861         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12863         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12865         Identical file removed.
12866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12867         Moved ...
12868         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12869         ... here.
12870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12871         Identical file removed.
12872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12873         Moved ...
12874         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12876         Identical file removed.
12877         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12878         Moved ...
12879         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12881         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12883         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12885         Moved ...
12886         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12887         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12888         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12890         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12891         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12892         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12893         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12894         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12896 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12898         [BZ #17092]
12899         * nscd/nscd.c (monitor_child): Return exit status of child
12900         instead of return value from wait syscall.
12902 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12904         * configure.ac (libc_commonpagesize): Remove variable.
12905         (libc_relro_required): Likewise.
12906         (libc_cv_z_relro): Remove configure test.
12907         * configure: Regenerated.
12908         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12909         variable.
12910         (libc_relro_required): Likewise.
12911         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12912         (libc_relro_required): Likewise.
12913         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12914         (libc_relro_required): Likewise.
12915         * sysdeps/arm/preconfigure: Regenerated.
12916         * sysdeps/ia64/preconfigure: Remove file.
12917         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12918         variable.
12919         (libc_relro_required): Likewise.
12921         [BZ #16561]
12922         [BZ #16562]
12923         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12924         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12925         recompute overflowing results in original rounding mode.
12926         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12927         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12928         recompute overflowing results in original rounding mode.
12929         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12930         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12931         recompute overflowing results in original rounding mode.
12932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12933         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12934         recompute overflowing results in original rounding mode.
12935         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12936         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12937         recompute overflowing results in original rounding mode.
12938         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12939         (libc_feholdsetround_ctx): New macro.
12940         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12941         * sysdeps/i386/fpu/libm-test-ulps: Update.
12942         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12944 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12946         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12947         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12948         corresponding .cpsetup call.
12950 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12952         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12953         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12954         * sysdeps/arm/Makefile [$(subdir) = csu]
12955         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12956         (static-only-routines): Add aeabi_read_tp here.
12957         (shared-only-routines): Add libc-aeabi_read_tp here.
12958         (CFLAGS-libc-start.c): Add -fexceptions here.
12959         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12960         (sysdep_routines, static-only-routines, shared-only-routines):
12961         Don't add to these here.
12962         (CFLAGS-libc-start.c): Likewise.
12964         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12965         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12966         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12967         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12968         * sysdeps/arm/Makefile [$(subdir) = rt]
12969         (librt-sysdep_routines, librt-shared-only-routines):
12970         Append rt-aeabi_unwind_cpp_pr1 here.
12971         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12972         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12973         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12974         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12975         Append nptl-aeabi_unwind_cpp_pr1 here.
12976         (tests): Filter out tst-cleanupx4 here.
12977         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12978         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12979         Don't do those here.
12981 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12983         * scripts/list-sources.sh: Do not handle ports specially.
12985 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12987         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12988         * sysdeps/arm/feupdateenv.c: Likewise.
12990         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12992 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12994         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12995         trailing whitespace removed.
12996         * scripts/config.guess: Update to version 2014-03-23.
12997         * scripts/config.sub: Update to version 2014-05-01
12998         * scripts/install-sh: Update to version 2013-12-25.23.
12999         * scripts/move-if-change: Update from gnulib.
13001 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13003         * debug/memmove_chk.c: Remove pagecopy.h include.
13005 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13007         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13008         identical to gnulib mktime.
13010 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13012         * configure.ac: Do not test for machine being rs6000.  Do not test
13013         for powerpc*-*soft.
13014         * configure: Regenerated.
13016         [BZ #11505]
13017         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13018         test.
13019         * configure: Regenerated.
13020         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13021         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13022         Remove configure test.
13023         * sysdeps/arm/configure: Regenerated.
13024         * sysdeps/nptl/configure.ac: Do not check
13025         libc_cv_asm_cfi_directives.
13026         * sysdeps/nptl/configure: Regenerated.
13027         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13028         * sysdeps/x86_64/nptl/configure: Remove generated file.
13029         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13030         unconditional.
13031         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13033 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13035         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13036         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13037         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13038         it is defined.
13040         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13041         instead of whether it is defined.
13042         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13043         * sysdeps/hppa/dl-machine.h: Likewise.
13044         * sysdeps/ia64/dl-machine.h: Likewise.
13045         * sysdeps/m68k/dl-machine.h: Likewise.
13046         * sysdeps/microblaze/dl-machine.h: Likewise.
13047         * sysdeps/mips/dl-machine.: Likewise.
13048         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13050         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13051         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13052         * sysdeps/sh/dl-machine.h: Likewise.
13053         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13054         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13055         * sysdeps/tile/dl-machine.h: Likewise.
13056         * sysdeps/x86_64/dl-machine.h: Likewise.
13058         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13059         code.
13060         (verify_persistent_db): Likewise.
13062 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13065         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13067         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13069         Moved ...
13070         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13071         ... here.
13072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13073         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13075         Identical file removed.
13076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13077         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13079         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13081         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13083         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13085         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13087         Moved ...
13088         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13090         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13092         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13094         Moved ...
13095         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13097         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13099         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13101         Identical file removed.
13102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13103         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13105         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13107         Moved ...
13108         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13109         ... here.
13110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13111         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13113         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13115         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13117         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13119         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13121         Moved ...
13122         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13124         Moved ...
13125         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13127         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13129         Moved ...
13130         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13132         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13134         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13135         folded into ...
13136         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13137         * sysdeps/unix/sysv/linux/s390/Versions
13138         (libpthread: GLIBC_2.19): New version set.
13139         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13140         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13141         (librt: GLIBC_2.3.3): New version set.
13142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13143         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13144         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13145         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13146         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13147         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13148         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13149         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13150         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13151         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13152         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13153         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13154         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13155         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13156         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13157         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13158         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13159         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13161         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13162         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13164         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13166         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13168         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13170         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13171         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13172         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13173         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13178         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13180         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13182         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13184         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13186         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13188         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13189         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13190         (__libc_vfork): Define the function under this name.
13191         [!NOT_IN_libc] (__vfork): Make this an alias.
13192         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13194         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13195         (__libc_vfork): Define the function under this name.
13196         [!NOT_IN_libc] (__vfork): Make this an alias.
13197         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13198         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13199         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13201         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13202         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13204         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13205         code that was previously under [RESET_PID].
13206         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13207         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13210         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13211         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13212         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13213         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13214         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13215         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13216         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13217         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13218         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13219         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13221         Moved ...
13222         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13223         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13224         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13225         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13227         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13228         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13229         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13230         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13231         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13232         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13235         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13236         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13237         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13238         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13239         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13240         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13241         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13242         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13243         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13244         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13245         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13246         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13247         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13248         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13250         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13252 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13254         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13255         that was previously under [RESET_PID].
13256         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13258 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13260         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13261         not undefine and redefine.
13262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13263         [O_CLOEXEC]: Make code unconditional.
13264         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13265         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13266         <kernel-features.h>.
13267         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13268         conditional variable definition.
13269         (shm_open) [O_CLOEXEC]: Make code unconditional.
13270         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13271         code.
13273         * configure.ac (USE_REGPARMS): Don't define here.
13274         * configure: Regenerated.
13275         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13276         * sysdeps/i386/configure: Regenerated.
13278         * nptl/createthread.c: Don't include kernel-features.h.
13279         * nptl/pthread_cancel.c: Likewise.
13280         * nptl/pthread_condattr_setclock.c: Likewise.
13281         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13282         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13283         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13284         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13285         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13286         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13287         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13290         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13291         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13292         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13293         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13294         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13295         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13296         * nscd/gai.c: Likewise.
13297         * nss/nss_db/db-open.c: Likewise.
13298         * sysdeps/generic/ldsodefs.h: Likewise.
13299         * sysdeps/sh/nptl/tls.h: Likewise.
13300         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13301         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13302         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13303         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13304         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13305         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13306         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13307         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13308         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13309         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13310         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13311         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13312         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13313         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13314         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13315         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13316         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13317         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13318         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13319         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13321         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13322         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13323         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13328         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13329         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13330         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13331         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13332         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13333         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13334         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13335         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13336         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13337         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13338         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13339         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13340         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13341         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13342         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13343         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13344         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13345         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13346         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13347         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13348         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13349         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13350         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13351         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13352         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13353         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13354         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13355         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13356         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13357         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13380         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13381         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13382         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13383         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13384         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13385         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13387         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13388         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13389         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13390         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13391         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13392         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13393         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13394         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13395         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13396         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13397         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13398         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13399         * sysdeps/unix/sysv/linux/system.c: Likewise.
13400         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13401         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13402         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13403         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13404         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13405         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13406         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13408         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13409         * configure: Regenerated.
13410         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13412         * configure.ac (base_machine): Do not set specially for particular
13413         machines here.
13414         * configure: Regenerated.
13415         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13416         settings from configure.ac.
13417         * sysdeps/i386/preconfigure: New file.
13418         * sysdeps/s390/preconfigure: Likewise.
13419         * sysdeps/sh/preconfigure: Likewise.
13420         * sysdeps/sparc/preconfigure: Likewise.
13422 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13424         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13425         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13426         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13427         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13428         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13429         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13430         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13431         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13432         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13433         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13434         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13435         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13436         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13438         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13440         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13441         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13442         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13444         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13445         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13446         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13447         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13448         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13449         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13450         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13451         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13452         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13453         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13454         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13455         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13456         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13457         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13458         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13459         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13460         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13461         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13462         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13463         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13464         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13465         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13466         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13467         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13468         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13469         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13471         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13473         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13474         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13475         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13476         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13477         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13478         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13479         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13481         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13484         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13486         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13488         Moved ...
13489         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13490         ... here.
13491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13492         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13494         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13496         Moved ...
13497         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13499         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13503         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13505         Moved ...
13506         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13508         Moved ...
13509         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13511         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13513         Moved ...
13514         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13518         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13520         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13522         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13524         Moved ...
13525         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13526         ... here.
13527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13528         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13530         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13532         Moved ...
13533         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13535         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13537         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13541         Moved ...
13542         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13544         Moved ...
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13547         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13549         Moved ...
13550         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13552         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13554         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13556 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13558         * timezone/checktab.awk: Update from tzcode 2014e.
13559         * timezone/private.h: Likewise.
13560         * timezone/tzfile.h: Likewise.
13561         * timezone/zdump.c: Likewise.
13562         * timezone/zic.c: Likewise.
13564         * sysdeps/unix/sysv/linux/kernel-features.h
13565         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13566         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13567         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13568         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13569         Remove conditional code.
13571 2014-06-25  Will Newton  <will.newton@linaro.org>
13573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13574         (_dl_arm_cap_flags): Add HWCAP2 values.
13575         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13576         (_DL_HWCAP_COUNT): Increase to 37.
13577         (_DL_HWCAP_LAST): New define.
13578         (_DL_HWCAP2_LAST): New define.
13579         (_dl_procinfo): Add support for printing
13580         AT_HWCAP2 entries.
13581         (_dl_string_hwcap): Use _dl_hwcap_string.
13583 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13587 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13589         * README: Do not mention ports directory.
13591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13592         Remove macro.
13593         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13594         <kernel-features.h>.
13595         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13596         conditional variable definition.
13597         (__futimes): Update comment.
13598         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13599         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13601         [BZ #16560]
13602         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13603         arguments close to 0.
13604         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13605         Likewise.
13606         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13607         Likewise.
13608         * math/auto-libm-test-in: Add more tests of exp10.
13609         * math/auto-libm-test-out: Regenerated.
13610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13612         * sysdeps/unix/sysv/linux/kernel-features.h
13613         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13614         * sysdeps/unix/sysv/linux/readv.c: Do not include
13615         <kernel-features.h>.
13616         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13617         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13618         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13619         unconditional.
13620         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13621         conditional code.
13622         * sysdeps/unix/sysv/linux/writev.c: Do not include
13623         <kernel-features.h>.
13624         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13625         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13626         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13627         unconditional.
13628         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13629         conditional code.
13631 2014-06-25  Will Newton  <will.newton@linaro.org>
13633         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13634         comment changes throughout the file.  Remove checks
13635         for HAVE_*_H definitions that are not required.
13636         (__gen_tempname): Call abort if an unknown kind value is
13637         passed.
13639 2014-06-25  Andreas Schwab  <schwab@suse.de>
13641         [BZ #17086]
13642         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13643         scalbln, scalblnf, scalblnl in libc.
13645 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13647         [BZ #17086]
13648         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13649         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13650         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13652 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13654         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13655         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13656         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13657         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13658         Update #include.
13659         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13660         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13661         Update #include.
13662         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13663         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13664         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13665         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13666         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13667         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13668         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13669         * sysdeps/x86/bits/semaphore.h: ... here.
13670         * sysdeps/x86/nptl/elide.h: Moved ...
13671         * sysdeps/x86/elide.h: ... here.
13672         * sysdeps/x86_64/nptl/Implies: File removed.
13673         * sysdeps/i386/nptl/Implies: File removed.
13675 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13677         [BZ #16539]
13678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13679         return the argument for normal arguments with exponent below -64.
13680         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13681         Likewise.
13682         * math/auto-libm-test-in: Add another test of expm1.
13683         * math/auto-libm-test-out: Regenerated.
13685         [BZ #16287]
13686         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13687         calling __erfcl for arguments at least 16.
13688         * math/auto-libm-test-in: Add more tests of erf.
13689         * math/auto-libm-test-out: Regenerated.
13691         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13692         individual architectures.
13693         * sysdeps/unix/sysv/linux/configure: Regenerated.
13694         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13695         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13696         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13697         (ldd_rewrite_script): Define variable.
13698         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13700         file.
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13702         generated file.
13703         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13704         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13705         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13706         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13707         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13708         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13709         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13710         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13712 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13714         [BZ #17084]
13715         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13716         Rename member __data.d to __data.__elision_data.
13718 2014-06-24  Wilco  <wdijkstr@arm.com>
13720         * NEWS: Add 16918 to fixed bug list.
13722 2014-06-24  Wilco  <wdijkstr@arm.com>
13724         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13726 2014-06-24  Wilco  <wdijkstr@arm.com>
13728         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13729         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13730         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13731         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13732         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13733         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13734         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13735         Use _FPU_MASK_RM.
13737 2014-06-24  Wilco  <wdijkstr@arm.com>
13739         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13741 2014-06-24  Wilco  <wdijkstr@arm.com>
13743         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13744         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13745         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13746         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13748 2014-06-24  Wilco  <wdijkstr@arm.com>
13750         [BZ #16918]
13751         * sysdeps/arm/feupdateenv.c (feupdateenv):
13752         Rewrite to reduce FPSCR accesses and fix return value.
13754 2014-06-24  Wilco  <wdijkstr@arm.com>
13756         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13757         Optimize to avoid unnecessary FPSCR writes.
13758         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13759         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13760         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13761         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13763 2014-06-24  Wilco  <wdijkstr@arm.com>
13765         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13766         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13767         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13768         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13769         Call libc_fetestexcept_vfp.
13770         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13771         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13772         __SOFTFP__ ifdef so that they can be built for softfp.
13774 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13776         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13777         argument type signed char.
13779         * Makerules (check-abi): Dump diff of symlist if the test
13780         fails.
13782 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13784         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13785         using abort.
13787         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13788         Remove unused variable ST.
13790 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13792         [BZ #16354]
13793         [BZ #17061]
13794         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13795         small arguments before calling __expm1.
13796         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13797         small arguments before calling __expm1f.
13798         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13799         small arguments before calling __expm1l.
13800         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13801         Likewise.
13802         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13803         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13804         spurious underflow for some cosh tests.
13805         * math/auto-libm-test-out: Regenerated.
13806         * sysdeps/i386/fpu/libm-test-ulps: Update.
13808         [BZ #17050]
13809         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13810         (__ieee754_y1): Set errno if return value overflows.
13811         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13812         (__ieee754_y1f): Set errno if return value overflows.
13813         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13814         (__ieee754_y1l): Set errno if return value overflows.
13815         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13816         (__ieee754_y1l): Set errno if return value overflows.
13817         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13818         * math/auto-libm-test-out: Regenerated.
13820         * math/gen-auto-libm-tests.c: Document use of
13821         ignore-zero-inf-sign.
13822         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13823         (input_flags): Add ignore-zero-inf-sign.
13824         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13825         * math/gen-libm-test.pl (generate_testfile): Handle
13826         ignore-zero-inf-sign.
13827         * math/auto-libm-test-in: Mark some cpow tests with
13828         ignore-zero-inf-sign and some with xfail-rounding.
13829         * math/auto-libm-test-out: Regenerated.
13830         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13831         * sysdeps/i386/fpu/libm-test-ulps: Update.
13832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13834         [BZ #16315]
13835         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13836         overflowing or underflowing operations take place with sign of
13837         result.
13838         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13839         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13840         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13841         (__ieee754_pow): Recompute overflowing and underflowing results in
13842         original rounding mode.
13843         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13844         (__powl_helper): Allow negative argument X and scale negated value
13845         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13846         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13847         overflowing or underflowing operations take place with sign of
13848         result.
13849         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13850         Include <math.h>.
13851         * math/auto-libm-test-in: Add more tests of pow.
13852         * math/auto-libm-test-out: Regenerated.
13853         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13854         (pow_tonearest_test_data): Remove.
13855         (pow_test_tonearest): Likewise.
13856         (pow_towardzero_test_data): Likewise.
13857         (pow_test_towardzero): Likewise.
13858         (pow_downward_test_data): Likewise.
13859         (pow_test_downward): Likewise.
13860         (pow_upward_test_data): Likewise.
13861         (pow_test_upward): Likewise.
13862         (main): Don't call removed functions.
13863         * sysdeps/i386/fpu/libm-test-ulps: Update.
13864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13866 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13869         Moved ...
13870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13872         Moved ...
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13875         Moved ...
13876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13878         Moved ...
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13881         File removed.
13882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13883         File removed.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13885         File removed.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13887         File removed.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13889         File removed.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13891         File removed.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13893         File removed.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13895         File removed.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13897         File removed.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13899         File removed.
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13901         File removed.
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13903         File removed.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13905         Moved ...
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13908         Moved ...
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13910         ... here.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13912         Moved ...
13913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13915         Moved ...
13916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13918         Moved ...
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13921         Moved ...
13922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13924         Moved ...
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13927         Moved ...
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13930         Moved ...
13931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13934         ... here.
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13936         Moved ...
13937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13939         Moved ...
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13941         ... here.
13942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13943         Moved ...
13944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13945         ... here.
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13947         Moved ...
13948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13949         ... here.
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13951         Moved ...
13952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13954         Moved ...
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13959         Moved ...
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13961         ... here.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13963         Moved ...
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13965         ... here.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13967         Moved ...
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13970         Moved ...
13971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13973         Moved ...
13974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13976         Moved ...
13977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13979         Moved ...
13980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13981         ... here.
13982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13986         Moved ...
13987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13989         Moved ...
13990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13992         Moved ...
13993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13997         Moved ...
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14000         Moved ...
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14003         Moved ...
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14005         ... here.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14007         Moved ...
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14009         ... here.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14011         Moved ...
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14013         ... here.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14015         Moved ...
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14018         Moved ...
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14021         Moved ...
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14024         Moved ...
14025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14026         ... here.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14028         Moved ...
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14030         ... here.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14032         Moved ...
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14034         ... here.
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14036         Moved ...
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14039         Moved ...
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14042 2014-06-23  Will Newton  <will.newton@linaro.org>
14043             Wilco  <wdijkstr@arm.com>
14045         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14046         implementation.  Include get-rounding-mode.h.
14047         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14048         [!libc_feholdsetround_noex_ctx]: Define
14049         libc_feholdsetround_noex_ctx.
14050         [!libc_feholdsetround_noexf_ctx]: Define
14051         libc_feholdsetround_noexf_ctx.
14052         [!libc_feholdsetround_noexl_ctx]: Define
14053         libc_feholdsetround_noexl_ctx.
14054         (libc_feholdsetround_ctx): New function.
14055         (libc_feresetround_ctx): New function.
14056         (libc_feholdsetround_noex_ctx): New function.
14057         (libc_feresetround_noex_ctx): New function.
14059 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14061         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14062         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14063         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14064         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14065         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14066         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14068         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14069         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14070         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14071         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14072         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14073         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14075         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14077         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14078         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14079         Moved ...
14080         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14081         ... here.
14082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14083         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14085         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14087         Moved ...
14088         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14090         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14092         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14094         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14096         Moved ...
14097         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14099         Moved ...
14100         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14102         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14104         Moved ...
14105         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14107         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14109         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14110         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14111         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14112         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14113         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14115         Moved ...
14116         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14117         ... here.
14118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14119         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14120         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14121         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14122         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14123         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14125         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14127         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14129         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14131         Moved ...
14132         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14134         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14136         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14138         Moved ...
14139         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14141         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14142         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14143         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14145         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14146         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14147         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14148         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14149         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14150         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14151         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14152         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14154         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14155         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14156         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14157         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14158         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14160         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14161         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14162         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14163         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14164         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14165         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14166         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14167         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14168         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14169         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14170         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14171         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14172         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14174 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14177         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14178         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14179         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14180         (IPV6_PMTUDISC_INTERFACE): Likewise.
14181         (IPV6_PMTUDISC_OMIT): Likewise.
14183 2014-06-23  Andreas Schwab  <schwab@suse.de>
14185         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14186         Remove unused errout label.
14188 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14190         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14191         macro: hardware supports Vector Crypto instructions.
14193 2014-06-23  Will Newton  <will.newton@linaro.org>
14195         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14196         rather than __builtin_expect.
14198         * elf/dl-lookup.c (undefined_msg): Remove variable.
14199         (_dl_lookup_symbol_x): Replace undefined_msg with string
14200         literal.
14202         * elf/dl-lookup.c (do_lookup_unique): New function.
14203         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14204         to a separate function.
14206 2014-06-23  Andreas Schwab  <schwab@suse.de>
14208         [BZ #17079]
14209         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14210         before reading the next line.
14212 2014-06-23  Will Newton  <will.newton@linaro.org>
14214         * test-skeleton.c (signal_handler): Use printf and %m
14215         rather than perror.  Use printf rather than fprintf to
14216         stderr.  Use puts rather than fputs to stderr.
14217         (main): Likewise.
14219 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14221         * nscd/nscd.c (thread_info_t): Remove typedef.
14222         (thread_info): Remove variable.
14224 2014-06-21  Allan McRae  <allan@archlinux.org>
14226         * NEWS: Mention CVE-2014-4043.
14228 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14230         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14231         * nptl/smp.h: ... here.
14233         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14235         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14236         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14237         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14238         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14240         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14241         * nptl/stack-aliasing.h: New file.
14242         * sysdeps/i386/i686/stack-aliasing.h: New file.
14243         * sysdeps/i386/i686/nptl/Makefile: File removed.
14244         * sysdeps/x86_64/stack-aliasing.h: New file.
14245         * sysdeps/x86_64/nptl/Makefile
14246         (CFLAGS-pthread_create.c): Variable removed.
14248         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14249         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14250         old file.
14251         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14252         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14253         old file.
14255 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14258         (__ASSUME_SIGFRAME_V2): Remove macro.
14259         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14260         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14261         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14262         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14263         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14264         Declare as function.  Remove conditional macro definitions.
14265         (__default_rt_sa_restorer): Likewise.
14266         (__default_sa_restorer_v1): Remove declaration.
14267         (__default_sa_restorer_v2): Likewise.
14268         (__default_rt_sa_restorer_v1): Likewise.
14269         (__default_rt_sa_restorer_v2): Likewise.
14270         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14271         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14272         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14274 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14276         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14277         (libpthread-routines): Add sysdep.
14278         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14279         * sysdeps/unix/sysv/linux/sparc/Versions
14280         (libpthread: GLIBC_2.3.3): New version set.
14281         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14282         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14283         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14284         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14285         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14286         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14287         Moved ...
14288         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14289         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14290         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14291         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14292         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14293         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14294         * sysdeps/sparc/nptl/sem_init.c: ... here.
14295         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14296         * sysdeps/sparc/nptl/sem_post.c: ... here.
14297         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14298         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14299         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14300         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14301         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14302         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14303         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14304         (libpthread-routines): Add cpu_relax.
14305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14306         File removed.
14307         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14308         (librt: GLIBC_2.3.3): New version set.
14309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14310         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14311         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14312         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14315         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14317         Moved ...
14318         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14320         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14322         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14324         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14326         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14328         Moved ...
14329         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14330         Update #include.
14331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14332         Moved ...
14333         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14334         Update #include.
14335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14336         Moved ...
14337         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14338         Update #include.
14339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14340         Moved ...
14341         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14342         Update #include.
14343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14344         Moved ...
14345         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14346         Update #include.
14347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14348         Moved ...
14349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14350         Update #include.
14351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14352         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14354         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14358         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14362         Moved ...
14363         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14365         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14367         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14369 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14371         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14372         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14373         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14374         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14375         * nscd/nscd.c: Likewise.
14376         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14377         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14378         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14379         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14381         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14382         <kernel-features.h>.
14383         (init_mq_netlink): Remove conditional have_sock_cloexec
14384         definitions.  Remove code conditional on have_sock_cloexec < 0.
14385         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14386         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14387         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14388         <kernel-features.h>.
14389         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14390         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14392 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14395         Add tests for memset_chk and memset.
14397         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14398         with AVX2_Usable.
14400 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14402         [BZ #16046]
14403         * elf/tst-dl-iter-static.c: New file.
14404         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14406         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14407         error.
14409 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14411         * sysdeps/unix/sysv/linux/kernel-features.h
14412         (__ASSUME_F_GETOWN_EX): Remove macro.
14413         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14414         <kernel-features.h>.
14415         (miss_F_GETOWN_EX): Remove variable or macro.
14416         (do_fcntl): Do not check miss_F_GETOWN_EX.
14417         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14420         Remove macro.
14421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14422         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14423         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14425         * sysdeps/unix/sysv/linux/kernel-features.h
14426         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14427         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14428         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14429         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14431 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14433         [BZ #17075]
14434         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14435         Fix calculation of the symbol's value.
14436         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14437         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14438         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14439         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14440         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14441         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14442         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14443         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14444         (modules-names): Add `tst-armtlsdescmod',
14445         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14446         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14447         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14448         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14449         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14450         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14451         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14452         ($(objpfx)tst-armtlsdescloc): New dependency.
14453         ($(objpfx)tst-armtlsdescextnow): Likewise.
14454         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14455         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14456         TLS scheme support.
14457         * sysdeps/arm/configure: Regenerate.
14459 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14461         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14462         (__atfct_seterrno_2): Likewise.
14463         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14464         <kernel-features.h>.
14465         (__ASSUME_ATFCTS): Do not undefine and redefine.
14466         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14467         (__have_atfcts): Remove conditional definition.
14468         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14469         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14470         unreachable if [__ASSUME_ATFCTS].
14471         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14472         not undefine and redefine.
14473         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14474         <kernel-features.h>.
14475         (faccessat) [__NR_faccessat]: Make code unconditional.
14476         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14477         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14478         <kernel-features.h>.
14479         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14480         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14481         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14482         <kernel-features.h>.
14483         (fchownat) [__NR_fchownat]: Make code unconditional.
14484         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14485         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14486         <kernel-features.h>.
14487         (futimesat) [__NR_futimesat]: Make code unconditional.
14488         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14489         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14490         <kernel-features.h>.
14491         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14492         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14493         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14494         <kernel-features.h>.
14495         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14496         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14497         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14498         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14499         <kernel-features.h>.
14500         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14501         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14502         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14503         <kernel-features.h>.
14504         (linkat) [__NR_linkat]: Make code unconditional.
14505         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14506         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14507         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14508         <kernel-features.h>.
14509         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14510         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14511         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14512         <kernel-features.h>.
14513         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14514         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14515         * sysdeps/unix/sysv/linux/openat.c: Do not include
14516         <kernel-features.h>.
14517         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14518         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14519         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14520         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14521         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14522         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14523         <kernel-features.h>.
14524         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14525         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14526         result of INLINE_SYSCALL directly, not via int variable.
14527         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14528         <kernel-features.h>.
14529         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14530         (renameat) [__NR_renameat]: Make code unconditional.
14531         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14532         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14533         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14534         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14535         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14536         (__ASSUME_ATFCTS): Do not undefine and redefine.
14537         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14538         <kernel-features.h>.
14539         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14540         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14541         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14542         <kernel-features.h>.
14543         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14544         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14545         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14546         (__ASSUME_ATFCTS): Do not undefine and redefine.
14547         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14548         <kernel-features.h>.
14549         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14550         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14551         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14552         <kernel-features.h>.
14553         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14554         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14556 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14558         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14560 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14562         [BZ #17069]
14563         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14564         constructed tree before returning error.
14565         * posix/bug-regexp36.c: Expand test case.
14567 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14569         [BZ #6803]
14570         * math/libm-test.inc (scalbln_test_date):
14571         Add errno expectations.
14572         * math/w_scalblnf.c: New File.
14573         Add wrapper which checks for setting errno to ERANGE.
14574         Add weak_alias for corresponding scalbln function.
14575         * math/w_scalbln.c: Likewise.
14576         * math/w_scalblnl.c: Likewise.
14577         * math/Makefile (libm-calls): Add w_scalbln.
14578         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14579         Remove weak_alias for corresponding scalbln function.
14580         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14584         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14585         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14586         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14587         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14588         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14589         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14590         Remove long_double_symbol for scalblnl function in libm, libc.
14591         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14592         Add wrapper which checks for setting errno to ERANGE.
14593         Add long_double_symbol for scalblnl function in libm, libc.
14594         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14595         Remove long_double_symbol for scalblnl in libm.
14596         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14597         Add wrapper which checks for setting errno to ERANGE.
14598         Add long_double_symbol for scalblnl function in libm.
14599         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14600         Do not use wrapper because of own implementation.
14602 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14604         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14605         3 bytes for __pad1 for x32.
14606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14608 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14609             H.J. Lu  <hongjiu.lu@intel.com>
14611         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14612         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14613         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14615         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14617 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14619         [BZ #17069]
14620         * posix/regcomp.c (parse_expression): Deallocate partially
14621         constructed tree before returning error.
14622         * posix/Makefile.c (tests): Add bug-regex36.
14623         (generated): Add bug-regex36.mtrace.
14624         (tests-special): Add $(objpfx)bug-regex36-mem.out
14625         (bug-regex36-ENV): New variable.
14626         ($(objpfx)bug-regex36-mem.out): New rule.
14627         * posix/bug-regex36.c: New file.
14629 2014-06-19  Will Newton  <will.newton@linaro.org>
14631         * malloc/malloc.c (systrim): If extra is zero then return
14632         early.
14634 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14636         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14638 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14640         * sysdeps/aarch64/strchr.S: New file.
14642 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14644         [BZ #17022]
14645         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14646         from arguments -2 or below.
14647         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14648         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14650 2014-06-18  Andreas Schwab  <schwab@suse.de>
14652         [BZ #17062]
14653         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14654         of a bracket expr not to run off the end of the string.
14655         * posix/Makefile (tests): Add tst-fnmatch3.
14656         * posix/tst-fnmatch3.c: New file.
14658 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14660         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14661         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14662         [$(cross-compiling) = no]: Likewise.
14663         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14664         [$(cross-compiling) = no]: Likewise.
14666 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14668         [BZ #17031]
14669         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14670         double, adjusted for any remainder from the high double.
14671         * math/libm-test.inc (nearbyint): Add tests.
14672         (rint): Likewise.
14674 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14676         * nptl/sysdeps/powerpc/Makefile: Moved ...
14677         * sysdeps/powerpc/nptl/Makefile: ... here.
14678         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14679         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14680         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14681         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14682         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14683         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14684         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14685         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14686         * nptl/sysdeps/powerpc/tls.h: Moved ...
14687         * sysdeps/powerpc/nptl/tls.h: ... here.
14689 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14691         [BZ #16681]
14692         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14693         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14694         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14695         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14696         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14697         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14698         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14699         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14700         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14702 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14704         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14706 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14708         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14709         defined operator.
14711         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14712         $TIMEOUTFACTOR.
14714 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14716         [BZ #17058]
14717         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14718         non-executed part of the test.
14720 2014-06-16  Andreas Schwab  <schwab@suse.de>
14722         * string/bits/string2.h (strdup, strndup): Update feature guard.
14724 2014-06-14  David S. Miller  <davem@davemloft.net>
14726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14728 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14730         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14731         that was previously under [RESET_PID].
14732         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14734         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14735         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14736         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14737         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14738         (__libc_vfork): New strong alias.
14739         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14741 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14743         * sysdeps/generic/elide.h: New file.
14745 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14747         * Makefile (installed-headers): Adjust path of pthread.h header.
14749 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14751         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14752         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14753         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14754         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14756         * nptl/sysdeps/s390/Makefile: Moved ...
14757         * sysdeps/s390/nptl/Makefile: ... here.
14758         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14759         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14760         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14761         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14762         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14763         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14764         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14765         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14766         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14767         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14768         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14769         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14770         * nptl/sysdeps/s390/tls.h: Moved ...
14771         * sysdeps/s390/nptl/tls.h: ... here.
14773         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14774         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14776 2014-06-13  David S. Miller  <davem@davemloft.net>
14778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14781         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14785         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14786         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14787         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14788         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14789         Remove RESET_PID cpp guards.
14790         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14791         Remove RESET_PID cpp guards.
14792         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14794 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14796         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14797         __sp to uintptr_t.
14799 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14801         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14808         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14809         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14815         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14816         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14817         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14820         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14822         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14823         (pthread_rwlock_rdlock): Add elision.
14824         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14825         (pthread_rwlock_wrlock): Add elision.
14826         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14827         (pthread_rwlock_trywrlock): Add elision.
14828         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14829         (pthread_rwlock_tryrdlock): Add elision.
14830         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14831         (pthread_rwlock_tryrdlock): Add elision unlock.
14832         * nptl/sysdeps/pthread/pthread.h:
14833         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14834         (PTHREAD_RWLOCK_INITIALIZER,
14835         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14836         Handle new elision field.
14837         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14838         * sysdeps/arm/nptl/bits/pthreadtypes.h
14839         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14840         * sysdeps/sh/nptl/bits/pthreadtypes.h
14841         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14842         * sysdeps/tile/nptl/bits/pthreadtypes.h
14843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14844         * sysdeps/a/nptl/bits/pthreadtypes.h
14845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14846         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14848         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14850         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14852         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14854         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14856         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14858         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14860         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14862         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14863         (elision_init): Set try_xbegin to zero when no RTM.
14864         * sysdeps/x86/nptl/bits/pthreadtypes.h
14865         (pthread_rwlock_t): Change __pad1 to __rwelision.
14866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14868 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14870         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14871         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14872         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14873         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14875 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14877         [BZ #16996]
14878         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14879         that the cached result has been set before returning it.
14881 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14883         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14884         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14885         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14886         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14887         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14888         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14890         * nptl/sysdeps/sparc/Makefile: Moved ...
14891         * sysdeps/sparc/nptl/Makefile: ... here.
14892         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14893         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14894         * nptl/sysdeps/sparc/tls.h: Moved ...
14895         * sysdeps/sparc/nptl/tls.h: ... here.
14896         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14897         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14898         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14899         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14900         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14901         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14902         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14903         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14904         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14905         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14906         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14907         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14908         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14909         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14910         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14911         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14912         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14914         Update #include.
14915         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14917         Update #include.
14918         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14920         Update #include.
14921         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14922         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14923         Update #include.
14925         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14927         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14928         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14930         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14931         (struct list_links): Type removed.
14932         (struct thread_node, struct timer_node): Replace struct list_links
14933         with struct list_head.
14934         (list_unlink_ip): Likewise.
14935         * sysdeps/pthread/timer_routines.c
14936         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14937         (list_append, list_insbefore): Likewise.
14938         (list_init): Function removed.
14939         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14940         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14941         * sysdeps/pthread/Makefile: ... here, new file.
14943         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14944         * sysdeps/nptl/Implies: ... here.
14945         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14946         * nptl/sysdeps/pthread/list.h: Moved ...
14947         * include/list.h: ... here.
14948         * nptl/sysdeps/pthread/createthread.c: Moved ...
14949         * nptl/createthread.c: ... here.
14950         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14951         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14952         * nptl/pt-longjmp.c: ... here.
14953         * nptl/sysdeps/pthread/Makefile: Moved ...
14954         * sysdeps/nptl/Makefile: ... here.
14955         * nptl/sysdeps/pthread/Subdirs: Moved ...
14956         * sysdeps/nptl/Subdirs: ... here.
14957         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14958         * sysdeps/nptl/aio_misc.h: ... here.
14959         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14960         * sysdeps/nptl/bits/libc-lock.h: ... here.
14961         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14962         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14963         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14964         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14965         * nptl/sysdeps/pthread/configure: Moved ...
14966         * sysdeps/nptl/configure: ... here.
14967         * nptl/sysdeps/pthread/configure.ac: Moved ...
14968         * sysdeps/nptl/configure.ac: ... here.
14969         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14970         * sysdeps/nptl/gai_misc.h: ... here.
14971         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14972         * sysdeps/nptl/librt-cancellation.c: ... here.
14973         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14974         * sysdeps/nptl/malloc-machine.h: ... here.
14975         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14976         * sysdeps/nptl/pthread-functions.h: ... here.
14977         * nptl/sysdeps/pthread/pthread.h: Moved ...
14978         * sysdeps/nptl/pthread.h: ... here.
14979         * nptl/sysdeps/pthread/setxid.h: Moved ...
14980         * sysdeps/nptl/setxid.h: ... here.
14981         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14982         * sysdeps/nptl/sigfillset.c: ... here.
14983         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14984         * sysdeps/nptl/tcb-offsets.h: ... here.
14985         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14986         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14987         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14988         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14989         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14990         * sysdeps/pthread/allocalim.h: ... here.
14991         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14992         * sysdeps/pthread/bits/sigthread.h: ... here.
14993         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14994         * sysdeps/pthread/flockfile.c: ... here.
14995         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14996         * sysdeps/pthread/ftrylockfile.c: ... here.
14997         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14998         * sysdeps/pthread/funlockfile.c: ... here.
14999         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15000         * sysdeps/pthread/posix-timer.h: ... here.
15001         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15002         * sysdeps/pthread/timer_create.c: ... here.
15003         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15004         * sysdeps/pthread/timer_delete.c: ... here.
15005         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15006         * sysdeps/pthread/timer_getoverr.c: ... here.
15007         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15008         * sysdeps/pthread/timer_gettime.c: ... here.
15009         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15010         * sysdeps/pthread/timer_routines.c: ... here.
15011         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15012         * sysdeps/pthread/timer_settime.c: ... here.
15013         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15014         * sysdeps/pthread/tst-timer.c: ... here.
15015         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15016         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15018         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15019         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15021         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15022         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15023         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15024         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15025         Update #include target.
15026         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15027         * sysdeps/i386/i686/nptl/Makefile: ... here.
15028         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15029         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15030         Update #include target.
15031         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15032         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15033         * nptl/sysdeps/i386/Makefile: Moved ...
15034         * sysdeps/i386/nptl/Makefile: ... here.
15035         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15036         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15037         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15038         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15039         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15040         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15041         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15042         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15043         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15044         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15045         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15046         * nptl/sysdeps/i386/tls.h: Moved ...
15047         * sysdeps/i386/nptl/tls.h: ... here.
15049         * sysdeps/sh/Makefile [$(subdir) = csu]
15050         (gen-as-const-headers): Add tcb-offsets.sym.
15051         * nptl/sysdeps/sh/Makefile: File removed.
15052         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15053         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15054         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15055         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15056         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15057         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15058         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15059         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15060         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15061         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15062         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15063         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15064         * nptl/sysdeps/sh/tls.h: Moved ...
15065         * sysdeps/sh/nptl/tls.h: ... here.
15066         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15067         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15068         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15069         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15071         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15072         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15073         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15075         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15077         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15079         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15081         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15083         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15085         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15087         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15088         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15089         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15090         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15091         Moved ...
15092         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15094         Moved ...
15095         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15097         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15098         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15100         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15101         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15102         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15103         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15104         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15105         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15106         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15107         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15108         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15109         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15110         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15111         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15112         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15113         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15115 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15117         * posix/spawn_faction_addopen.c: Include string.h.
15119 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15121         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15122         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15123         * nptl/sysdeps/x86_64/Makefile: Moved ...
15124         * sysdeps/x86_64/nptl/Makefile: ... here.
15125         * nptl/sysdeps/x86_64/configure: Moved ...
15126         * sysdeps/x86_64/nptl/configure: ... here.
15127         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15128         * sysdeps/x86_64/nptl/configure.ac: ... here.
15129         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15130         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15131         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15132         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15133         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15134         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15135         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15136         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15137         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15138         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15139         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15140         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15141         * nptl/sysdeps/x86_64/tls.h: Moved ...
15142         * sysdeps/x86_64/nptl/tls.h: ... here.
15143         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15144         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15145         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15146         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15148         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15150 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15154 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15156         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15157         type.
15158         [POSIX] (off_t): Likewise.
15159         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15160         [POSIX] (S_ISBLK): Require macro.
15161         [POSIX] (S_ISCHR): Likewise.
15162         [POSIX] (S_ISDIR): Likewise.
15163         [POSIX] (S_ISFIFO): Likewise.
15164         [POSIX] (S_ISREG): Likewise.
15165         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15166         optional-macro.
15167         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15168         type.
15169         [POSIX] (time_t): Likewise.
15170         [POSIX] (timer_t): Likewise.
15172 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15174         [BZ #17048]
15175         * posix/spawn_int.h (struct __spawn_action): Make the path string
15176         non-const to support deallocation.
15177         * posix/spawn_faction_addopen.c
15178         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15179         * posix/spawn_faction_destroy.c
15180         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15181         path in all spawn_do_open actions.
15182         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15183         posix_spawn_file_actions_addopen.
15185 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15187         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15188         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15189         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15190         conditional code always true.
15191         (__libc_vfork): New alias.
15193 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15195         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15196         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15198         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15200         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15201         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15203         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15204         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15206         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15207         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15209 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15211         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15212         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15213         multiarch strcmp for PPC64.
15214         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15215         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15217         multiarch optimizations.
15218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15219         (__libc_ifunc_impl_list): Likewise.
15221 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15223         * benchtests/scripts/validate_benchout.py: New script.
15224         * benchtests/Makefile (bench-func): Call it.
15225         * benchtests/scripts/benchout.schema.json: New file.
15227 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15229         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15230         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15231         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15232         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15233         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15234         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15235         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15236         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15237         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15238         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15239         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15240         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15241         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15242         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15243         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15244         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15246         Moved ...
15247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15248         ... here.
15249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15250         Moved ...
15251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15253         Moved ...
15254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15255         ... here.
15256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15257         Moved ...
15258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15259         ... here.
15260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15261         Moved ...
15262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15264         Moved ...
15265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15266         ... here.
15267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15268         Moved ...
15269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15270         ... here.
15271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15272         Moved ...
15273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15275         Moved ...
15276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15277         ... here.
15278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15279         Moved ...
15280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15281         ... here.
15282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15283         Moved ...
15284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15285         ... here.
15286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15287         Moved ...
15288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15290         Moved ...
15291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15292         ... here.
15293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15296         ... here.
15297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15298         Moved ...
15299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15300         ... here.
15301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15302         Moved ...
15303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15305         Moved ...
15306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15307         ... here.
15308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15309         Moved ...
15310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15311         ... here.
15312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15318         ... here.
15319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15320         Moved ...
15321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15323         Moved ...
15324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15326         Moved ...
15327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15328         ... here.
15329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15332         ... here.
15333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15334         Moved ...
15335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15336         ... here.
15337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15338         Moved ...
15339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15341         Moved ...
15342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15343         ... here.
15344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15345         Moved ...
15346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15347         ... here.
15348         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15349         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15350         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15351         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15352         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15353         Moved ...
15354         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15355         ... here.
15356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15357         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15358         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15359         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15363         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15365         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15366         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15367         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15369         Moved ...
15370         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15372         Moved ...
15373         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15375         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15377         Moved ...
15378         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15380         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15381         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15382         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15383         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15384         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15386 2014-06-10  Wilco  <wdijkstr@arm.com>
15388         * math/test-fenv-return.c: New file.
15389         * math/Makefile: Add new test test-fenv-return.
15391 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15393         [BZ #17042]
15394         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15395         when x - 1 is zero.
15396         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15397         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15398         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15399         0.0L for an argument of 1.0L.
15400         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15401         Likewise.
15402         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15403         value when x - 1 is zero.
15404         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15405         * sysdeps/i386/fpu/libm-test-ulps: Update.
15406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15410         [BZ #15119]
15411         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15413 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15415         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15416         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15418 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15420         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15421         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15423         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15424         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15426         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15427         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15429         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15430         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15432         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15433         if not already defined.
15434         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15435         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15436         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15437         (TLS_INIT_TP): Use it.
15438         (TLS_DEFINE_INIT_TP): New macro.
15439         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15441 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15443         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15444         constant.
15445         [POSIX] (IXANY): Likewise.
15446         [POSIX] (OLCUC): Likewise.
15447         [POSIX || POSIX2008] (CBAUD): Do not allow.
15448         [POSIX || POSIX2008] (DEFECHO): Likewise.
15449         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15450         [POSIX || POSIX2008] (ECHOKE): Likewise.
15451         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15452         [POSIX || POSIX2008] (EXTA): Likewise.
15453         [POSIX || POSIX2008] (EXTB): Likewise.
15454         [POSIX || POSIX2008] (FLUSHO): Likewise.
15455         [POSIX || POSIX2008] (LOBLK): Likewise.
15456         [POSIX || POSIX2008] (PENDIN): Likewise.
15457         [POSIX || POSIX2008] (SWTCH): Likewise.
15458         [POSIX || POSIX2008] (VDISCARD): Likewise.
15459         [POSIX || POSIX2008] (VDSUSP): Likewise.
15460         [POSIX || POSIX2008] (VLNEXT): Likewise.
15461         [POSIX || POSIX2008] (VREPRINT): Likewise.
15462         [POSIX || POSIX2008] (VSTATUS): Likewise.
15463         [POSIX || POSIX2008] (VWERASE): Likewise.
15464         (B*): Change to B[0123456789]*.
15465         * conform/data/time.h-data [POSIX || UNIX98]
15466         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15467         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15468         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15469         [POSIX] (tm_*): Do not allow.
15471 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15473         * Makefile (install): Don't set LANGUAGE.
15474         * Makefile.in (install): Likewise.
15475         * assert/Makefile (test-assert-ENV): Remove variable.
15476         (test-assert-perr-ENV): Likewise.
15477         * elf/Makefile (neededtest4-ENV): Likewise.
15478         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15479         [$(cross-compiling) = no]: Don't set LANGUAGE.
15480         * io/ftwtest-sh (LANG): Remove variable.
15481         * libio/Makefile (tst-widetext-ENV): Likewise.
15482         * manual/install.texi (Running make install): Don't refer to
15483         environment settings for make install.
15484         * INSTALL: Regenerated.
15485         * nptl/tst-tls6.sh: Don't set LANG.
15486         * posix/globtest.sh (LANG): Remove variable.
15487         * string/Makefile (tester-ENV): Likewise.
15488         (inl-tester-ENV): Likewise.
15489         (noinl-tester-ENV): Likewise.
15490         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15491         [$(cross-compiling) = no]: Don't set LANGUAGE.
15492         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15493         without explicit environment settings.
15495 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15497         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15498         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15499         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15500         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15502 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15504         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15505         other files in the crypt directory.
15506         * crypt/crypt.c: Remove duplicate includes.
15507         * crypt/crypt-entry.c: Likewise.
15508         * crypt/crypt_util.c: Likewise.
15510 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15512         * Makeconfig (run-program-env): New variable.
15513         (run-program-prefix-before-env): Likewise.
15514         (run-program-prefix-after-env): Likewise.
15515         (run-program-prefix): Define in terms of new variables.
15516         (built-program-cmd-before-env): New variable.
15517         (built-program-cmd-after-env): Likewise.
15518         (built-program-cmd): Define in terms of new variables.
15519         (test-program-prefix-before-env): New variable.
15520         (test-program-prefix-after-env): Likewise.
15521         (test-program-prefix): Define in terms of new variables.
15522         (test-program-cmd-before-env): New variable.
15523         (test-program-cmd-after-env): Likewise.
15524         (test-program-cmd): Define in terms of new variables.
15525         * Rules (make-test-out): Use $(run-program-env).
15526         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15527         (help): Do not mention environment variables.  Mention
15528         --timeoutfactor option.
15529         (timeoutfactor): New variable.
15530         (blacklist_exports): Remove function.
15531         (exports): Remove variable.
15532         (command): Do not include ${exports}.
15533         * manual/install.texi (Configuring and compiling): Do not mention
15534         test wrappers preserving environment variables.  Mention that last
15535         assignment to a variable must take precedence.
15536         * INSTALL: Regenerated.
15537         * benchtests/Makefile (run-bench): Use $(run-program-env).
15538         * catgets/Makefile ($(objpfx)test1.cat): Use
15539         $(built-program-cmd-before-env), $(run-program-env) and
15540         $(built-program-cmd-after-env).
15541         ($(objpfx)test2.cat): Do not specify environment variables
15542         explicitly.
15543         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15544         $(run-program-env) and $(built-program-cmd-after-env).
15545         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15546         $(run-program-env) and $(test-program-cmd-after-env).
15547         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15548         explicitly.
15549         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15550         run_program_env and test_program_cmd_after_env arguments.
15551         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15552         * elf/tst-pathopt.sh: Use run_program_env argument.
15553         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15554         $(test-wrapper-env) and $(run-program-env).
15555         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15556         run_program_env arguments.
15557         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15558         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15559         $(test-program-prefix-before-env), $(run-program-env) and
15560         $(test-program-prefix-after-env).
15561         ($(objpfx)tst-gettext2.out): Likewise.
15562         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15563         run_program_env and test_program_prefix_after_env arguments.
15564         * intl/tst-gettext2.sh: Likewise.
15565         * intl/tst-gettext4.sh: Do not set environment variables
15566         explicitly.
15567         * intl/tst-gettext6.sh: Likewise.
15568         * intl/tst-translit.sh: Likewise.
15569         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15570         $(test-program-prefix-before-env), $(run-program-env) and
15571         $(test-program-prefix-after-env).
15572         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15573         run_program_env and test_program_prefix_after_env arguments.
15574         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15575         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15576         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15577         explicitly with each use of ${test_wrapper_env}.
15578         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15579         $(test-program-prefix-before-env), $(run-program-env) and
15580         $(test-program-prefix-after-env).
15581         * posix/tst-getconf.sh: Do not set environment variables
15582         explicitly.
15583         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15584         run_program_env and test_program_prefix_after_env arguments.
15585         * stdio-common/tst-printf.sh: Do not set environment variables
15586         explicitly.
15587         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15588         $(test-program-prefix-before-env), $(run-program-env) and
15589         $(test-program-prefix-after-env).
15590         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15591         run_program_env and test_program_prefix_after_env arguments.
15592         Split $test calls into $test_pre and $test.
15593         * timezone/Makefile (build-testdata): Use
15594         $(built-program-cmd-before-env), $(run-program-env) and
15595         $(built-program-cmd-after-env).
15597 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15599         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15600         strlen for non SHARED builds.
15602 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15604         * nptl/allocatestack.c (check_list): Inlined function...
15605         (__reclaim_stacks): ... here.
15607 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15609         [BZ #15698]
15610         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15611         memory overrun.
15613 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15615         * Rules (make-test-out): Include
15616         LOCPATH=$(common-objpfx)localedata in default environment.
15617         * debug/Makefile (tst-chk1-ENV): Remove variable.
15618         (tst-chk2-ENV): Likewise.
15619         (tst-chk3-ENV): Likewise.
15620         (tst-chk4-ENV): Likewise.
15621         (tst-chk5-ENV): Likewise.
15622         (tst-chk6-ENV): Likewise.
15623         (tst-lfschk1-ENV): Likewise.
15624         (tst-lfschk2-ENV): Likewise.
15625         (tst-lfschk3-ENV): Likewise.
15626         (tst-lfschk4-ENV): Likewise.
15627         (tst-lfschk5-ENV): Likewise.
15628         (tst-lfschk6-ENV): Likewise.
15629         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15630         (tst-iconv7-ENV): Likewise.
15631         * intl/Makefile (LOCPATH-ENV): Likewise.
15632         (tst-codeset-ENV): Likewise.
15633         (tst-gettext3-ENV): Likewise.
15634         (tst-gettext5-ENV): Likewise.
15635         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15636         (tst-fopenloc-ENV): Likewise.
15637         (tst-fgetws-ENV): Remove variable.
15638         (tst-ungetwc1-ENV): Likewise.
15639         (tst-ungetwc2-ENV): Likewise.
15640         (bug-ungetwc2-ENV): Likewise.
15641         (tst-swscanf-ENV): Likewise.
15642         (bug-ftell-ENV): Likewise.
15643         (tst-fgetwc-ENV): Likewise.
15644         (tst-fseek-ENV): Likewise.
15645         (tst-ftell-partial-wide-ENV): Likewise.
15646         (tst-ftell-active-handler-ENV): Likewise.
15647         (tst-ftell-append-ENV): Likewise.
15648         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15649         (tst-regexloc-ENV): Likewise.
15650         (bug-regex1-ENV): Likewise.
15651         (tst-regex-ENV): Likewise.
15652         (tst-regex2-ENV): Likewise.
15653         (bug-regex5-ENV): Likewise.
15654         (bug-regex6-ENV): Likewise.
15655         (bug-regex17-ENV): Likewise.
15656         (bug-regex18-ENV): Likewise.
15657         (bug-regex19-ENV): Likewise.
15658         (bug-regex20-ENV): Likewise.
15659         (bug-regex22-ENV): Likewise.
15660         (bug-regex23-ENV): Likewise.
15661         (bug-regex25-ENV): Likewise.
15662         (bug-regex26-ENV): Likewise.
15663         (bug-regex30-ENV): Likewise.
15664         (bug-regex32-ENV): Likewise.
15665         (bug-regex33-ENV): Likewise.
15666         (bug-regex34-ENV): Likewise.
15667         (bug-regex35-ENV): Likewise.
15668         (tst-rxspencer-ENV): Likewise.
15669         (tst-rxspencer-no-utf8-ENV): Likewise.
15670         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15671         (tst-sscanf-ENV): Likewise.
15672         (tst-swprintf-ENV): Likewise.
15673         (tst-swscanf-ENV): Likewise.
15674         (test-vfprintf-ENV): Likewise.
15675         (scanf13-ENV): Likewise.
15676         (bug14-ENV): Likewise.
15677         (tst-grouping-ENV): Likewise.
15678         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15679         (tst-strtod3-ENV): Likewise.
15680         (tst-strtod4-ENV): Likewise.
15681         (tst-strtod5-ENV): Likewise.
15682         (testmb2-ENV): Likewise./
15683         * string/Makefile (tst-strxfrm-ENV): Likewise.
15684         (tst-strxfrm2-ENV): Likewise.
15685         (bug-strcoll1-ENV): Likewise.
15686         (test-strcasecmp-ENV): Likewise.
15687         (test-strncasecmp-ENV): Likewise.
15688         * time/Makefile (tst-strptime-ENV): Likewise.
15689         (tst-ftime_l-ENV): Likewise.
15690         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15691         (tst-mbrtowc-ENV): Likewise.
15692         (tst-wcrtomb-ENV): Likewise.
15693         (tst-mbrtowc2-ENV): Likewise.
15694         (tst-c16c32-1-ENV): Likewise.
15695         (tst-mbsnrtowcs-ENV): Likewise.
15697 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15699         * manual/resource.texi (How to get information about the memory
15700         subsystem?): Fix typo.
15701         Reported by Peon de la Parra Ivan <peon@keba.com>
15703 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15705         [BZ #16882]
15706         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15707         (pthread_spin_lock): Branch out of spin loop to proper location.
15708         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15709         (pthread_spin_lock): Likewise.
15711         * nptl/tst-spin4.c: New test.
15712         * nptl/Makefile (tests): Add tst-spin4.
15714 2014-06-03  Andreas Schwab  <schwab@suse.de>
15716         [BZ #15946]
15717         * resolv/res_send.c (send_dg): Reload file descriptor after
15718         calling reopen.
15720 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15722         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15724 2014-06-03  Richard Henderson  <rth@redhat.com>
15726         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15727         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15728         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15729         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15730         in the SAVE_PID block.
15731         (__libc_vfork): New alias.
15732         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15734         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15735         child in registers, not on the stack.  Remove RESET_PID conditionals.
15736         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15738 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15740         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15742 2014-06-03  Wilco  <wdijkstr@arm.com>
15744         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15745         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15746         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15747         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15748         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15749         Likewise.
15751 2014-06-03  Wilco  <wdijkstr@arm.com>
15753         * sysdeps/aarch64/fpu/math_private.h
15754         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15755         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15756         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15757         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15758         Fix declarations.
15760 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15762         * crypt/crypt-private.h: Include ufc-crypt.h.
15763         (__b64_from_24bit): Declare extern.
15764         * crypt/crypt_util.c(__b64_from_24bit): New function.
15765         (b64t): New static const variable.
15766         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15767         (b64t): Remove variable.
15768         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15769         * crypt/sha256-crypt.c: Include crypt-private.h.
15770         (b64t): Remove variable.
15771         (__sha256_crypt_r): Remove b64_from_24bit and replace
15772         with __b64_from_24bit.
15773         * crypt/sha512-crypt.c: Likewise.
15775 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15777         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15778         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15779         Label the code __libc_vfork rather than __vfork.
15780         [!NOT_IN_libc] (vfork): Define as weak alias.
15781         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15782         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15783         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15785 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15787         * malloc/malloc.c (malloc_info): Fix format specifier for
15788         n_mmaps.
15790 2014-06-02  Wilco  <wdijkstr@arm.com>
15792         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15793         FPCR write.
15795 2014-06-02  Wilco  <wdijkstr@arm.com>
15797         [BZ #17009]
15798         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15799         Rewrite to reduce FPCR/FPSR accesses.
15801 2014-06-01  David S. Miller  <davem@davemloft.net>
15803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15805 2014-05-31  David S. Miller  <davem@davemloft.net>
15807         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15808         to occur in round to nearest mode when |x| >= 2.0
15810 2014-05-30  Richard Henderson  <rth@twiddle.net>
15812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15813         (PSEUDO_RET_NOERRNO): Remove.
15814         (ret): Don't redefine.
15815         (ret_NOERRNO): Define in terms of ret.
15816         (ret_ERRVAL): Likewise.
15818         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15819         use of PSEUDO_RET; perform the error check directly.
15821 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15823         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15824         with __int128_t.
15826 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15828         * malloc/malloc (malloc_info): Fix formatting.
15830 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15831             Roland McGrath  <roland@hack.frob.com>
15833         * malloc/malloc (malloc_info): Also print mmapped statistics.
15835 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15837         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15838         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15840 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15842         * malloc/malloc.c (malloc_info): Inline mi_arena.
15844 2014-05-29  Richard Henderson  <rth@twiddle.net>
15846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15847         Remove comma before expanding ASM_ARGS_##nr.
15848         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15849         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15850         of ASM_ARGS_##nr.
15851         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15852         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15853         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15854         (ASM_ARGS_1): Add leading comma.
15856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15857         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15858         to __errno_location.
15859         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15860         Remove the expected plt for __errno_location.
15862         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15863         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15864         call to __read_tp.
15866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15867         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15868         it and break it down.
15869         (DOCARGS_0, DOCARGS_1): Do nothing.
15870         (DOCARGS_2): Update to store into the new stack frame.
15871         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15872         (UNDOCARGS_1): Update to restore from the new stack frame.
15873         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15874         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15876         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15877         (SINGLE_THREAD_P): New parameter for result regno.
15878         (PSEUDO): Update to match; use cbz instead of beq.
15880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15881         Use ENTRY to define the _nocancel entry point.  Share the syscall
15882         and syscall error check paths with the cancel path.
15883         (PSEUDO_END): New.
15885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15886         whitespace; tabs before and after asm mnemonics.
15888 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15890         [BZ #15132]
15891         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15892         Call fstat64 or stat64 internally, depending on arguments passed.
15893         Replace stat buffer argument with file descriptor argument.
15894         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15895         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15896         Pass fd to __internal_statvfs instead of calling fstat64.
15897         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15898         Pass fd to __internal_statvfs64 instead of calling fstat64.
15899         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15900         Pass -1 to __internal_statvfs instead of calling stat64.
15901         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15902         Pass -1 to __internal_statvfs64 instead of calling stat64.
15904 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15906         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15907         that was previously under [RESET_PID].
15908         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15910         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15911         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15913 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15915         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15917         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15918         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15920 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15922         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15924 2014-05-27  Andreas Schwab  <schwab@suse.de>
15926         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15927         TLS_INIT_TP macro.
15928         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15929         * elf/rtld.c (init_tls, dl_main): Likewise.
15930         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15931         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15932         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15933         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15934         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15935         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15936         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15937         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15938         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15939         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15940         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15941         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15942         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15943         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15944         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15945         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15946         * sysdeps/generic/tls.h: Update description.
15948 2014-05-27  Will Newton  <will.newton@linaro.org>
15950         [BZ #16990]
15951         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15952         and restore r2 rather than just restoring.
15954 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15956         [BZ #16724]
15957         * libio/tst-ftell-append.c: New test case.
15958         * libio/Makefile (tests): Add test case.
15959         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15960         append mode.
15961         * libio/wfileops.c (do_ftell_wide): Likewise.
15963 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15967         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15968         ...
15969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15971         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15972         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15973         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15974         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15975         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15976         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15978         Moved ...
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15981         Moved ...
15982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15983         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15984         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15985         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15986         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15987         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15988         ...
15989         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15990         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15991         Moved ...
15992         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15993         here.
15994         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15995         ...
15996         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15997         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15998         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16000         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16001         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16002         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16003         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16006         merge into ...
16007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16009         ...
16010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16012         ...
16013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16015         Moved ...
16016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16017         here.
16018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16019         Moved ...
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16022         Moved ...
16023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16026         conditional [RESET_PID].
16027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16029         removed.
16030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16031         removed.
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16034         <tcb-offsets.h>.
16035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16036         (__libc_vfork): New strong alias.
16037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16038         removed.
16039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16040         Removed.
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16043         <tcb-offsets.h>.
16044         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16045         (__libc_vfork): New strong alias.
16046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16047         removed.
16048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16049         removed.
16051 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16053         * malloc/malloc.c (mi_arena): New function.
16054         (malloc_info): Remove nested function mi_arena. Call non-nosted
16055         function mi_arena.
16057 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16059         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16060         by insrwi.
16061         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16062         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16063         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16064         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16065         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16066         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16067         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16069 2014-05-26  Andreas Schwab  <schwab@suse.de>
16071         [BZ #16984]
16072         * locale/programs/repertoire.c (repertoire_read): Add slash
16073         between I18NPATH element and file name.
16074         * locale/programs/locfile.c (locfile_read): Likewise.
16076 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16078         * nptl/pthread_mutexattr_settype.c
16079         (__pthread_mutexattr_settype):
16080         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16082 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16084         * nptl/tst-mutex5 (do_test):
16085         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16087 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16089         * benchtests/README: Document 'init' directive.
16090         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16091         BENCH_INIT.
16092         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16093         (parse_file): Recognize 'init' directive.
16095 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16097         [BZ #16796]
16098         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16099         alignment of struct pthread.
16101 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16103         [BZ #16878]
16104         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16105         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16106         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16107         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16109 2014-05-25  Richard Henderson  <rth@twiddle.net>
16111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16112         (SINGLE_THREAD_P_PIC): Remove.
16113         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16114         (SINGLE_THREAD_P_PIC): Remove.
16116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16117         branch to syscall error ...
16118         (PSEUDO): ... here.
16119         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16120         from __local_syscall_error to .Lsyscall_error.
16121         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16122         (SYSCALL_ERROR): Update label name.
16124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16125         Do not use DOARGS/UNDOARGS.
16126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16127         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16128         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16129         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16130         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16133         block comment.
16135         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16136         define if !NOT_IN_libc.
16137         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16138         define with non-default symbol versions.
16140 2014-05-23  Richard Henderson  <rth@twiddle.net>
16142         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16143         (vfork, __vfork): Define via compat_symbol.
16145         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16146         [!HAVE_IFUNC] (vfork_compat): Remove.
16147         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16149 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16151         [BZ #16978]
16152         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16153         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16154         variable.
16156 2014-05-23  Richard Henderson  <rth@twiddle.net>
16158         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16159         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16160         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16161         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16163         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16164         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16165         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16166         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16167         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16168         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16169         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16170         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16171         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16172         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16173         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16174         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16175         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16176         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16177         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16178         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16179         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16180         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16182         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16183         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16184         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16185         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16186         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16187         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16188         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16189         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16190         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16191         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16192         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16193         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16194         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16195         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16196         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16197         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16198         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16199         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16200         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16201         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16202         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16203         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16204         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16205         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16206         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16207         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16208         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16210         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16211         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16212         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16213         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16214         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16216         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16218         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16220         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16221         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16222         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16223         before exiting on error.
16224         (__libc_vfork): New strong alias.
16225         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16226         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16228         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16229         that was previously under [RESET_PID].
16230         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16232         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16234 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16236         [BZ #16977]
16237         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16238         value when x - 1 is zero.
16239         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16240         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16241         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16242         0.0L for an argument of 1.0L.
16243         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16244         Likewise.
16245         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16246         value when x - 1 is zero.
16247         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16248         * sysdeps/i386/fpu/libm-test-ulps: Update.
16249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16251 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16253         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16254         alphasort and versionsort.
16256 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16258         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16259         macro.
16260         [copysignf]: Likewise.
16262 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16264         * crypt/md5-crypt.c: Fix formatting.
16266 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16268         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16269         (b64_from_24bit): New function.
16271 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16273         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16274         libc_hidden_builtin_def to ifunc.
16275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16276         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16278 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16280         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16281         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16283 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16285         * nscd/Depend (linuxthreads): Remove.
16286         (nptl): Add.
16287         * resolv/Depend (linuxthreads): Remove.
16288         * rt/Depend (linuxthreads): Remove.
16290         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16291         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16292         $(common-objpfx)elf/.
16293         (link-libc-before-gnulib): Likewise.
16294         (elfobjdir): Remove variable.
16295         * Makefile (install): Use $(elf-objpfx) instead of
16296         $(common-objpfx)elf/.
16297         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16298         $(elfobjdir)/.
16299         (link-libc-deps): Likewise.
16300         ($(common-objpfx)libc.so): Likewise.
16301         ($(common-objpfx)linkobj/libc.so): Likewise.
16302         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16303         instead of $(common-objpfx)elf/.
16304         (symbolic-link-list): Likewise.
16305         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16306         [$(cross-compiling) = no]: Likewise.
16307         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16308         $(elfobjdir)/.
16309         (static-gnulib-arch): Likewise.
16310         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16311         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16312         $(common-objpfx)elf/.
16314 2014-05-21  Richard Henderson  <rth@redhat.com>
16316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16317         (SINGLE_THREAD_P): Use the correct width load.  Fold
16318         into the ldr offset.
16320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16321         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16323 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16325         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16326         (libgcc_s_resume): Use __attribute_used__.
16327         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16328         Likewise.
16330 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16332         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16333         optimization when used with float constants.
16335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16337 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16339         [BZ #16915]
16340         * locale/nl_langinfo_l.c: Make direct reference to every
16341         _nl_current_CATEGORY symbol.
16342         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16343         (tests-static): Add tst-langinfo-static.
16344         (tests-special): Add tst-langinfo-static.out.
16345         ($(objpfx)tst-langinfo.out): Redirect output.
16346         ($(objpfx)tst-langinfo-static.out): New.
16347         * localedata/tst-langinfo.sh: Send output to stdout.
16348         * localedata/tst-langinfo-static.c: New file.
16350         [BZ #16965]
16351         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16352         when the shift amount is modulo the limb size.
16354 2014-05-20  Richard Henderson  <rth@redhat.com>
16356         [BZ #16967]
16357         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16358         Change type of sa_flags from unsigned int to int.
16360         [BZ #16966]
16361         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16363         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16365 2014-05-20  Will Newton  <will.newton@linaro.org>
16367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16368         Test the return value of the system call in the nocancel case.
16370 2014-05-20  Will Newton  <will.newton@linaro.org>
16371             Yvan Roux  <yvan.roux@linaro.org>
16373         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16374         #include of asm/ptrace.h.
16375         (PTRACE_GET_THREAD_AREA): Remove #undef.
16376         (PTRACE_GETHBPREGS): Likewise.
16377         (PTRACE_SETHBPREGS): Likewise.
16378         (struct user_regs_struct): New structure.
16379         (struct user_fpsimd_struct): New structure.
16380         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16381         #include of asm/ptrace.h and second #include of sys/user.h.
16382         (PTRACE_GET_THREAD_AREA): Remove #undef.
16383         (PTRACE_GETHBPREGS): Likewise.
16384         (PTRACE_SETHBPREGS): Likewise.
16385         (ELF_NGREG): Use new struct user_regs_struct.
16386         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16388 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16393 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16395         [BZ #16958]
16396         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16397         membar to avoid block loads/stores to overlap previous stores.
16399 2014-05-17  Richard Henderson  <rth@redhat.com>
16401         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16402         Create the __##syscall_name##_nocancel entry point.
16403         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16404         Remove; let the sysdep-cancel.h code create it.
16406 2014-05-17  David S. Miller  <davem@davemloft.net>
16408         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16409         Protect with __USE_GNU.
16410         (TIOCSET_TEMPT): Likewise.
16411         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16412         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16413         these are already provided in bits/ioctl-types.h
16415 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16417         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16418         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16420         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16421         Use wait4 regardless of [__NR_waitpid].
16423 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16425         PR libgcc/60166
16426         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16427         (_FP_NANSIGN_Q): Set the quiet bit.
16429 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16431         * benchtests/Makefile
16432         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16433         not $(common-objpfx)math/libm.so.
16434         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16435         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16436         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16437         $(common-objpfx)dlfcn/libdl.so.
16438         ($(objpfx)tst-audit8): Depend on $(libm), not
16439         $(common-objpfx)math/libm.so.
16440         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16441         not $(common-objpfx)dlfcn/libdl.so.
16442         * math/Makefile
16443         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16444         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16445         [$(build-shared) = yes].
16446         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16447         $(common-objpfx)nptl/libpthread.so.
16448         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16449         $(common-objpfx)math/libm.so$(libm.so-version) or
16450         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16451         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16452         $(common-objpfx)dlfcn/libdl.so.
16453         * setjmp/Makefile (link-libm): Remove variable.
16454         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16455         * stdio-common/Makefile (link-libm): Remove variable.
16456         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16457         * stdlib/Makefile (link-libm): Remove variable.
16458         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16459         ($(objpfx)tst-strtod-round): Likewise.
16460         ($(objpfx)tst-tininess): Likewise.
16461         ($(objpfx)tst-strtod-underflow): Likewise.
16462         ($(objpfx)tst-strtod6): Likewise.
16463         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16464         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16465         $(common-objpfx)dlfcn/libdl.so.
16467 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16469         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16470         BSD terminal modes definitions.
16472 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16474         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16475         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16477         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16478         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16479         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16480         Don't do #include_next.
16481         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16482         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16483         Don't do #include_next.
16484         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16485         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16486         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16487         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16489 2014-05-16  Allan McRae  <allan@archlinux.org>
16491         * po/sv.po: Update Swedish translation from translation project.
16493         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16494         in sed expression.
16496 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16498         [BZ #16917]
16499         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16500         errno if the TIOCGPTN ioctl fails with an error different than
16501         EINVAL.
16502         * login/tst-ptsname.c: New file.
16503         * login/Makefile (tests): Add tst-ptsname.
16505         [BZ #16943]
16506         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16507         and prlimit64.
16509 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         [BZ #16849]
16512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16513         herrno to return EAI_AGAIN.
16515 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16517         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16518         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16519         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16520         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16521         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16522         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16526         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16527         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16528         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16532         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16533         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16534         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16536         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16538         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16539         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16540         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16541         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16542         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16543         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16544         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16545         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16546         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16548         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16550         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16552         Moved ...
16553         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16555         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16557         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16559         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16561         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16565         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16567         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16569         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16571         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16573         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16575         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16577         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16579         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16581         Moved ...
16582         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16586         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16588         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16590         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16592         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16594         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16596         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16600         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16602         Moved ...
16603         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16605         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16607         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16608         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16609         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16610         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16611         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16612         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16613         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16614         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16615         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16617         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16619         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16621         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16623         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16625         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16626         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16627         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16628         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16629         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16631         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16633         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16635         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16637         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16639         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16640         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16642         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16643         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16644         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16645         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16646         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16648         Moved ...
16649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16650         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16651         Moved ...
16652         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16653         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16654         Moved ...
16655         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16656         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16657         Moved ...
16658         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16659         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16660         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16661         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16662         Moved ...
16663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16664         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16665         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16668         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16669         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16671         Moved ...
16672         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16674         Moved ...
16675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16676         ... here.
16677         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16678         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16679         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16680         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16682         Moved ...
16683         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16684         ... here.
16685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16686         Moved ...
16687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16688         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16689         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16690         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16691         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16695         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16696         Moved ...
16697         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16698         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16699         Moved ...
16700         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16701         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16702         Moved ...
16703         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16704         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16705         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16706         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16707         Moved ...
16708         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16709         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16710         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16713         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16714         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16716         Moved ...
16717         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16719         Moved ...
16720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16721         ... here.
16722         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16723         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16724         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16725         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16727         Moved ...
16728         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16729         ... here.
16730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16731         Moved ...
16732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16733         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16734         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16735         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16736         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16737         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16739         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16740         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16741         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16742         Moved ...
16743         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16745         Moved ...
16746         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16748         Moved ...
16749         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16751         Moved ...
16752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16753         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16754         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16755         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16756         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16758         Moved ...
16759         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16760         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16761         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16764         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16765         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16767         Moved ...
16768         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16770         Moved ...
16771         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16772         ... here.
16773         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16774         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16775         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16776         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16778         Moved ...
16779         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16780         ... here.
16781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16784         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16785         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16787         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16789         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16791         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16793         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16795         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16796         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16798         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16799         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16801         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16802         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16803         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16805         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16807         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16809         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16813         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16815         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16816         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16817         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16818         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16819         Moved ...
16820         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16822         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16824         Moved ...
16825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16829         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16831         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16832         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16833         Moved ...
16834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16836         Moved ...
16837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16839         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16843         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16844         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16845         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16846         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16847         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16848         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16849         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16850         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16851         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16852         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16853         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16855         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16856         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16857         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16858         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16859         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16861         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16862         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16863         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16864         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16865         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16866         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16867         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16868         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16869         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16870         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16875         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16876         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16877         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16878         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16879         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16880         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16881         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16882         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16883         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16884         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16885         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16886         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16887         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16888         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16890         Update #include.
16891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16892         Likewise.
16893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16894         Likewise.
16895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16896         Likewise.
16897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16898         Likewise.
16899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16900         Likewise.
16901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16902         Likewise.
16903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16904         Likewise.
16905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16906         Likewise.
16907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16908         Likewise.
16909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16920         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16922         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16925         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16926         that was previously under [RESET_PID].
16927         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16928         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16929         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16931         * sysdeps/i386/nptl/Implies: New file.
16932         * sysdeps/x86_64/nptl/Implies: New file.
16933         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16934         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16935         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16936         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16938         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16939         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16940         (__libc_vfork): New strong alias.
16941         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16942         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16944         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16945         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16946         (__libc_vfork): New strong alias.
16947         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16948         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16950         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16951         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16952         (__libc_vfork): New strong alias.
16953         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16954         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16955         * nptl/pt-vfork.c: New file.
16956         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16957         (libpthread: GLIBC_2.20): New version set (empty).
16959 2014-05-14  Will Newton  <will.newton@linaro.org>
16961         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16962         rather than #if.
16964 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16966         [BZ #16564]
16967         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16968         arguments with exponent 65 or above.
16969         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16970         arguments 0x1p113L or above.
16971         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16972         to arguments 0x1p107L or above.
16973         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16974         positive arguments with exponent 65 or above.
16975         * math/auto-libm-test-in: Add more tests of log1p.
16976         * math/auto-libm-test-out: Regenerated.
16978         [BZ #16928]
16979         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16980         non-finite arguments is +0.
16981         * math/s_cacosf.c (__cacosf): Likewise.
16982         * math/s_cacosl.c (__cacosl): Likewise.
16983         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16984         * sysdeps/i386/fpu/libm-test-ulps: Update.
16985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16987         [BZ #16927]
16988         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16989         value.
16990         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16991         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16992         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16993         for explicit high bit of mantissa when testing for argument equal
16994         to 1.
16995         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16996         * sysdeps/i386/fpu/libm-test-ulps: Update.
16997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16999         [BZ #16516]
17000         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17001         (__erf): Scale by 16 instead of 8 in potentially underflowing
17002         case.  Ensure exception if result actually underflows.
17003         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17004         (__erff): Scale by 16 instead of 8 in potentially underflowing
17005         case.  Ensure exception if result actually underflows.
17006         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17007         (efx8): Remove variable.
17008         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17009         case.  Ensure exception if result actually underflows.
17010         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17011         (efx8): Remove variable.
17012         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17013         case.  Ensure exception if result actually underflows.
17014         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17015         (efx8): Remove variable.
17016         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17017         case.  Ensure exception if result actually underflows.
17018         * math/auto-libm-test-in: Add more tests of erf.
17019         * math/auto-libm-test-out: Regenerated.
17021 2014-05-14  Andreas Schwab  <schwab@suse.de>
17023         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17024         Remove code conditionalized on USE___THREAD.
17026         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17027         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17028         not definedness.
17030 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17032         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17033         Define unconditionally.
17034         (__ASSUME_O_CLOEXEC): Likewise.
17035         (__ASSUME_SOCK_CLOEXEC): Likewise.
17036         (__ASSUME_IN_NONBLOCK): Likewise.
17037         (__ASSUME_PIPE2): Likewise.
17038         (__ASSUME_EVENTFD2): Likewise.
17039         (__ASSUME_SIGNALFD4): Likewise.
17040         (__ASSUME_DUP3): Likewise.
17041         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17042         (__ASSUME_DUP3): Do not define.
17043         (__ASSUME_EVENTFD2): Likewise.
17044         (__ASSUME_IN_NONBLOCK): Likewise.
17045         (__ASSUME_O_CLOEXEC): Likewise.
17046         (__ASSUME_PIPE2): Likewise.
17047         (__ASSUME_SIGNALFD4): Likewise.
17048         (__ASSUME_SOCK_CLOEXEC): Likewise.
17049         (__ASSUME_UTIMES): Undefine.
17050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17051         (__ASSUME_UTIMES): Do not define.
17052         (__ASSUME_O_CLOEXEC): Likewise.
17053         (__ASSUME_SOCK_CLOEXEC): Likewise.
17054         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17055         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17056         0x020621].
17057         (__ASSUME_PIPE2): Likewise.
17058         (__ASSUME_EVENTFD2): Likewise.
17059         (__ASSUME_SIGNALFD4): Likewise.
17060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17061         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17062         Do not define.
17063         (__ASSUME_EVENTFD2): Likewise.
17064         (__ASSUME_SIGNALFD4): Likewise.
17065         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17066         (__ASSUME_32BITUIDS): Likewise.
17067         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17068         (__ASSUME_IPC64): Likewise.
17069         (__ASSUME_ST_INO_64_BIT): Likewise.
17070         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17071         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17072         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17073         (__ASSUME_UTIMES): Do not define.
17074         (__ASSUME_PSELECT): Likewise.
17075         (__ASSUME_PPOLL): Likewise.
17076         (__ASSUME_O_CLOEXEC): Likewise.
17077         (__ASSUME_SOCK_CLOEXEC): Likewise.
17078         (__ASSUME_IN_NONBLOCK): Likewise.
17079         (__ASSUME_PIPE2): Likewise.
17080         (__ASSUME_EVENTFD2): Likewise.
17081         (__ASSUME_SIGNALFD4): Likewise.
17082         (__ASSUME_DUP3): Likewise.
17083         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17084         (__ASSUME_UTIMES): Likewise.
17085         (__ASSUME_O_CLOEXEC): Likewise.
17086         (__ASSUME_SOCK_CLOEXEC): Likewise.
17087         (__ASSUME_IN_NONBLOCK): Likewise.
17088         (__ASSUME_PIPE2): Likewise.
17089         (__ASSUME_EVENTFD2): Likewise.
17090         (__ASSUME_SIGNALFD4): Likewise.
17091         (__ASSUME_DUP3): Likewise.
17092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17093         (__ASSUME_UTIMES): Likewise.
17094         (__ASSUME_O_CLOEXEC): Likewise.
17095         (__ASSUME_SOCK_CLOEXEC): Likewise.
17096         (__ASSUME_IN_NONBLOCK): Likewise.
17097         (__ASSUME_PIPE2): Likewise.
17098         (__ASSUME_EVENTFD2): Likewise.
17099         (__ASSUME_SIGNALFD4): Likewise.
17100         (__ASSUME_DUP3): Likewise.
17101         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17102         Likewise.
17103         (__ASSUME_UTIMES): Likewise.
17104         (__ASSUME_EVENTFD2): Likewise.
17105         (__ASSUME_SIGNALFD4): Likewise.
17106         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17107         (__ASSUME_O_CLOEXEC): Likewise.
17108         (__ASSUME_SOCK_CLOEXEC): Likewise.
17109         (__ASSUME_IN_NONBLOCK): Likewise.
17110         (__ASSUME_PIPE2): Likewise.
17111         (__ASSUME_EVENTFD2): Likewise.
17112         (__ASSUME_SIGNALFD4): Likewise.
17113         (__ASSUME_DUP3): Likewise.
17114         (__ASSUME_UTIMES): Undefine.
17116         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17117         feclearexcept.  Remove symbol versioning code.
17118         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17119         symbol versioning code.
17120         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17121         symbol versioning code.
17122         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17123         feupdateenv.  Remove symbol versioning code.
17124         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17125         fegetexceptflag.  Remove symbol versioning code.
17126         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17127         fesetexceptflag.  Remove symbol versioning code.
17128         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17129         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17130         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17131         (__posix_fadvise64_l32): Remove prototype.
17132         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17133         code.
17135 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17137         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17138         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17139         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17140         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17142 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17144         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17145         current working directory
17147 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17149         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17150         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17151         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17152         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17153         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17154         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17155         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17156         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17157         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17158         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17159         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17160         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17161         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17162         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17164         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17165         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17166         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17167         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17168         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17169         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17170         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17172         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17174         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17175         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17176         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17177         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17178         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17179         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17180         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17181         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17182         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17183         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17184         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17185         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17186         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17187         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17188         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17189         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17190         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17192         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17193         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17195         * sysdeps/unix/sysv/linux/arm/Makefile
17196         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17197         Add rt-aeabi_unwind_cpp_pr1.
17198         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17199         Add nptl-aeabi_unwind_cpp_pr1.
17200         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17201         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17202         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17203         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17204         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17205         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17207         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17208         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17209         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17210         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17212         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17213         Deconditionalize the code that was previously under [RESET_PID].
17214         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17216         * sysdeps/generic/exit-thread.h: New file.
17217         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17218         * include/unistd.h (__exit_thread): Remove declaration.
17219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17220         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17221         * csu/libc-start.c: Include <exit-thread.h>.
17222         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17223         * nptl/pthread_create.c: Include <exit-thread.h>.
17224         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17225         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17226         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17227         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17228         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17229         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17230         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17231         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17232         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17233         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17234         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17235         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17236         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17237         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17238         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17239         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17240         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17242 2014-05-13  Andreas Schwab  <schwab@suse.de>
17244         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17246 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17248         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17249         (__ASSUME_UTIMES): Do not condition on kernel version.
17250         (__ASSUME_PSELECT): Define unconditionally.
17251         (__ASSUME_PPOLL): Likewise.
17252         (__ASSUME_ATFCTS): Likewise.
17253         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17254         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17255         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17256         (__ASSUME_UTIMENSAT): Define unconditionally.
17257         (__ASSUME_PRIVATE_FUTEX): Likewise.
17258         (__ASSUME_FALLOCATE): Likewise.
17259         (__ASSUME_O_CLOEXEC): Likewise.
17260         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17261         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17262         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17263         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17264         (__ASSUME_IN_NONBLOCK): Likewise.
17265         (__ASSUME_PIPE2): Likewise.
17266         (__ASSUME_EVENTFD2): Likewise.
17267         (__ASSUME_SIGNALFD4): Likewise.
17268         (__ASSUME_DUP3): Likewise.
17269         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17270         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17271         (__ASSUME_AT_RANDOM): Likewise.
17272         (__ASSUME_PREADV): Likewise.
17273         (__ASSUME_PWRITEV): Likewise.
17274         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17275         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17276         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17277         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17278         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17280         (__ASSUME_O_CLOEXEC): Define unconditionally.
17281         (__ASSUME_PSELECT): Do not undefine conditionally.
17282         (__ASSUME_PPOLL): Likewise.
17283         (__ASSUME_ATFCTS): Likewise.
17284         (__ASSUME_SET_ROBUST_LIST): Likewise.
17285         (__ASSUME_UTIMENSAT): Likewise.
17286         (__ASSUME_FDATASYNC): Define unconditionally.
17287         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17288         (__ASSUME_SIGFRAME_V2): Likewise.
17289         )__ASSUME_EVENTFD2): Likewise.
17290         (__ASSUME_SIGNALFD4): Likewise.
17291         (__ASSUME_PSELECT): Do not undefine conditionally.
17292         (__ASSUME_PPOLL): Likewise.
17293         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17294         (__ASSUME_PSELECT): Define unconditionally.
17295         (__ASSUME_PPOLL): Likewise.
17296         (__ASSUME_O_CLOEXEC): Likewise.
17297         (__ASSUME_SOCK_CLOEXEC): Likewise.
17298         (__ASSUME_IN_NONBLOCK): Likewise.
17299         (__ASSUME_PIPE2): Likewise.
17300         (__ASSUME_EVENTFD2): Likewise.
17301         (__ASSUME_SIGNALFD4): Likewise.
17302         (__ASSUME_DUP3): Likewise.
17303         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17304         (__ASSUME_O_CLOEXEC): Likewise.
17305         (__ASSUME_SOCK_CLOEXEC): Likewise.
17306         (__ASSUME_IN_NONBLOCK): Likewise.
17307         (__ASSUME_PIPE2): Likewise.
17308         (__ASSUME_EVENTFD2): Likewise.
17309         (__ASSUME_SIGNALFD4): Likewise.
17310         (__ASSUME_DUP3): Likewise.
17311         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17312         (__ASSUME_EVENTFD2): Likewise.
17313         (__ASSUME_SIGNALFD4): Likewise.
17314         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17316 2014-05-12  Andreas Schwab  <schwab@suse.de>
17318         [BZ #16932]
17319         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17320         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17321         than maximum RPC packet size.
17322         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17323         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17324         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17325         (_nss_nis_getservbyport_r): Likewise.
17327 2014-05-12  Will Newton  <will.newton@linaro.org>
17329         * malloc/Makefile (tests): Add tst-mallopt.
17330         * malloc/tst-mallopt.c: New file.
17332 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17334         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17335         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17337 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17339         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17340         (tst-tlsmod6.so): Likewise.
17342 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17344         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17346 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17348         [BZ #16064]
17349         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17350         and <dl-procinfo.h>.
17351         (__fegetenv): Save SSE state in envp->__eip if supported.
17352         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17353         envp->__eip if supported.
17354         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17355         and <dl-procinfo.h>.
17356         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17357         __data_offset and __data_selector in environment to 0.  Set SSE
17358         state if supported.
17359         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17360         test-fenv-sse.
17361         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17362         -mfpmath=sse.
17363         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17365 2014-05-09  Will Newton  <will.newton@linaro.org>
17367         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17368         and libc_relro_required for ARM.
17369         * sysdeps/arm/preconfigure: Regenerate.
17371 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17372             Stefan Liebler  <stli@linux.vnet.ibm.com>
17374         * config.make.in (enable-lock-elision): New Makefile variable.
17375         * configure.ac: Likewise.
17376         * configure: Regenerate.
17377         * sysdeps/s390/configure.ac:
17378         Add check for gcc transactions support.
17379         * sysdeps/s390/configure: Regenerate.
17380         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17381         Build elision files if enabled.
17382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17383         Add lock elision support for s390.
17384         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17385         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17386         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17387         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17388         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17389         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17390         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17391         Likewise.
17392         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17393         Likewise.
17394         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17395         Likewise.
17396         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17397         Likewise.
17398         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17399         (__lll_timedlock_elision, __lll_lock_elision)
17400         (__lll_unlock_elision, __lll_trylock_elision)
17401         (lll_timedlock_elision, lll_lock_elision)
17402         (lll_unlock_elision, lll_trylock_elision): Add.
17403         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17404         (pthread_mutex_t): Add lock elision support for s390.
17406 2014-05-14  Wilco  <wdijkstr@arm.com>
17408         * sysdeps/arm/fclrexcpt.c: Cleanup.
17409         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17410         * sysdeps/arm/feenablxcpt.c: Cleanup.
17411         * sysdeps/arm/fegetenv.c: Cleanup.
17412         * sysdeps/arm/fegetexcept.c: Cleanup.
17413         * sysdeps/arm/fegetround.c: Cleanup.
17414         * sysdeps/arm/feholdexcpt.c: Cleanup.
17415         * sysdeps/arm/fesetenv.c: Cleanup.
17416         * sysdeps/arm/fesetround.c: Cleanup.
17417         * sysdeps/arm/feupdateenv.c: Cleanup.
17418         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17419         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17420         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17421         * sysdeps/arm/ftestexcept.c: Cleanup.
17422         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17423         * sysdeps/arm/setfpucw.c: Cleanup.
17425 2014-05-09  Will Newton  <will.newton@linaro.org>
17427         * sysdeps/arm/armv7/strcmp.S: New file.
17428         * NEWS: Mention addition of ARMv7 optimized strcmp.
17430 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17432         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17433         look for %.ac rather than %.in.
17435         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17436         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17437         * sysdeps/mach/hurd/configure: Regenerated.
17438         * sysdeps/unix/sysv/linux/configure: Regenerated.
17440         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17442 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17444         [BZ# 16922]
17445         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17446         (LONG_SUB): Ditto.
17447         (PTR_SUB): Ditto.
17449 2014-05-07  Andreas Schwab  <schwab@suse.de>
17451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17452         when skipping over non-matching result from nscd.
17454 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17456         [BZ #16876]
17457         * nptl/sockperf.c (client): Check socket return value.
17459         [BZ #16877]
17460         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17461         nscd security class.
17463 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17465         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17466         * sysdeps/arm/unwind.h: ... here.
17468 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17470         [BZ# 16916]
17471         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17472         Define.
17474 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17476         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17477         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17478         multiarch strncpy for PPC64.
17479         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17480         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17482         multiarch optimizations.
17483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17484         (__libc_ifunc_impl_list): Likewise.
17485         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17486         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17487         multiarch stpncpy for PPC64.
17488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17489         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17491 2014-05-06  Andreas Schwab  <schwab@suse.de>
17493         [BZ #16912]
17494         * gmon/mcount.c (_MCOUNT_DECL): Use
17495         atomic_compare_and_exchange_bool_acq instead of
17496         catomic_compare_and_exchange_bool_acq.
17498 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17500         * elf/Makefile (others, install-bin): Remove pldd.
17501         (pldd-modules): Variable removed.
17502         ($(objpfx)pldd): Target removed.
17503         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17504         (others, install-bin): Append pldd here.
17505         ($(objpfx)pldd): New target.
17507         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17508         to 0, so the first #if test emitted later doesn't see it undefined.
17509         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17510         * sysdeps/gnu/errlist.c: Regenerated.
17512 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17515         [libc_hidden_builtin_def]: Define to empty value.
17516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17517         [libc_hidden_builtin_def]: Likewise.
17518         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17519         [libc_hidden_builtin_def]: Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17521         [libc_hidden_builtin_def]: Likewise.
17522         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17523         __redirect_memcpy and define ifunc as default hidden symbol.
17524         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17525         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17527 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17529         * locale/iso-4217.def: Reintroduce XDR currency.
17531 2014-05-04  Allan McRae  <allan@archlinux.org>
17533         * po/eo.po: Update Esperanto translation from translation project.
17535 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17537         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17538         and FEATURE_INDEX_MAX to 1.
17539         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17541 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17543         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17544         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17545         * iconvdata/big5.c (ONE_DIRECTION): Define.
17546         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17547         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17548         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17549         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17550         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17551         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17552         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17553         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17554         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17555         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17556         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17557         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17558         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17559         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17560         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17561         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17562         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17563         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17564         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17565         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17566         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17567         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17568         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17569         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17570         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17571         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17572         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17573         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17574         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17575         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17576         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17577         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17578         * iconvdata/johab.c (ONE_DIRECTION): Define.
17579         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17580         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17581         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17582         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17583         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17584         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17585         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17586         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17587         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17588         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17590 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17592         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17593         (_IO_JUMPS_OFFSET): Define to 0.
17595         * nptl/sysdeps/pthread/bits/libc-lock.h
17596         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17597         (__libc_lock_define_initialized_recursive): Always define using
17598         initializer.  Modern compilers treat uninitialized (implicit zero) and
17599         explicit zero initializers the same (i.e. put the datum in bss).
17601 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17603         * nscd/nscd-client.h: Include <string.h>.
17605 2014-05-01  David S. Miller  <davem@davemloft.net>
17607         [BZ #16885]
17608         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17609         multiple zero bytes exist at the end of a string.
17610         Reported by Aurelien Jarno <aurelien@aurel32.net>
17612         * string/test-strcmp.c (check): Add explicit test for situations where
17613         there are multiple zero bytes after the first.
17615 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17617         [BZ #16890]
17618         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17619         when compiling wprintf.
17620         * stdio-common/tstdiomisc.c (t3): New function.
17621         (main): Call it.
17623 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17625         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17626         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17627         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17628         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17630 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17632         * stdlib/longlong.h: Updated from GCC.
17634 2014-05-01  Will Newton  <will.newton@linaro.org>
17635             Bernard Ogden  <bernie.ogden@linaro.org>
17637         * NEWS: Update fixed bug list.
17639         [BZ #15119]
17640         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17642 2014-04-30  David S. Miller  <davem@davemloft.net>
17644         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17645         (libc_feholdexcept_setround_sparc_ctx): New function.
17646         (libc_fesetenv_sparc_ctx): Likewise.
17647         (libc_feupdateenv_sparc_ctx): Likewise.
17648         (libc_feholdsetround_sparc_ctx): Likewise.
17649         (libc_feholdexcept_setround_ctx): Define.
17650         (libc_feholdexcept_setroundf_ctx): Likewise.
17651         (libc_feholdexcept_setroundl_ctx): Likewise.
17652         (libc_fesetenv_ctx): Likewise.
17653         (libc_fesetenvf_ctx): Likewise.
17654         (libc_fesetenvl_ctx): Likewise.
17655         (libc_feupdateenv_ctx): Likewise.
17656         (libc_feupdateenvf_ctx): Likewise.
17657         (libc_feupdateenvl_ctx): Likewise.
17658         (libc_feresetround_ctx): Likewise.
17659         (libc_feresetroundf_ctx): Likewise.
17660         (libc_feresetroundl_ctx): Likewise.
17661         (libc_feholdsetround_ctx): Likewise.
17662         (libc_feholdsetroundf_ctx): Likewise.
17663         (libc_feholdsetroundl_ctx): Likewise.
17665         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17666         with __USE_GNU instead of XOPEN cpp guards.
17668         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17669         0.
17671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17672         with XOPEN cpp guards.
17674 2014-04-30  Julian Brown  <julian@codesourcery.com>
17676         [BZ #16888]
17677         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17678         handling.
17680 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17682         [BZ #9894]
17683         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17684         Change to 2.6.32.
17685         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17686         * sysdeps/unix/sysv/linux/configure: Regenerated.
17687         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17688         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17689         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17690         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17691         * README: Update reference to required Linux kernel version.
17692         * manual/install.texi (Linux): Update reference to required Linux
17693         kernel headers version.
17694         * INSTALL: Regenerated.
17696         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17697         header inclusion.
17698         [POSIX] (limits.h): Likewise.
17699         [POSIX] (math.h): Likewise.
17700         [POSIX] (sys/wait.h): Likewise.
17701         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17702         function.
17703         [POSIX] (stddef.h): Do not allow header inclusion.
17705 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17707         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17709 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17711         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17712         Return immediately after lll_futex_wake.
17714 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17716         [BZ #16791]
17717         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17718         structure.
17719         (datahead_init_pos): Call datahead_init_common early.
17720         (datahead_init_neg): Likewise.
17722         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17723         datahead_init_neg): New functions.
17724         * nscd/aicache.c (addhstaiX): Use them.
17725         * nscd/grpcache.c (cache_addgr): Likewise.
17726         * nscd/hstcache.c (cache_addhst): Likewise.
17727         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17728         * nscd/netgroupcache.c (do_notfound): Likewise.
17729         (addgetnetgrentX): Likewise.
17730         (addinnetgrX): Likewise.
17731         * nscd/pwdcache.c (cache_addpw): Likewise.
17732         * nscd/servicescache.c (cache_addserv): Likewise.
17734 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17735             Atsushi Onoe  <atsushi@onoe.org>
17737         [BZ #14308]
17738         [BZ #12994]
17739         [BZ #13651]
17740         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17741         one response is valid.
17742         * resolv/res_send.c (send_dg): Check for validity of other
17743         response if the current response is a referral.
17745 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17747         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17749 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17751         [BZ #16823]
17752         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17753         Always divide by positive zero when computing -Inf result.
17754         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17755         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17757 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17759         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17760         FPSCR if value do not change.
17761         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17762         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17763         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17764         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17765         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17766         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17767         function.
17769 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17771         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17772         * sysdeps/unix/sysv/linux/hppa: Move directory from
17773         ports/systeps/unix/sysv/linux/hppa.
17774         * README: Update listing for hppa-*-linux-gnu.
17776 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17778         [BZ #16754]
17779         * manual/stdio.texi (Hook functions): Fix types of stream hook
17780         functions.
17781         [BZ #16854]
17782         * socket/sys/socket.h: Fix typo in comment.
17784 2014-04-28  Wilco  <wdijkstr@arm.com>
17786         * sysdeps/arm/fenv_private.h: New file.
17787         * sysdeps/arm/math_private.h: New file.
17788         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17790 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17792         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17793         with __int128_t.
17794         (La_x86_64_retval): Likewise.
17796 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17798         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17799         fpsr if value didn't change.
17800         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17801         to fpcr if value didn't change.
17802         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17803         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17804         fpsr or fpcr if value didn't change.
17805         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17806         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17807         fpcr if value didn't change.
17808         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17809         to fpsr if value didn't change.
17811 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17813         * nptl/tst-sem3.c: Use test-skeleton.c
17814         (main): Rename to do_test.  Use return instead of
17815         exit.
17816         * nptl/tst-sem4.c: Use test-skeleton.c
17817         (main): Rename to do_test.
17819 2014-04-22  David S. Miller  <davem@davemloft.net>
17821         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17822         (struct sigaction): New struct member __glibc_reserved0, change
17823         type of sa_flags to int.
17825 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17827         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17828         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17830 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17832         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17833         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17835 2014-04-22  Will Newton  <will.newton@linaro.org>
17836             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17838         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17839         (__longjmp): Add longjmp and longjmp_target SystemTap
17840         probes.
17841         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17842         (__sigsetjmp): Add setjmp SystemTap probe.
17844 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17846         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17847         match manual order.
17849 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17851         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17853         * sysdeps/powerpc/fpu/fenv_private.h
17854         (libc_feholdexcept_setroundl_ctx): Define to
17855         libc_feholdexcept_setround_ppc_ctx.
17856         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17857         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17858         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17859         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17861 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17863         * sysdeps/aarch64/math-tests.h: New file.
17865 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17867         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17868         New.
17869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17870         Check and set bit_AVX2_Usable.
17871         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17872         macro.
17873         (bit_AVX2): Likewise.
17874         (index_AVX2_Usable): Likewise.
17875         (CPUID_AVX2): Likewise.
17876         (HAS_AVX2): Likewise.
17878 2014-04-17  Will Newton  <will.newton@linaro.org>
17880         * manual/setjmp.texi (System V contexts): Add note that
17881         calling setcontext on a context created by a call to a
17882         signal handler is undefined.  Update text to note that
17883         setcontext from a signal handler is possible but not
17884         recommended.
17886         [BZ #16629]
17887         * stdlib/tst-setcontext.c: Include signal.h.
17888         (main): Check that the signal stack before and
17889         after swapcontext is the same.
17891         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17892         Re-implement to restore registers in user code and avoid
17893         rt_sigreturn system call.
17895 2014-04-17  Wilco  <wdijkstr@arm.com>
17897         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17898         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17899         * math/test-fenv.c: Skip exception trap tests on targets which only
17900         support non-stop mode.
17902 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17903             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17905         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17906         (libc_feholdsetround_aarch64_ctx)
17907         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17908         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17909         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17910         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17911         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17912         (libc_feresetround_noexl_ctx): Define.
17914 2014-04-16  Richard Henderson  <rth@redhat.com>
17916         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17918         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17919         unwind tables.
17921         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17922         const from the non-libc, non-ldso copy.
17924         * sysdeps/alpha/libm-test-ulps: Regenerate.
17926 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17927             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17929         * sysdeps/aarch64/fpu/math_private.h: New file.
17931 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17933         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17935 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17937         [BZ #16275]
17938         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17939         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17940         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17941         Intel MPX bound registers before _dl_profile_fixup.
17942         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17943         registers after _dl_profile_fixup.  Save and restore bound
17944         registers bnd0/bnd1 when calling _dl_call_pltexit.
17945         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17946         (LR_BND_OFFSET): Likewise.
17947         (LRV_BND0_OFFSET): Likewise.
17948         (LRV_BND1_OFFSET): Likewise.
17950 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17952         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17953         to...
17954         * sysdeps/mach/hurd/i386/tls.h: ... here.
17955         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17956         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17957         fields.
17959 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17961         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17963 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17967 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17969         [BZ #14770]
17970         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17971         * sysdeps/s390/configure: Regenerate.
17973         [BZ #16824]
17974         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17975         Set round-to-nearest internally to reduce error accumulation.
17977 2014-04-16  Alan Modra  <amodra@gmail.com>
17979         [BZ #16740]
17980         [BZ #16619]
17981         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17982         * math/libm-test.inc (frexp_test_data): Add tests.
17983         * NEWS: Update fixed bug list.
17985 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17987         * benchtests/Makefile: Depend on libraries in build directory.
17988         (bench-math): Separate out math tests.
17989         (bench-pthread): Separate out pthread tests.
17990         (bench): Include math and pthread tests.
17992 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17994         [BZ #16831]
17995         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17996         _dl_debug_initialize.
17998         * configure.ac: Remove SELinux header check.
17999         * configure: Regenerate.
18000         * nscd/selinux.c (perms): Array of const char* to permission names.
18001         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18002         default policy. Call string_to_security_class and string_to_av_perm to
18003         translate strings. Enforce default policy and call avs_has_perm with
18004         results of translated strings.
18006 2014-04-13  David S. Miller  <davem@davemloft.net>
18008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18010 2014-04-12  Allan McRae  <allan@archlinux.org>
18012         [BZ #16838]
18013         * manual/string.texi (Collation Functions): Fix qsort argument
18014         order in example.
18015         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18017 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18019         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18020         Make the test a no-op if there are no exceptions defined.
18022 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18024         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18025         enable-hardcoded-path-in-tests
18027 2014-04-11  Will Newton  <will.newton@linaro.org>
18029         * benchtests/Makefile (extra-objs): Add json-lib.o.
18030         (bench-func): Tidy up JSON output.
18031         * benchtests/bench-skeleton.c: Include json-lib.h.
18032         (main): Use JSON library functions to do output of
18033         benchmark results.
18034         * benchtests/bench-timing-type.c (main): Output the
18035         timing type simply, leaving formatting to the user.
18036         * benchtests/json-lib.c: New file.
18037         * benchtests/json-lib.h: Likewise.
18039 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18041         [BZ #15215]
18042         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18043         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18044         memory barriers.  Add comments.
18045         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18046         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18047         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18048         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18049         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18050         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18052 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18054         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18055         * sysdeps/s390/s390-64/configure.ac: ... this ...
18056         * sysdeps/s390/configure.ac: ... to here.
18057         * sysdeps/s390/s390-32/configure: Delete file.
18058         * sysdeps/s390/s390-64/configure: Delete file.
18059         * sysdeps/s390/configure: Regenerate.
18061 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18063         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18065 2014-04-11  Will Newton  <will.newton@linaro.org>
18067         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18068         to zero if it is not defined elsewhere.  (mtrim): Test
18069         the value of MALLOC_DEBUG with #if rather than #ifdef.
18071 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18073         * benchtests/pthread_once-inputs: New file.
18074         * benchtests/pthread_once-source.c: New file.
18075         * benchtests/README: Update documentation.
18077 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18078             H.J. Lu  <hongjiu.lu@intel.com>
18080         [BZ #16275]
18081         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18082         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18083         * sysdeps/x86_64/configure: Regenerated.
18084         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18085         macro.
18086         (REGISTER_SAVE_RAX): Likewise.
18087         (REGISTER_SAVE_RCX): Likewise.
18088         (REGISTER_SAVE_RDX): Likewise.
18089         (REGISTER_SAVE_RSI): Likewise.
18090         (REGISTER_SAVE_RDI): Likewise.
18091         (REGISTER_SAVE_R8): Likewise.
18092         (REGISTER_SAVE_R9): Likewise.
18093         (REGISTER_SAVE_BND0): Likewise.
18094         (REGISTER_SAVE_BND1): Likewise.
18095         (REGISTER_SAVE_BND2): Likewise.
18096         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18097         bound registers when calling _dl_fixup.
18099 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18101         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18102         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18103         of its definition.
18104         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18105         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18106         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18107         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18108         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18109         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18110         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18112 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18114         [BZ #15514]
18115         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18116         pathconf(_PC_NAME_MAX).
18118 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18120         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18121         Remove macro usage.
18122         (__PTHREAD_SPINS): Move definition to ...
18123         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18124         (__PTHREAD_SPINS): ... here.
18125         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18126         (__PTHREAD_SPIN): Likewise.
18127         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18128         (__PTHREAD_SPIN): Likewise.
18129         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18130         (__PTHREAD_SPIN): Likewise.
18131         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18132         (__PTHREAD_SPIN): Likewise.
18133         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18134         (__PTHREAD_SPIN): Likewise.
18135         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18136         (__PTHREAD_SPIN): Likewise.
18137         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18138         (__PTHREAD_SPIN): Likewise.
18139         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18140         (__PTHREAD_SPIN): Likewise.
18141         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18142         (__PTHREAD_SPIN): Likewise.
18143         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18144         (__PTHREAD_SPIN): Likewise.
18145         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18146         (__PTHREAD_SPIN): Likewise.
18147         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18148         (__PTHREAD_SPIN): Likewise.
18150         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18151         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18152         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18153         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18154         imply folder.
18155         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18156         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18157         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18158         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18159         correct imply path.
18160         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18161         strlen symbol for non multi-arch builds.
18162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18163         missing hidden_def and weak_alias.
18165 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18167         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18169 2014-04-07  Will Newton  <will.newton@linaro.org>
18171         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18172         and contents.  [!_LIBC] Remove #ifndef and contents.
18173         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18174         * string/memccpy.c (__memccpy): Use ANSI prototype.
18175         * string/memfrob.c (memfrob): Likewise.
18176         * string/strcoll.c (STRCOLL): Likewise.
18177         * string/strlen.c (strlen): Likewise.
18178         * string/strtok.c (STRTOK): Likewise.
18179         * string/strcat.c: Remove unused #include of memcopy.h.
18180         (strcat): Use ANSI prototype.
18181         * string/strchr.c: Remove unused #include of memcopy.h.
18182         (strchr): Use ANSI prototype.
18183         * string/strcmp.c: Remove unused #include of memcopy.h.
18184         (strcmp): Use ANSI prototype.
18185         * string/strcpy.c: Remove unused #include of memcopy.h.
18186         (strcpy): Use ANSI prototype.
18188 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18190         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18191         * config.make.in (config-extra-cppflags): Set it from
18192         libc_extra_cppflags.
18193         * configure.ac (libc_extra_cflags): Make it accumulate over
18194         configure fragments.
18195         (libc_extra_cppflags): New flag.
18196         * configure. Regenerate.
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18198         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18199         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18202         [BZ #16815]
18203         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18204         result for FE_DOWNWARD rounding mode.
18205         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18206         Likewise.
18207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18209 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18211         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18212         in function argument name.
18214 2014-04-03  David Svoboda  <svoboda@cert.org>
18216         [BZ #5666]
18217         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18218         explicitly.
18220 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18222         * elf/dl-unmap-segments.h: New file.
18223         * sysdeps/generic/ldsodefs.h
18224         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18225         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18226         * elf/dl-fptr.c: Likewise.
18227         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18228         * sysdeps/aarch64/tlsdesc.c: Likewise.
18229         * sysdeps/arm/tlsdesc.c: Likewise.
18230         * sysdeps/i386/tlsdesc.c: Likewise.
18231         * sysdeps/tile/dl-runtime.c: Likewise.
18232         * sysdeps/x86_64/tlsdesc.c: Likewise.
18233         * elf/dl-load.h: New file.
18234         * elf/dl-load.c: Include it.
18235         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18236         Macros moved to dl-load.h.
18237         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18238         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18239         Use _dl_unmap_segments in place of __munmap.
18240         Break out segment-mapping loop into ...
18241         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18243 2014-04-03  Will Newton  <will.newton@linaro.org>
18245         * elf/dl-lookup.c (do_lookup_x): Remove comment
18246         referring to nested function and move variable
18247         declarations down to before first use.
18249 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18251         [BZ #16799]
18252         [BZ #16800]
18253         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18254         with 0 numerator.
18255         * math/s_catanf.c (__catanf): Likewise.
18256         * math/s_catanh.c (__catanh): Likewise.
18257         * math/s_catanhf.c (__catanhf): Likewise.
18258         * math/s_catanhl.c (__catanhl): Likewise.
18259         * math/s_catanl.c (__catanl): Likewise.
18260         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18261         by positive zero when computing -Inf result.
18262         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18263         (catanh_test): Likewise.
18264         * sysdeps/i386/fpu/libm-test-ulps: Update.
18265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267         [BZ #16789]
18268         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18269         instead of using underflowing value in computing result.
18270         * math/s_clog10.c (__clog10): Likewise.
18271         * math/s_clog10f.c (__clog10f): Likewise.
18272         * math/s_clog10l.c (__clog10l): Likewise.
18273         * math/s_clogf.c (__clogf): Likewise.
18274         * math/s_clogl.c (__clogl): Likewise.
18275         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18276         (clog10_test): Likewise.
18277         * sysdeps/i386/fpu/libm-test-ulps: Update.
18278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18280 2014-04-02  Alan Modra  <amodra@gmail.com>
18282         [BZ #16739]
18283         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18284         output when value is near a power of two.  Use int64_t for lx and
18285         remove casts.  Use decimal rather than hex exponent constants.
18286         Don't use long double multiplication when double will suffice.
18287         * math/libm-test.inc (nextafter_test_data): Add tests.
18288         * NEWS: Add 16739 and 16786 to bug list.
18290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18292         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18294 2014-04-01  Will Newton  <will.newton@linaro.org>
18296         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18297         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18299 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18301         [BZ #13347]
18302         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18303         * nptl/tst-setuid2.c: New file.
18304         * nptl/Makefile (xtests): Add tst-setuid2.
18306 2014-04-01  Alan Modra  <amodra@gmail.com>
18308         [BZ #16786]
18309         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18311 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18313         [BZ #6803]
18314         [BZ #6804]
18315         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18316         set errno as appropriate.
18317         * math/w_scalbf.c (__scalbf): Likewise.
18318         * math/w_scalbl.c (__scalbl): Likewise.
18319         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18320         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18321         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18322         Add more NaN tests.
18324         [BZ #16349]
18325         * math/w_atan2.c: Include <errno.h>.
18326         (__atan2): Set errno for result underflowing to zero.
18327         * math/w_atan2f.c: Include <errno.h>.
18328         (__atan2f): Set errno for result underflowing to zero.
18329         * math/w_atan2l.c: Include <errno.h>.
18330         (__atan2l): Set errno for result underflowing to zero.
18331         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18332         tests.
18333         * math/auto-libm-test-out: Regenerated.
18335 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18337         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18338         Encode instruction correctly in little endian.
18339         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18340         Likewise.
18341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18342         Likewise.
18343         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18344         Likewise.
18345         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18346         Likewise.
18348 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18350         [BZ #9894]
18351         * sysdeps/unix/sysv/linux/kernel-features.h
18352         [__sparc__ && !__arch64__ && !__sparc_v9__]
18353         (__ASSUME_SET_ROBUST_LIST): Do not define.
18354         [__sparc__ && !__arch64__ && !__sparc_v9__]
18355         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18356         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18357         Likewise.
18358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18359         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18360         (__ASSUME_REQUEUE_PI): Likewise.
18361         (__ASSUME_SET_ROBUST_LIST): Likewise.
18362         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18363         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18364         Undefine.
18365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18366         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18367         Likewise.
18368         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18369         Likewise.
18370         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18371         Likewise.
18372         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18373         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18374         Undefine.
18375         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18376         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18377         Likewise.
18379         [BZ #16648]
18380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18382         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18384 2014-03-31  Will Newton  <will.newton@linaro.org>
18386         * benchtests/Makefile (bench): Add ffs and ffsll to list
18387         of tests.
18388         * benchtests/ffs-inputs: New file.
18389         * benchtests/ffsll-inputs: Likewise.
18391 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18393         [BZ #16770]
18394         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18395         too large before casting to int.
18396         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18397         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18398         * math/libm-test.inc (scalb_test_data): Add more tests.
18400 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18402         * benchtests/Makefile (DETAILED_OPT): New make option.
18403         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18404         set.
18405         * benchtests/bench-skeleton.c: Include stdbool.h.
18406         (main): Store and print timings per input.
18407         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18408         member to each argument value.
18409         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18410         (_print_arg_data): Initialize per-input timing to 0.
18412         * benchtests/Makefile (timing-type): New binary.
18413         (bench-clean): Also remove bench-timing-type.
18414         (bench): New target for timing-type.
18415         (bench-func): Print output in JSON format.
18416         * benchtests/bench-skeleton.c (main): Print output in JSON
18417         format.
18418         * benchtests/bench-timing-type.c: New file.
18419         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18420         (TIMING_PRINT_STATS): Remove.
18421         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18422         name separately.
18424         * benchtests/bench-modf.c: Remove.
18425         * benchtests/modf-inputs: New inputs file.
18427 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18429         [BZ #16362]
18430         * math/s_clog10.c (M_PI_LOG10E): New macro.
18431         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18432         imaginary parts are 0.
18433         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18434         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18435         imaginary parts are 0.
18436         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18437         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18438         imaginary parts are 0.
18439         * math/libm-test.inc (clog10_test_data): Update expected results
18440         for when real and imaginary parts are 0.
18442 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18444         * elf/dl-load.c: Finish conversion of __builtin_expect into
18445         __glibc_{un}likely.
18447 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18449         [BZ #16348]
18450         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18451         1+x for argument with exponent below -67.
18452         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18453         Likewise.
18454         * math/auto-libm-test-in: Add more tests of exp.
18455         * math/auto-libm-test-out: Regenerated.
18457 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18459         [BZ #16759]
18460         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18461         (nscd_getnetgrent): Use it.
18463         [BZ #16760]
18464         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18465         of stpcpy.
18467 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18469         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18470         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18471         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18472         (lll_robust_unlock): Remove out of line section. Use cfi
18473         intrinsics.
18474         (LLL_STUB_UNWIND_INFO*): Remove.
18475         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18476         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18477         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18478         (lll_robust_unlock): Remove out of line section. Use cfi
18479         intrinsics.
18480         (LLL_STUB_UNWIND_INFO*): Remove.
18482 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18484         [BZ #16758]
18485         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18486         blank values.
18488 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18490         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18492 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18494         [BZ #16198]
18495         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18496         fnstenv.
18497         * math/test-fenv-preserve.c: New file.
18498         * math/Makefile (tests): Add test-fenv-preserve.
18500 2014-03-26  Will Newton <will.newton@linaro.org>
18502         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18504 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18506         * scripts/versionlist.awk: Partition the version sets and emit all
18507         GLIBC_* (sorted) before all others (sorted).
18509 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18511         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18512         GLIBC_2.2.5 version.
18514 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18516         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18517         calls.
18519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18520         previous change.
18522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18524 2014-03-25  Andreas Schwab  <schwab@suse.de>
18526         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18527         label to be used after in6ailist is initialized.
18529 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18531         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18532         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18534 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18536         [BZ #16357]
18537         [BZ #16599]
18538         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18539         min_plus_half.
18540         (fp_formats): Update initializers.
18541         (init_fp_formats): Initialize new field.
18542         (output_for_one_input_case): Allow underflow for results up to
18543         min_plus_half.
18544         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18545         * math/auto-libm-test-in: Don't mark some underflows from asin and
18546         atanh as spurious.
18547         * math/auto-libm-test-out: Regenerated.
18548         * sysdeps/i386/fpu/libm-test-ulps: Update.
18549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18551 2014-03-25  Andreas Schwab  <schwab@suse.de>
18553         * libio/Makefile (tst-ftell-partial-wide-ENV)
18554         (tst-ftell-active-handler-ENV): Define.
18556 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18558         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18560 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18562         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18564 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18566         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18567         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18568         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18570 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18572         [BZ #16634]
18573         * elf/dl-load.c (open_verify): Add mode parameter.
18574         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18575         (open_path): Change from boolean 'secure' to complete flag 'mode'
18576         (_dl_map_object): Adjust.
18577         * elf/Makefile (tests): Add tst-dlopen-aout.
18578         * elf/tst-dlopen-aout.c: New test.
18580 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18582         [BZ #16714]
18583         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18584         (struct stat): Rename member pad0 to __glibc_reserved0.
18586         [BZ #16712]
18587         * sysdeps/s390/s390-32/bits/wordsize.h
18588         (__WORDSIZE32_SIZE_ULONG): New define.
18589         * sysdeps/s390/s390-64/bits/wordsize.h
18590         (__WORDSIZE32_SIZE_ULONG): Likewise.
18591         * sysdeps/generic/stdint.h (SIZE_MAX):
18592         Define as UL if __WORDSIZE32_SIZE_ULONG.
18594         [BZ #16713]
18595         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18596         (__glibc_reserved0): New variable.
18597         (sa_flags): Change type to int.
18599         * posix/Makefile (before-compile): Use += before-compile instead
18600         of a :=.
18602         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18603         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18605 2014-03-20  Andreas Schwab  <schwab@suse.de>
18607         [BZ #16743]
18608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18609         non-matching result from nscd.
18611 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613         * scripts/bench.py: Moved to ...
18614         * benchtests/scripts/bench.py: ... here.
18615         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18617 2014-03-24  Andreas Schwab  <schwab@suse.de>
18619         [BZ #16002]
18620         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18621         alloca_account and account alloca use for struct in6ailist.
18623 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18625         [BZ #16284]
18626         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18627         rounding mode to recompute results that overflow to infinity or
18628         underflow to zero.
18629         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18630         bug 16284.
18631         * math/auto-libm-test-out: Regenerated.
18632         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18633         (ccosh_test): Likewise.
18634         (csin_test_data): Use plus_oflow.
18635         (csin_test): Use ALL_RM_TEST.
18636         (csinh_test_data): Use plus_oflow.
18637         (csinh_test): Use ALL_RM_TEST.
18638         * sysdeps/i386/fpu/libm-test-ulps: Update.
18639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18641 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18643         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18644         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18645         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18647         [BZ #16731]
18648         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18649         when x - 1 is zero.
18650         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18651         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18652         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18653         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18654         argument is 1.
18655         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18656         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18657         zero.
18658         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18659         * sysdeps/i386/fpu/libm-test-ulps: Update.
18660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18662 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18664         * scripts/bench.pl: Remove file.
18665         * scripts/bench.py: New benchmark script.
18666         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18667         * benchtests/README: Mention python dependency.
18668         * scripts/pylintrc: New file.
18669         * scripts/pylint: New file.
18671         * bits/mathdef.h: Use #ifdef instead of #if.
18672         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18673         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18674         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18675         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18676         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18677         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18679 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18680             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18682         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18684         and strpbrk-ppc64 objects.
18685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18686         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18687         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18688         multiarch strpbrk for POWER7.
18689         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18690         multiarch strpbrk for PPC64.
18691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18692         ifunc selector.
18693         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18694         strpbrk for POWER7.
18696 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18698         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18699         (atan_test): Likewise.
18700         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18701         (atanh_test): Use ALL_RM_TEST.
18702         (atan2_test_data): Likewise.
18703         (cabs_test): Likewise.
18704         (cacosh_test): Likewise.
18705         (carg_test): Likewise.
18706         (casin_test): Likewise.
18707         (casinh_test): Likewise.
18708         (cbrt_test): Likewise.
18709         (csqrt_test): Likewise.
18710         (erf_test): Likewise.
18711         (erfc_test): Likewise.
18712         (pow10_test): Likewise.
18713         (exp2_test): Likewise.
18714         (hypot_test): Likewise.
18715         (j0_test): Likewise.
18716         (j1_test): Likewise.
18717         (lgamma_test): Likewise.
18718         (gamma_test): Likewise.
18719         (sincos_test): Likewise.
18720         (tanh_test): Likewise.
18721         (y0_test): Likewise.
18722         (y1_test): Likewise.
18723         * sysdeps/i386/fpu/libm-test-ulps: Update.
18724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18726 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18728         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18730         and strcspn-ppc64 objects.
18731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18732         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18733         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18734         multiarch strcspn for POWER7.
18735         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18736         multiarch strcspn for PPC64.
18737         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18738         ifunc selector.
18739         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18740         strcspn for POWER7.
18742 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18744         * math/gen-libm-test.pl (generate_testfile): Expect only function
18745         name as argument to AUTO_TESTS_* and pass results for all rounding
18746         modes to parse_args.
18747         (parse_auto_input): Separate inputs of automatic tests from
18748         outputs before storing in %auto_tests.
18749         * math/libm-test.inc (acos_test_data): Update call to
18750         AUTO_TESTS_f_f.
18751         (acos_test): Use ALL_RM_TEST.
18752         (acos_tonearest_test_data): Remove.
18753         (acos_test_tonearest): Likewise.
18754         (acos_towardzero_test_data): Likewise.
18755         (acos_test_towardzero): Likewise.
18756         (acos_downward_test_data): Likewise.
18757         (acos_test_downward): Likewise.
18758         (acos_upward_test_data): Likewise.
18759         (acos_test_upward): Likewise.
18760         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18761         (asin_test_data): Likewise.
18762         (asin_test): Use ALL_RM_TEST.
18763         (asin_tonearest_test_data): Remove.
18764         (asin_test_tonearest): Likewise.
18765         (asin_towardzero_test_data): Likewise.
18766         (asin_test_towardzero): Likewise.
18767         (asin_downward_test_data): Likewise.
18768         (asin_test_downward): Likewise.
18769         (asin_upward_test_data): Likewise.
18770         (asin_test_upward): Likewise.
18771         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18772         (atan_test_data): Likewise.
18773         (atanh_test_data): Likewise.
18774         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18775         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18776         (carg_test_data): Likewise.
18777         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18778         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18779         (ccosh_test_data): Likewise.
18780         (cexp_test_data): Likewise.
18781         (clog_test_data): Likewise.
18782         (clog10_test_data): Likewise.
18783         (cos_test_data): Update call to AUTO_TESTS_f_f.
18784         (cos_test): Use ALL_RM_TEST.
18785         (cos_tonearest_test_data): Remove.
18786         (cos_test_tonearest): Likewise.
18787         (cos_towardzero_test_data): Likewise.
18788         (cos_test_towardzero): Likewise.
18789         (cos_downward_test_data): Likewise.
18790         (cos_test_downward): Likewise.
18791         (cos_upward_test_data): Likewise.
18792         (cos_test_upward): Likewise.
18793         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18794         (cosh_test): Use ALL_RM_TEST.
18795         (cosh_tonearest_test_data): Remove.
18796         (cosh_test_tonearest): Likewise.
18797         (cosh_towardzero_test_data): Likewise.
18798         (cosh_test_towardzero): Likewise.
18799         (cosh_downward_test_data): Likewise.
18800         (cosh_test_downward): Likewise.
18801         (cosh_upward_test_data): Likewise.
18802         (cosh_test_upward): Likewise.
18803         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18804         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18805         (ctan_test_data): Likewise.
18806         (ctan_test): Use ALL_RM_TEST.
18807         (ctan_tonearest_test_data): Remove.
18808         (ctan_test_tonearest): Likewise.
18809         (ctan_towardzero_test_data): Likewise.
18810         (ctan_test_towardzero): Likewise.
18811         (ctan_downward_test_data): Likewise.
18812         (ctan_test_downward): Likewise.
18813         (ctan_upward_test_data): Likewise.
18814         (ctan_test_upward): Likewise.
18815         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18816         (ctanh_test): Use ALL_RM_TEST.
18817         (ctanh_tonearest_test_data): Remove.
18818         (ctanh_test_tonearest): Likewise.
18819         (ctanh_towardzero_test_data): Likewise.
18820         (ctanh_test_towardzero): Likewise.
18821         (ctanh_downward_test_data): Likewise.
18822         (ctanh_test_downward): Likewise.
18823         (ctanh_upward_test_data): Likewise.
18824         (ctanh_test_upward): Likewise.
18825         (erf_test_data): Update call to AUTO_TESTS_f_f.
18826         (erfc_test_data): Likewise.
18827         (exp_test_data): Likewise.
18828         (exp_test): Use ALL_RM_TEST.
18829         (exp_tonearest_test_data): Remove.
18830         (exp_test_tonearest): Likewise.
18831         (exp_towardzero_test_data): Likewise.
18832         (exp_test_towardzero): Likewise.
18833         (exp_downward_test_data): Likewise.
18834         (exp_test_downward): Likewise.
18835         (exp_upward_test_data): Likewise.
18836         (exp_test_upward): Likewise.
18837         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18838         (exp10_test): Use ALL_RM_TEST.
18839         (exp10_tonearest_test_data): Remove.
18840         (exp10_test_tonearest): Likewise.
18841         (exp10_towardzero_test_data): Likewise.
18842         (exp10_test_towardzero): Likewise.
18843         (exp10_downward_test_data): Likewise.
18844         (exp10_test_downward): Likewise.
18845         (exp10_upward_test_data): Likewise.
18846         (exp10_test_upward): Likewise.
18847         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18848         (expm1_test_data): Likewise.
18849         (expm1_test): Use ALL_RM_TEST.
18850         (expm1_tonearest_test_data): Remove.
18851         (expm1_test_tonearest): Likewise.
18852         (expm1_towardzero_test_data): Likewise.
18853         (expm1_test_towardzero): Likewise.
18854         (expm1_downward_test_data): Likewise.
18855         (expm1_test_downward): Likewise.
18856         (expm1_upward_test_data): Likewise.
18857         (expm1_test_upward): Likewise.
18858         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18859         (fma_test): Use ALL_RM_TEST.
18860         (fma_towardzero_test_data): Remove.
18861         (fma_test_towardzero): Likewise.
18862         (fma_downward_test_data): Likewise.
18863         (fma_test_downward): Likewise.
18864         (fma_upward_test_data): Likewise.
18865         (fma_test_upward): Likewise.
18866         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18867         (j0_test_data): Update call to AUTO_TESTS_f_f.
18868         (j1_test_data): Likewise.
18869         (jn_test_data): Update call to AUTO_TESTS_if_f.
18870         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18871         (log_test_data): Update call to AUTO_TESTS_f_f.
18872         (log10_test_data): Likewise.
18873         (log1p_test_data): Likewise.
18874         (log2_test_data): Likewise.
18875         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18876         (pow_tonearest_test_data): Likewise.
18877         (sin_test_data): Update call to AUTO_TESTS_f_f.
18878         (sin_test): Use ALL_RM_TEST.
18879         (sin_tonearest_test_data): Remove.
18880         (sin_test_tonearest): Likewise.
18881         (sin_towardzero_test_data): Likewise.
18882         (sin_test_towardzero): Likewise.
18883         (sin_downward_test_data): Likewise.
18884         (sin_test_downward): Likewise.
18885         (sin_upward_test_data): Likewise.
18886         (sin_test_upward): Likewise.
18887         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18888         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18889         (sinh_test): Use ALL_RM_TEST.
18890         (sinh_tonearest_test_data): Remove.
18891         (sinh_test_tonearest): Likewise.
18892         (sinh_towardzero_test_data): Likewise.
18893         (sinh_test_towardzero): Likewise.
18894         (sinh_downward_test_data): Likewise.
18895         (sinh_test_downward): Likewise.
18896         (sinh_upward_test_data): Likewise.
18897         (sinh_test_upward): Likewise.
18898         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18899         (sqrt_test): Use ALL_RM_TEST.
18900         (sqrt_tonearest_test_data): Remove.
18901         (sqrt_test_tonearest): Likewise.
18902         (sqrt_towardzero_test_data): Likewise.
18903         (sqrt_test_towardzero): Likewise.
18904         (sqrt_downward_test_data): Likewise.
18905         (sqrt_test_downward): Likewise.
18906         (sqrt_upward_test_data): Likewise.
18907         (sqrt_test_upward): Likewise.
18908         (tan_test_data): Update call to AUTO_TESTS_f_f.
18909         (tan_test): Use ALL_RM_TEST.
18910         (tan_tonearest_test_data): Remove.
18911         (tan_test_tonearest): Likewise.
18912         (tan_towardzero_test_data): Likewise.
18913         (tan_test_towardzero): Likewise.
18914         (tan_downward_test_data): Likewise.
18915         (tan_test_downward): Likewise.
18916         (tan_upward_test_data): Likewise.
18917         (tan_test_upward): Likewise.
18918         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18919         (tgamma_test_data): Likewise.
18920         (y0_test_data): Likewise.
18921         (y1_test_data): Likewise.
18922         (yn_test_data): Update call to AUTO_TESTS_if_f.
18923         (main): Do not call removed functions.
18925 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18927         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18928         (ldexp_test_data): Remove.
18929         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18930         scalbn_test_data.
18931         (scalb_test): Use ALL_RM_TEST.
18933 2014-03-19  Andreas Schwab  <schwab@suse.de>
18935         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18937 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18939         [BZ #16649]
18940         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18942         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18943         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18944         (__ASSUME_PREADV): Undefine.
18945         (__ASSUME_PWRITEV): Likewise.
18947 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18949         * bits/mman-linux.h: Add comment about non-Linux use.
18950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18951         bits/mman-linux.h resting place.
18953         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18954         * bits/mman-linux.h: ... here.
18956 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18958         * conform/conformtest.pl: Add standard definition when calling C
18959         preprocessor on data files.
18960         (checknamespace): Remove unused variable.
18962 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18964         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18965         minus_oflow, plus_uflow and minus_uflow in expected results.
18966         * math/libm-test.inc (scalbn_test_data): Add more tests of
18967         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18968         minus_uflow.
18969         (scalbn_test): Use ALL_RM_TEST.
18970         (scalbln_test_data): Add more tests of negative arguments.  Use
18971         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18972         (scalbln_test): Use ALL_RM_TEST.
18974 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18976         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18978 2014-03-18  Will Newton  <will.newton@linaro.org>
18980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18981         inaccurate comment.
18983 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18985         * Makerules [!subdir] (check-abi): Exit with error status if a
18986         test failed.
18988 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18990         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18991         for rint.  Include results for all rounding modes.
18992         (nearbyint_test): Use ALL_RM_TEST.
18993         (rint_test_data): Include all tests used for nearbyint.
18995 2014-03-17  Will Newton  <will.newton@linaro.org>
18997         * nptl/sysdeps/pthread/pthread.h: Revert previous
18998         change.
19000         * sysdeps/generic/ldsodefs.h: Revert previous
19001         change.
19003         * libio/genops.c: Revert previous change.
19004         * libio/libioP.h: Likewise.
19005         * stdio-common/vfprintf.c: Likewise.
19007         * sysdeps/generic/math_private.h: Revert previous
19008         change.
19010         * sysdeps/generic/math_private.h: Check whether
19011         HAVE_RM_CTX is defined with #ifdef rather
19012         than #if.
19014         * argp/argp-fmtstream.h: Check whether
19015         __STRICT_ANSI__ is defined with #ifdef rather
19016         than #if.
19017         * argp/argp.h: Likewise.
19019         * libio/genops.c: Check whether
19020         _IO_JUMPS_OFFSET is defined with #ifdef rather
19021         than #if.
19022         * libio/libioP.h: Likewise.
19023         * stdio-common/vfprintf.c: Likewise.
19025         * sysdeps/generic/ldsodefs.h: Check whether
19026         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19027         than #if.
19029         * nptl/sysdeps/pthread/pthread.h: Check
19030         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19031         its value.
19033 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19035         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19036         setting O_APPEND.
19037         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19038         test case.
19040         [BZ #16680]
19041         * libio/fileops.c (_IO_file_open): Seek to end of file but
19042         don't cache the offset.
19043         (get_file_offset): Remove function.
19044         (do_ftell): Use cached offset when available.
19045         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19046         don't cache the offset.
19047         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19048         case.
19049         (do_one_test): Call it.
19050         (do_ftell_test): Fix up expected old offset for a+ mode.
19051         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19052         available.
19054         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19055         up test status with function return status.
19056         (do_write_test): Likewise.
19057         (do_append_test): Likewise.
19059         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19060         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19061         Remove.
19063 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19065         * math/gen-libm-test.pl (parse_args): Handle results specified for
19066         each rounding mode separately.
19067         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19068         tests and results from lrint_tonearest_test_data,
19069         lrint_towardzero_test_data, lrint_downward_test_data and
19070         lrint_upward_test_data.
19071         (lrint_test): Use ALL_RM_TEST.
19072         (lrint_tonearest_test_data): Remove.
19073         (lrint_test_tonearest): Likewise.
19074         (lrint_towardzero_test_data): Likewise.
19075         (lrint_test_towardzero): Likewise.
19076         (lrint_downward_test_data): Likewise.
19077         (lrint_test_downward): Likewise.
19078         (lrint_upward_test_data): Likewise.
19079         (lrint_test_upward): Likewise.
19080         (llrint_test_data): Merge in per-rounding-mode tests and results
19081         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19082         llrint_downward_test_data and llrint_upward_test_data.
19083         (llrint_test): Use ALL_RM_TEST.
19084         (llrint_tonearest_test_data): Remove.
19085         (llrint_test_tonearest): Likewise.
19086         (llrint_towardzero_test_data): Likewise.
19087         (llrint_test_towardzero): Likewise.
19088         (llrint_downward_test_data): Likewise.
19089         (llrint_test_downward): Likewise.
19090         (llrint_upward_test_data): Likewise.
19091         (llrint_test_upward): Likewise.
19092         (rint_test_data): Merge in per-rounding-mode tests and results
19093         from rint_tonearest_test_data, rint_towardzero_test_data,
19094         rint_downward_test_data and rint_upward_test_data.  Add
19095         per-rounding-mode results for tests not in those arrays.
19096         (rint_test): Use ALL_RM_TEST.
19097         (rint_tonearest_test_data): Remove.
19098         (rint_test_tonearest): Likewise.
19099         (rint_towardzero_test_data): Likewise.
19100         (rint_test_towardzero): Likewise.
19101         (rint_downward_test_data): Likewise.
19102         (rint_test_downward): Likewise.
19103         (rint_upward_test_data): Likewise.
19104         (rint_test_upward): Likewise.
19105         (main): Don't call removed functions.
19107 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19109         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19110         "Compiled on ..." crapola.  It is anti-useful.
19112 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19114         * scripts/evaluate-test.sh: Handle fourth argument to determine
19115         whether test run should stop on failure.
19116         * Makeconfig (stop-on-test-failure): New variable.
19117         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19118         $(stop-on-test-failure).
19119         * Makefile (tests): Give a summary of results from testing and
19120         exit with failure status if they include an ERROR or FAIL.
19121         (xtests): Likewise.
19122         * manual/install.texi (Configuring and compiling): Mention
19123         stop-on-test-failure=y.
19124         * INSTALL: Regenerated.
19126 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19128         * scripts/versionlist.awk: New file.
19129         * Makerules [$(build-shared) = yes]
19130         (postclean-generated): Add Versions.def, not Versions.def.v and
19131         Versions.def.v.i.
19132         ($(common-objpfx)Versions.def.v.i): Target removed.
19133         ($(common-objpfx)Versions.def): New target.
19134         ($(common-objpfx)Versions.all): Depend on that rather that
19135         $(common-objpfx)Versions.def.v.
19136         * Versions.def: File removed.
19138         * Makeconfig (+gccwarn): Add -Wundef.
19139         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19140         a dl-sysdep.h breaking its contract.
19141         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19142         * include/stackinfo.h: New file.
19143         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19144         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19145         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19146         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19147         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19148         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19149         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19150         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19151         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19152         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19153         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19154         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19155         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19156         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19157         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19159 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19161         [BZ #16707]
19162         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19163         implementation.
19164         * math/libm-test.inc (round_test_data): Add more tests.
19166         [BZ #16706]
19167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19168         implementation.
19169         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19171         [BZ #16701]
19172         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19173         implementation.
19174         * math/libm-test.inc (ceil_test_data): Add more tests.
19176         * math/libm-test.inc (trunc_test_data): Add more tests related to
19177         BZ#16414.
19179 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19181         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19182         with #if rather than #ifdef.
19183         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19185 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19187         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19188         first.  Disable AVX-512 GCC support if assembler doesn't support
19189         it.
19190         * sysdeps/x86_64/configure: Regenerated.
19192 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19194         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19195         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19196         (__old_pthread_attr_setstack): Likewise.
19197         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19198         [!_STACK_GROWS_DOWN]: Likewise.
19200 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19202         * config.make.in (have-bash2): Delete.
19203         * configure.ac (libc_cv_have_bash2): Delete.
19204         * configure: Regenerate.
19205         * elf/Makefile (common-ldd-rewrite): Rename to ...
19206         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19207         (sh-ldd-rewrite): Delete.
19208         (bash-ldd-rewrite): Delete.
19209         (have-bash2): Delete checks.
19210         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19211         ldd-rewrite.
19213         * config.make.in (have-ksh): Delete.
19214         (KSH): Delete.
19215         * configure.ac (libc_cv_have_ksh): Delete.
19216         * configure: Regenerate.
19218         * elf/Makefile: Delete $(have-ksh) check.
19219         ($(objpfx)sotruss): Change KSH to BASH.
19220         * elf/sotruss.ksh: Rename to ...
19221         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19222         function style to match POSIX.  Drop ksh vim mode setting.
19224         * manual/time.texi (Specifying the Time Zone with TZ): Change
19225         Tuesday to Thursday.
19227         * debug/tst-longjmp_chk2.c: Update header comment.
19228         (stackoverflow_handler): Add comment.  Call assert on pass value.
19230 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19232         [BZ #16194]
19233         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19234         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19235         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19236         (La_x86_64_vector): Add zmm.
19237         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19238         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19239         ($(objpfx)tst-audit10): New target.
19240         ($(objpfx)tst-audit10.out): Likewise.
19241         (tst-audit10-ENV): New.
19242         (AVX512-CFLAGS): Likewise.
19243         (CFLAGS-tst-audit10.c): Likewise.
19244         (CFLAGS-tst-auditmod10a.c): Likewise.
19245         (CFLAGS-tst-auditmod10b.c): Likewise.
19246         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19247         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19248         * sysdeps/x86_64/configure: Regenerated.
19249         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19250         AVX-512 zmm register support.
19251         (_dl_x86_64_save_sse): Likewise.
19252         (_dl_x86_64_restore_sse): Likewise.
19253         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19254         size vector registers.
19255         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19256         (ZMM_SIZE): Likewise.
19257         * sysdeps/x86_64/tst-audit10.c: New file.
19258         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19259         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19261 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19263         * configure.ac (HAVE_EHDR_START): New check.
19264         * configure: Regenerated.
19265         * config.h.in (HAVE_EHDR_START): New #undef.
19266         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19267         assuming the lowest-addressed segment maps the start of the file.
19269 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19271         * INSTALL: Regenerated.
19273 2014-03-13  Will Newton  <will.newton@linaro.org>
19275         * manual/setjmp.texi (System V contexts): Improve
19276         clarity and grammar of documentation.
19278 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19280         [BZ #16381]
19281         * elf/Makefile (tests): Add tst-pie2.
19282         (tests-pie): Add tst-pie2.
19283         * elf/tst-pie2.c: New file.
19284         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19285         for ET_EXEC.
19286         * elf/rtld.c (map_doit): Load executable as lt_executable.
19287         (dl_main): Likewise.
19289 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19291         [BZ #16642]
19292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19293         (__ASSUME_PSELECT): Undefine.
19295 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19297         [BZ #16689]
19298         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19299         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19300         static build.
19301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19302         selector for static builds.
19304 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19306         [BZ #16695]
19307         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19308         key in the buffer.
19310 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19312         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19313         IFUNC selector for static builds.
19315 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19317         * sysdeps/mips/math_private.h [__mips_hard_float]
19318         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19319         libc_feresetround_mips_ctx.
19320         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19321         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19322         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19324         [BZ #16677]
19325         * math/s_nextafter.c (__nextafter): Do not return value from
19326         overflowing computation.
19327         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19328         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19329         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19330         Likewise.
19331         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19332         Likewise.
19333         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19334         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19336 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19338         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19339         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19340         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19341         the new mov targetting sp.
19343 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345         [BZ #16683]
19346         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19347         Define it for static builds as well.
19348         (NO_BZERO_IMPL): Likewise.
19350 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19352         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19353         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19354         multiarch strspn for PPC64.
19355         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19356         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19358         (__libc_ifunc_impl_list): Likewise.
19359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19360         multiarch optimizations
19361         * string/strspn.c (strspn): Using macro to redefine symbol name.
19363 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19364             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19366         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19367         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19368         multiarch strncat for PPC64.
19369         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19370         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19372         (__libc_ifunc_impl_list): Likewise.
19373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19374         multiarch optimizations
19376 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19378         [BZ #16639]
19379         * nscd/nscd.service: Make service type forking.
19381 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19383         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19384         sign in non default rounding modes.
19385         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19387 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19389         * math/libm-test.inc (ALL_RM_TEST): New macro.
19390         (ceil_test): Use ALL_RM_TEST.
19391         (cimag_test): Likewise.
19392         (conj_test): Likewise.
19393         (copysign_test): Likewise.
19394         (cproj_test): Likewise.
19395         (creal_test): Likewise.
19396         (fabs_test): Likewise.
19397         (floor_test): Likewise.
19398         (fmax_test): Likewise.
19399         (fmin_test): Likewise.
19400         (fmod_test): Likewise.
19401         (fpclassify_test): Likewise.
19402         (frexp_test): Likewise.
19403         (ilogb_test): Likewise.
19404         (isfinite_test): Likewise.
19405         (finite_test): Likewise.
19406         (isgreater_test): Likewise.
19407         (isgreaterequal_test): Likewise.
19408         (isinf_test): Likewise.
19409         (isless_test): Likewise.
19410         (islessequal_test): Likewise.
19411         (islessgreater_test): Likewise.
19412         (isnan_test): Likewise.
19413         (isnormal_test): Likewise.
19414         (issignaling_test): Likewise.
19415         (isunordered_test): Likewise.
19416         (logb_test): Likewise.
19417         (logb_downward_test_data): Remove.
19418         (logb_test_downward): Likewise.
19419         (lround_test): Use ALL_RM_TEST.
19420         (llround_test): Likewise.
19421         (modf_test): Likewise.
19422         (nexttoward_test): Likewise.
19423         (remainder_test): Likewise.
19424         (drem_test): Likewise.
19425         (remainder_tonearest_test_data): Likewise.
19426         (remainder_test_tonearest): Likewise.
19427         (drem_test_tonearest): Likewise.
19428         (remainder_towardzero_test_data): Likewise.
19429         (remainder_test_towardzero): Likewise.
19430         (drem_test_towardzero): Likewise.
19431         (remainder_downward_test_data): Likewise.
19432         (remainder_test_downward): Likewise.
19433         (drem_test_downward): Likewise.
19434         (remainder_upward_test_data): Likewise.
19435         (remainder_test_upward): Likewise.
19436         (drem_test_upward): Likewise.
19437         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19438         (round_test): Use ALL_RM_TEST.
19439         (signbit_test): Likewise.
19440         (trunc_test): Likewise.
19441         (significand_test): Likewise.
19442         (main): Don't call removed functions.
19444 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #16674]
19447         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19448         || __USE_XOPEN2K8].
19449         (ILL_ILLOPN): Likewise.
19450         (ILL_ILLADR): Likewise.
19451         (ILL_ILLTRP): Likewise.
19452         (ILL_PRVOPC): Likewise.
19453         (ILL_PRVREG): Likewise.
19454         (ILL_COPROC): Likewise.
19455         (ILL_BADSTK): Likewise.
19456         (FPE_INTDIV): Likewise.
19457         (FPE_INTOVF): Likewise.
19458         (FPE_FLTDIV): Likewise.
19459         (FPE_FLTOVF): Likewise.
19460         (FPE_FLTUND): Likewise.
19461         (FPE_FLTRES): Likewise.
19462         (FPE_FLTINV): Likewise.
19463         (FPE_FLTSUB): Likewise.
19464         (SEGV_MAPERR): Likewise.
19465         (SEGV_ACCERR): Likewise.
19466         (BUS_ADRALN): Likewise.
19467         (BUS_ADRERR): Likewise.
19468         (BUS_OBJERR): Likewise.
19469         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19470         (TRAP_TRACE): Likewise.
19471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19472         __USE_XOPEN2K8].
19473         (CLD_KILLED): Likewise.
19474         (CLD_DUMPED): Likewise.
19475         (CLD_TRAPPED): Likewise.
19476         (CLD_STOPPED): Likewise.
19477         (CLD_CONTINUED): Likewise.
19478         (POLL_IN): Likewise.
19479         (POLL_OUT): Likewise.
19480         (POLL_MSG): Likewise.
19481         (POLL_ERR): Likewise.
19482         (POLL_PRI): Likewise.
19483         (POLL_HUP): Likewise.
19484         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19485         Likewise.
19486         (ILL_ILLOPN): Likewise.
19487         (ILL_ILLADR): Likewise.
19488         (ILL_ILLTRP): Likewise.
19489         (ILL_PRVOPC): Likewise.
19490         (ILL_PRVREG): Likewise.
19491         (ILL_COPROC): Likewise.
19492         (ILL_BADSTK): Likewise.
19493         (FPE_INTDIV): Likewise.
19494         (FPE_INTOVF): Likewise.
19495         (FPE_FLTDIV): Likewise.
19496         (FPE_FLTOVF): Likewise.
19497         (FPE_FLTUND): Likewise.
19498         (FPE_FLTRES): Likewise.
19499         (FPE_FLTINV): Likewise.
19500         (FPE_FLTSUB): Likewise.
19501         (SEGV_MAPERR): Likewise.
19502         (SEGV_ACCERR): Likewise.
19503         (BUS_ADRALN): Likewise.
19504         (BUS_ADRERR): Likewise.
19505         (BUS_OBJERR): Likewise.
19506         (BUS_MCEERR_AR): Likewise.
19507         (BUS_MCEERR_AO): Likewise.
19508         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19509         (TRAP_TRACE): Likewise.
19510         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19511         __USE_XOPEN2K8].
19512         (CLD_KILLED): Likewise.
19513         (CLD_DUMPED): Likewise.
19514         (CLD_TRAPPED): Likewise.
19515         (CLD_STOPPED): Likewise.
19516         (CLD_CONTINUED): Likewise.
19517         (POLL_IN): Likewise.
19518         (POLL_OUT): Likewise.
19519         (POLL_MSG): Likewise.
19520         (POLL_ERR): Likewise.
19521         (POLL_PRI): Likewise.
19522         (POLL_HUP): Likewise.
19523         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19524         (ILL_ILLOPN): Likewise.
19525         (ILL_ILLADR): Likewise.
19526         (ILL_ILLTRP): Likewise.
19527         (ILL_PRVOPC): Likewise.
19528         (ILL_PRVREG): Likewise.
19529         (ILL_COPROC): Likewise.
19530         (ILL_BADSTK): Likewise.
19531         (FPE_INTDIV): Likewise.
19532         (FPE_INTOVF): Likewise.
19533         (FPE_FLTDIV): Likewise.
19534         (FPE_FLTOVF): Likewise.
19535         (FPE_FLTUND): Likewise.
19536         (FPE_FLTRES): Likewise.
19537         (FPE_FLTINV): Likewise.
19538         (FPE_FLTSUB): Likewise.
19539         (SEGV_MAPERR): Likewise.
19540         (SEGV_ACCERR): Likewise.
19541         (BUS_ADRALN): Likewise.
19542         (BUS_ADRERR): Likewise.
19543         (BUS_OBJERR): Likewise.
19544         (BUS_MCEERR_AR): Likewise.
19545         (BUS_MCEERR_AO): Likewise.
19546         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19547         (TRAP_TRACE): Likewise.
19548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19549         __USE_XOPEN2K8].
19550         (CLD_KILLED): Likewise.
19551         (CLD_DUMPED): Likewise.
19552         (CLD_TRAPPED): Likewise.
19553         (CLD_STOPPED): Likewise.
19554         (CLD_CONTINUED): Likewise.
19555         (POLL_IN): Likewise.
19556         (POLL_OUT): Likewise.
19557         (POLL_MSG): Likewise.
19558         (POLL_ERR): Likewise.
19559         (POLL_PRI): Likewise.
19560         (POLL_HUP): Likewise.
19561         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19562         Likewise.
19563         (ILL_ILLOPN): Likewise.
19564         (ILL_ILLADR): Likewise.
19565         (ILL_ILLTRP): Likewise.
19566         (ILL_PRVOPC): Likewise.
19567         (ILL_PRVREG): Likewise.
19568         (ILL_COPROC): Likewise.
19569         (ILL_BADSTK): Likewise.
19570         (ILL_BADIADDR): Likewise.
19571         (ILL_BREAK): Likewise.
19572         (FPE_INTDIV): Likewise.
19573         (FPE_INTOVF): Likewise.
19574         (FPE_FLTDIV): Likewise.
19575         (FPE_FLTOVF): Likewise.
19576         (FPE_FLTUND): Likewise.
19577         (FPE_FLTRES): Likewise.
19578         (FPE_FLTINV): Likewise.
19579         (FPE_FLTSUB): Likewise.
19580         (FPE_DECOVF): Likewise.
19581         (FPE_DECDIV): Likewise.
19582         (FPE_DECERR): Likewise.
19583         (FPE_INVASC): Likewise.
19584         (FPE_INVDEC): Likewise.
19585         (SEGV_MAPERR): Likewise.
19586         (SEGV_ACCERR): Likewise.
19587         (SEGV_PSTKOVF): Likewise.
19588         (BUS_ADRALN): Likewise.
19589         (BUS_ADRERR): Likewise.
19590         (BUS_OBJERR): Likewise.
19591         (BUS_MCEERR_AR): Likewise.
19592         (BUS_MCEERR_AO): Likewise.
19593         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19594         (TRAP_TRACE): Likewise.
19595         (TRAP_BRANCH): Likewise.
19596         (TRAP_HWBKPT): Likewise.
19597         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19598         __USE_XOPEN2K8].
19599         (CLD_KILLED): Likewise.
19600         (CLD_DUMPED): Likewise.
19601         (CLD_TRAPPED): Likewise.
19602         (CLD_STOPPED): Likewise.
19603         (CLD_CONTINUED): Likewise.
19604         (POLL_IN): Likewise.
19605         (POLL_OUT): Likewise.
19606         (POLL_MSG): Likewise.
19607         (POLL_ERR): Likewise.
19608         (POLL_PRI): Likewise.
19609         (POLL_HUP): Likewise.
19610         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19611         (ILL_ILLOPN): Likewise.
19612         (ILL_ILLADR): Likewise.
19613         (ILL_ILLTRP): Likewise.
19614         (ILL_PRVOPC): Likewise.
19615         (ILL_PRVREG): Likewise.
19616         (ILL_COPROC): Likewise.
19617         (ILL_BADSTK): Likewise.
19618         (FPE_INTDIV): Likewise.
19619         (FPE_INTOVF): Likewise.
19620         (FPE_FLTDIV): Likewise.
19621         (FPE_FLTOVF): Likewise.
19622         (FPE_FLTUND): Likewise.
19623         (FPE_FLTRES): Likewise.
19624         (FPE_FLTINV): Likewise.
19625         (FPE_FLTSUB): Likewise.
19626         (SEGV_MAPERR): Likewise.
19627         (SEGV_ACCERR): Likewise.
19628         (BUS_ADRALN): Likewise.
19629         (BUS_ADRERR): Likewise.
19630         (BUS_OBJERR): Likewise.
19631         (BUS_MCEERR_AR): Likewise.
19632         (BUS_MCEERR_AO): Likewise.
19633         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19634         (TRAP_TRACE): Likewise.
19635         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19636         __USE_XOPEN2K8].
19637         (CLD_KILLED): Likewise.
19638         (CLD_DUMPED): Likewise.
19639         (CLD_TRAPPED): Likewise.
19640         (CLD_STOPPED): Likewise.
19641         (CLD_CONTINUED): Likewise.
19642         (POLL_IN): Likewise.
19643         (POLL_OUT): Likewise.
19644         (POLL_MSG): Likewise.
19645         (POLL_ERR): Likewise.
19646         (POLL_PRI): Likewise.
19647         (POLL_HUP): Likewise.
19648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19649         (ILL_ILLOPN): Likewise.
19650         (ILL_ILLADR): Likewise.
19651         (ILL_ILLTRP): Likewise.
19652         (ILL_PRVOPC): Likewise.
19653         (ILL_PRVREG): Likewise.
19654         (ILL_COPROC): Likewise.
19655         (ILL_BADSTK): Likewise.
19656         (FPE_INTDIV): Likewise.
19657         (FPE_INTOVF): Likewise.
19658         (FPE_FLTDIV): Likewise.
19659         (FPE_FLTOVF): Likewise.
19660         (FPE_FLTUND): Likewise.
19661         (FPE_FLTRES): Likewise.
19662         (FPE_FLTINV): Likewise.
19663         (FPE_FLTSUB): Likewise.
19664         (SEGV_MAPERR): Likewise.
19665         (SEGV_ACCERR): Likewise.
19666         (BUS_ADRALN): Likewise.
19667         (BUS_ADRERR): Likewise.
19668         (BUS_OBJERR): Likewise.
19669         (BUS_MCEERR_AR): Likewise.
19670         (BUS_MCEERR_AO): Likewise.
19671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19672         (TRAP_TRACE): Likewise.
19673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19674         __USE_XOPEN2K8].
19675         (CLD_KILLED): Likewise.
19676         (CLD_DUMPED): Likewise.
19677         (CLD_TRAPPED): Likewise.
19678         (CLD_STOPPED): Likewise.
19679         (CLD_CONTINUED): Likewise.
19680         (POLL_IN): Likewise.
19681         (POLL_OUT): Likewise.
19682         (POLL_MSG): Likewise.
19683         (POLL_ERR): Likewise.
19684         (POLL_PRI): Likewise.
19685         (POLL_HUP): Likewise.
19686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19687         (ILL_ILLOPN): Likewise.
19688         (ILL_ILLADR): Likewise.
19689         (ILL_ILLTRP): Likewise.
19690         (ILL_PRVOPC): Likewise.
19691         (ILL_PRVREG): Likewise.
19692         (ILL_COPROC): Likewise.
19693         (ILL_BADSTK): Likewise.
19694         (FPE_INTDIV): Likewise.
19695         (FPE_INTOVF): Likewise.
19696         (FPE_FLTDIV): Likewise.
19697         (FPE_FLTOVF): Likewise.
19698         (FPE_FLTUND): Likewise.
19699         (FPE_FLTRES): Likewise.
19700         (FPE_FLTINV): Likewise.
19701         (FPE_FLTSUB): Likewise.
19702         (SEGV_MAPERR): Likewise.
19703         (SEGV_ACCERR): Likewise.
19704         (BUS_ADRALN): Likewise.
19705         (BUS_ADRERR): Likewise.
19706         (BUS_OBJERR): Likewise.
19707         (BUS_MCEERR_AR): Likewise.
19708         (BUS_MCEERR_AO): Likewise.
19709         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19710         (TRAP_TRACE): Likewise.
19711         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19712         __USE_XOPEN2K8].
19713         (CLD_KILLED): Likewise.
19714         (CLD_DUMPED): Likewise.
19715         (CLD_TRAPPED): Likewise.
19716         (CLD_STOPPED): Likewise.
19717         (CLD_CONTINUED): Likewise.
19718         (POLL_IN): Likewise.
19719         (POLL_OUT): Likewise.
19720         (POLL_MSG): Likewise.
19721         (POLL_ERR): Likewise.
19722         (POLL_PRI): Likewise.
19723         (POLL_HUP): Likewise.
19724         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19725         (ILL_ILLOPN): Likewise.
19726         (ILL_ILLADR): Likewise.
19727         (ILL_ILLTRP): Likewise.
19728         (ILL_PRVOPC): Likewise.
19729         (ILL_PRVREG): Likewise.
19730         (ILL_COPROC): Likewise.
19731         (ILL_BADSTK): Likewise.
19732         (ILL_DBLFLT): Likewise.
19733         (ILL_HARDWALL): Likewise.
19734         (FPE_INTDIV): Likewise.
19735         (FPE_INTOVF): Likewise.
19736         (FPE_FLTDIV): Likewise.
19737         (FPE_FLTOVF): Likewise.
19738         (FPE_FLTUND): Likewise.
19739         (FPE_FLTRES): Likewise.
19740         (FPE_FLTINV): Likewise.
19741         (FPE_FLTSUB): Likewise.
19742         (SEGV_MAPERR): Likewise.
19743         (SEGV_ACCERR): Likewise.
19744         (BUS_ADRALN): Likewise.
19745         (BUS_ADRERR): Likewise.
19746         (BUS_OBJERR): Likewise.
19747         (BUS_MCEERR_AR): Likewise.
19748         (BUS_MCEERR_AO): Likewise.
19749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19750         (TRAP_TRACE): Likewise.
19751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19752         __USE_XOPEN2K8].
19753         (CLD_KILLED): Likewise.
19754         (CLD_DUMPED): Likewise.
19755         (CLD_TRAPPED): Likewise.
19756         (CLD_STOPPED): Likewise.
19757         (CLD_CONTINUED): Likewise.
19758         (POLL_IN): Likewise.
19759         (POLL_OUT): Likewise.
19760         (POLL_MSG): Likewise.
19761         (POLL_ERR): Likewise.
19762         (POLL_PRI): Likewise.
19763         (POLL_HUP): Likewise.
19764         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19765         (ILL_ILLOPN): Likewise.
19766         (ILL_ILLADR): Likewise.
19767         (ILL_ILLTRP): Likewise.
19768         (ILL_PRVOPC): Likewise.
19769         (ILL_PRVREG): Likewise.
19770         (ILL_COPROC): Likewise.
19771         (ILL_BADSTK): Likewise.
19772         (FPE_INTDIV): Likewise.
19773         (FPE_INTOVF): Likewise.
19774         (FPE_FLTDIV): Likewise.
19775         (FPE_FLTOVF): Likewise.
19776         (FPE_FLTUND): Likewise.
19777         (FPE_FLTRES): Likewise.
19778         (FPE_FLTINV): Likewise.
19779         (FPE_FLTSUB): Likewise.
19780         (SEGV_MAPERR): Likewise.
19781         (SEGV_ACCERR): Likewise.
19782         (BUS_ADRALN): Likewise.
19783         (BUS_ADRERR): Likewise.
19784         (BUS_OBJERR): Likewise.
19785         (BUS_MCEERR_AR): Likewise.
19786         (BUS_MCEERR_AO): Likewise.
19787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19788         (TRAP_TRACE): Likewise.
19789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19790         __USE_XOPEN2K8].
19791         (CLD_KILLED): Likewise.
19792         (CLD_DUMPED): Likewise.
19793         (CLD_TRAPPED): Likewise.
19794         (CLD_STOPPED): Likewise.
19795         (CLD_CONTINUED): Likewise.
19796         (POLL_IN): Likewise.
19797         (POLL_OUT): Likewise.
19798         (POLL_MSG): Likewise.
19799         (POLL_ERR): Likewise.
19800         (POLL_PRI): Likewise.
19801         (POLL_HUP): Likewise.
19802         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19803         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19805         [BZ #16670]
19806         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19807         before #include of <time.h>.
19808         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19809         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19810         (test-xfail-UNIX98/sched.h/conform): Likewise.
19812 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19814         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19815         error absence of trapping exception support.
19816         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19818 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19820         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19821         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19822         * timezone/Makefile (testdata): Move definition above include of
19823         Rules.
19824         (test-zones): New variable.
19825         (tests-special): Add zone files.
19826         (build-testdata): Use $(evaluate-test).
19828         * elf/Makefile (tests-special): Rename tests to end with .out.
19829         ($(objpfx)noload-mem): Likewise.
19830         ($(objpfx)tst-leaks1-mem): Likewise.
19831         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19832         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19833         $(objpfx)test-iconvconfig.out.
19834         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19835         set -e inside subshell and redirect output to file.
19836         * iconvdata/Makefile (generated): Rename tests to end with .out.
19837         Correct type.
19838         (tests-special): Rename tests to end with .out.
19839         ($(objpfx)mtrace-tst-loading): Likewise.
19840         * intl/Makefile (generated): Likewise.
19841         (tests-special): Likewise.
19842         ($(objpfx)mtrace-tst-gettext): Likewise.
19843         * misc/Makefile (generated): Likewise.
19844         (tests-special): Likewise.
19845         ($(objpfx)tst-error1-mem): Likewise.
19846         * nptl/Makefile (tests-special): Likewise.
19847         ($(objpfx)tst-stack3-mem): Likewise.
19848         (generated): Likewise.
19849         * posix/Makefile (generated): Likewise.
19850         (tests-special): Likewise.
19851         (xtests-special): Likewise.
19852         ($(objpfx)tst-fnmatch-mem): Likewise.
19853         ($(objpfx)bug-regex2-mem): Likewise.
19854         ($(objpfx)bug-regex14-mem): Likewise.
19855         ($(objpfx)bug-regex21-mem): Likewise.
19856         ($(objpfx)bug-regex31-mem): Likewise.
19857         ($(objpfx)tst-vfork3-mem): Likewise.
19858         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19859         ($(objpfx)tst-pcre-mem): Likewise.
19860         ($(objpfx)tst-boost-mem): Likewise.
19861         ($(objpfx)bug-ga2-mem): Likewise.
19862         ($(objpfx)bug-glob2-mem): Likewise.
19863         * resolv/Makefile (generate): Likewise.
19864         (tests-special): Likewise.
19865         (xtests-special): Likewise.
19866         (generated): Likewise.
19867         ($(objpfx)mtrace-tst-leaks): Likewise.
19868         ($(objpfx)mtrace-tst-leaks2): Likewise.
19870         * scripts/merge-test-results.sh: New file.
19871         * Makefile (tests-special-notdir): New variable.
19872         (tests): Run merge-test-results.sh.
19873         (xtests): Likewise.
19874         * Rules (tests-special-notdir): New variable.
19875         (xtests-special-notdir): Likewise.
19876         (tests): Run merge-test-results.sh
19877         (xtests): Likewise.
19879         * Makeconfig (test-xfail-name): New variable.
19880         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19881         compute variable name for expected failures.
19882         * conform/Makefile (conformtest-headers-data): New variable.
19883         (conformtest-standards): Likewise.
19884         (conformtest-headers-ISO): Likewise.
19885         (conformtest-headers-ISO99): Likewise.
19886         (conformtest-headers-ISO11): Likewise.
19887         (conformtest-headers-POSIX): Likewise.
19888         (conformtest-headers-XPG3): Likewise.
19889         (conformtest-headers-XPG4): Likewise.
19890         (conformtest-headers-UNIX98): Likewise.
19891         (conformtest-headers-XOPEN2K): Likewise.
19892         (conformtest-headers-POSIX2008): Likewise.
19893         (conformtest-headers-XOPEN2K8): Likewise.
19894         (conformtest-header-list-base): Likewise.
19895         (conformtest-header-list-tests): Likewise.
19896         (conformtest-header-base): Likewise.
19897         (conformtest-header-tests): Likewise.
19898         (tests-special): Add $(conformtest-header-list-tests).  If
19899         [$(fast-check) && !$(cross-compiling)], add
19900         $(conformtest-header-tests) instead of
19901         $(objpfx)run-conformtest.out.
19902         (generated): Add $(conformtest-header-list-base).  If
19903         [$(fast-check) && !$(cross-compiling)], add
19904         $(conformtest-header-base).  Remove previous setting.
19905         ($(conformtest-header-list-tests)): New target.
19906         (test-xfail-run-conformtest): Remove variable.
19907         ($(objpfx)run-conformtest.out): Remove target.
19908         (test-xfail-ISO11/complex.h/conform): New variable.
19909         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19910         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19911         (test-xfail-XPG3/varargs.h/conform): Likewise.
19912         (test-xfail-XPG4/varargs.h/conform): Likewise.
19913         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19914         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19915         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19916         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19917         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19918         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19919         (test-xfail-XPG3/ftw.h/conform): Likewise.
19920         (test-xfail-XPG3/grp.h/conform): Likewise.
19921         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19922         (test-xfail-XPG3/limits.h/conform): Likewise.
19923         (test-xfail-XPG3/pwd.h/conform): Likewise.
19924         (test-xfail-XPG3/search.h/conform): Likewise.
19925         (test-xfail-XPG3/signal.h/conform): Likewise.
19926         (test-xfail-XPG3/stdio.h/conform): Likewise.
19927         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19928         (test-xfail-XPG3/string.h/conform): Likewise.
19929         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19930         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19931         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19932         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19933         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19934         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19935         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19936         (test-xfail-XPG3/termios.h/conform): Likewise.
19937         (test-xfail-XPG3/time.h/conform): Likewise.
19938         (test-xfail-XPG3/unistd.h/conform): Likewise.
19939         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19940         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19941         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19942         (test-xfail-XPG4/netdb.h/conform): Likewise.
19943         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19944         (test-xfail-XPG4/signal.h/conform): Likewise.
19945         (test-xfail-XPG4/stdio.h/conform): Likewise.
19946         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19947         (test-xfail-XPG4/stropts.h/conform): Likewise.
19948         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19949         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19950         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19951         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19952         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19953         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19954         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19955         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19956         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19957         (test-xfail-XPG4/termios.h/conform): Likewise.
19958         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19959         (test-xfail-XPG4/unistd.h/conform): Likewise.
19960         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19961         (test-xfail-POSIX/sched.h/conform): Likewise.
19962         (test-xfail-POSIX/signal.h/conform): Likewise.
19963         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19964         (test-xfail-POSIX/tar.h/conform): Likewise.
19965         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19966         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19967         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19968         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19969         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19970         (test-xfail-UNIX98/sched.h/conform): Likewise.
19971         (test-xfail-UNIX98/signal.h/conform): Likewise.
19972         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19973         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19974         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19975         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19976         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19977         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19978         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19979         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19980         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19981         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19982         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19983         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19984         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19985         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19986         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19987         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19988         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19989         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19990         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19991         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19992         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19993         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19994         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19995         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19996         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19997         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19998         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19999         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20000         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20001         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20002         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20003         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20004         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20005         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20006         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20007         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20008         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20009         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20010         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20011         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20012         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20013         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20014         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20015         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20016         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20017         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20018         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20019         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20020         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20021         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20022         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20023         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20024         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20025         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20026         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20027         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20028         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20029         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20030         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20031         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20032         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20033         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20034         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20035         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20036         (conformtest-cc-flags): Likewise.
20037         ($(conformtest-header-tests): New target.
20038         * conform/check-header-lists.sh: New file.
20039         * conform/run-conformtest.sh: Remove.
20041         * conform/conformtest.pl: Allow ' and \ in values given for
20042         constants.
20043         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20044         inclusion.
20045         [POSIX] (sys/types.h): Likewise.
20046         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20047         inclusion.
20048         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20049         inclusion.
20050         * conform/data/signal.h-data (SIGIO): Remove expectation.
20051         [XPG3] (SIGBUS): Do not expect.
20052         [POSIX || XPG3] (SIGPOLL): Likewise.
20053         [POSIX || XPG3] (SIGPROF): Likewise.
20054         [POSIX || XPG3] (SIGSYS): Likewise.
20055         [XPG3] (SIGTRAP): Likewise.
20056         [POSIX || XPG3] (SIGURG): Likewise.
20057         [POSIX || XPG3] (SIGVTALRM): Likewise.
20058         [POSIX || XPG3] (SIGXCPU): Likewise.
20059         [POSIX || XPG3] (SIGXFSZ): Likewise.
20060         [POSIX] (SA_SIGINFO): Expect.
20061         [XPG3] (siginfo_t): Do not expect type or contents.
20062         [POSIX] (si_pid): Do not expect element.
20063         [POSIX] (si_uid): Likewise.
20064         [POSIX] (si_addr): Likewise.
20065         [POSIX] (si_status): Likewise.
20066         [POSIX] (si_band): Likewise.
20067         [XPG4] (si_value): Likewise.
20068         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20069         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20070         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20071         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20072         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20073         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20074         [POSIX || XPG3] (ILL_COPROC): Likewise.
20075         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20076         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20077         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20078         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20079         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20080         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20081         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20082         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20083         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20084         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20085         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20086         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20087         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20088         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20089         [POSIX || XPG3] (CLD_EXITED): Likewise.
20090         [POSIX || XPG3] (CLD_KILLED): Likewise.
20091         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20092         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20093         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20094         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20095         [POSIX || XPG3] (POLL_IN): Likewise.
20096         [POSIX || XPG3] (POLL_OUT): Likewise.
20097         [POSIX || XPG3] (POLL_MSG): Likewise.
20098         [POSIX || XPG3] (POLL_ERR): Likewise.
20099         [POSIX || XPG3] (POLL_PRI): Likewise.
20100         [POSIX || XPG3] (POLL_HUP): Likewise.
20101         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20102         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20103         (SIG*): Do not allow.
20104         [XPG3] (si_*): Likewise.
20105         [XPG3] (SI_*): Likewise.
20106         [XPG3 || XPG4] (sigev_*): Likewise.
20107         [XPG3 || XPG4] (SIGEV_*): Likewise.
20108         [XPG3 || XPG4] (sival_*): Likewise.
20109         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20110         [POSIX || XPG3] (BUS_*): Likewise.
20111         [POSIX || XPG3] (CLD_*): Likewise.
20112         [POSIX || XPG3] (FPE_*): Likewise.
20113         [POSIX || XPG3] (ILL_*): Likewise.
20114         [POSIX || XPG3] (POLL_*): Likewise.
20115         [POSIX || XPG3] (SEGV_*): Likewise.
20116         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20117         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20118         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20119         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20120         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20121         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20122         Specify type and value.
20123         (TVERSLEN): Likewise.
20124         (REGTYPE): Likewise.
20125         (AREGTYPE): Likewise.
20126         (LNKTYPE): Likewise.
20127         (SYMTYPE): Likewise.
20128         (CHRTYPE): Likewise.
20129         (BLKTYPE): Likewise.
20130         (DIRTYPE): Likewise.
20131         (FIFOTYPE): Likewise.
20132         (CONTTYPE): Likewise.
20133         (TSUID): Likewise.
20134         (TSGID): Likewise.
20135         (TSVTX): Likewise.
20136         (TUREAD): Likewise.
20137         (TUWRITE): Likewise.
20138         (TUEXEC): Likewise.
20139         (TGREAD): Likewise.
20140         (TGWRITE): Likewise.
20141         (TGEXEC): Likewise.
20142         (TOREAD): Likewise.
20143         (TOWRITE): Likewise.
20144         (TOEXEC): Likewise.
20145         [POSIX] (TSVTX): Expect constant.
20147 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20149         * Makefile (tests): Change dependencies to ....
20150         (tests-special): ... additions to this variable.
20151         (tests): Depend on $(tests-special).
20152         * Makerules (check-abi-list): New variable.
20153         (check-abi): Depend on $(check-abi-list).
20154         [$(subdir) = elf] (tests-special): Add
20155         $(objpfx)check-abi-libc.out.
20156         [$(build-shared) = yes && subdir] (tests-special): Add
20157         $(check-abi-list).
20158         [$(build-shared) = yes && subdir] (tests): Do not depend on
20159         check-abi.
20160         * Rules (tests): Depend on $(tests-special).
20161         (xtests): Depend on $(xtests-special).
20162         * catgets/Makefile (tests): Change dependencies to ....
20163         (tests-special): ... additions to this variable.
20164         * conform/Makefile (tests): Change dependencies to ....
20165         (tests-special): ... additions to this variable.
20166         * elf/Makefile (tests): Change dependencies to ....
20167         (tests-special): ... additions to this variable.
20168         * grp/Makefile (tests): Change dependencies to ....
20169         (tests-special): ... additions to this variable.
20170         * iconv/Makefile (xtests): Change dependencies to ....
20171         (xtests-special): ... additions to this variable.
20172         * iconvdata/Makefile (tests): Change dependencies to ....
20173         (tests-special): ... additions to this variable.
20174         * intl/Makefile (tests): Change dependencies to ....
20175         (tests-special): ... additions to this variable.  Also add
20176         $(objpfx)tst-gettext.out.
20177         * io/Makefile (tests): Change dependencies to ....
20178         (tests-special): ... additions to this variable.
20179         * libio/Makefile (tests): Change dependencies to ....
20180         (tests-special): ... additions to this variable.
20181         * malloc/Makefile (tests): Change dependencies to ....
20182         (tests-special): ... additions to this variable.
20183         * misc/Makefile (tests): Change dependencies to ....
20184         (tests-special): ... additions to this variable.
20185         * nptl/Makefile (tests): Change dependencies to ....
20186         (tests-special): ... additions to this variable.
20187         * nptl_db/Makefile (tests): Change dependencies to ....
20188         (tests-special): ... additions to this variable.
20189         * posix/Makefile (tests): Change dependencies to ....
20190         (tests-special): ... additions to this variable.
20191         (xtests): Change dependencies to ....
20192         (xtests-special): ... additions to this variable.
20193         * resolv/Makefile (tests): Change dependencies to ....
20194         (tests-special): ... additions to this variable.
20195         (xtests): Change dependencies to ....
20196         (xtests-special): ... additions to this variable.
20197         * stdio-common/Makefile (tests): Change dependencies to ....
20198         (tests-special): ... additions to this variable.
20199         (do-tst-unbputc): Remove target.
20200         (do-tst-printf): Likewise.
20201         * stdlib/Makefile (tests): Change dependencies to ....
20202         (tests-special): ... additions to this variable.
20203         * string/Makefile (tests): Change dependencies to ....
20204         (tests-special): ... additions to this variable.
20205         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20206         (tests-special): ... additions to this variable.
20208         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20209         whole file.
20210         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20211         whole file.
20212         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20213         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20215         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20216         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20217         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20218         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20219         * conform/data/libgen.h-data [XPG3]: Likewise.
20220         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20221         * conform/data/ndbm.h-data [XPG3]: Likewise.
20222         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20223         * conform/data/netdb.h-data [XPG3]: Likewise.
20224         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20225         * conform/data/poll.h-data [XPG3]: Likewise.
20226         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20227         * conform/data/strings.h-data [XPG3]: Likewise.
20228         * conform/data/stropts.h-data [XPG3]: Likewise.
20229         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20230         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20231         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20232         Likewise.
20233         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20234         * conform/data/sys/time.h-data [XPG3]: Likewise.
20235         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20236         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20237         * conform/data/sys/un.h-data [XPG3]: Likewise.
20238         * conform/data/syslog.h-data [XPG3]: Likewise.
20239         * conform/data/ucontext.h-data [XPG3]: Likewise.
20240         * conform/data/utmpx.h-data [XPG3]: Likewise.
20241         * conform/data/varargs.h-data [UNIX98]: Enable file.
20243         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20245         * math/libm-test.inc (struct test_f_f_data): Move expected results
20246         into structure for each rounding mode.
20247         (struct test_ff_f_data): Likewise.
20248         (struct test_ff_f_data_nexttoward): Likewise.
20249         (struct test_fi_f_data): Likewise.
20250         (struct test_fl_f_data): Likewise.
20251         (struct test_if_f_data): Likewise.
20252         (struct test_fff_f_data): Likewise.
20253         (struct test_c_f_data): Likewise.
20254         (struct test_f_f1_data): Likewise.
20255         (struct test_fF_f1_data): Likewise.
20256         (struct test_ffI_f1_data): Likewise.
20257         (struct test_c_c_data): Likewise.
20258         (struct test_cc_c_data): Likewise.
20259         (struct test_f_i_data): Likewise.
20260         (struct test_ff_i_data): Likewise.
20261         (struct test_f_l_data): Likewise.
20262         (struct test_f_L_data): Likewise.
20263         (struct test_fFF_11_data): Likewise.
20264         (RM_): New macro.
20265         (RM_FE_DOWNWARD): Likewise.
20266         (RM_FE_TONEAREST): Likewise.
20267         (RM_FE_TOWARDZERO): Likewise.
20268         (RM_FE_UPWARD): Likewise.
20269         (RUN_TEST_LOOP_f_f): Update references to expected results.
20270         (RUN_TEST_LOOP_2_f): Likewise.
20271         (RUN_TEST_LOOP_fff_f): Likewise.
20272         (RUN_TEST_LOOP_c_f): Likewise.
20273         (RUN_TEST_LOOP_f_f1): Likewise.
20274         (RUN_TEST_LOOP_fF_f1): Likewise.
20275         (RUN_TEST_LOOP_fI_f1): Likewise.
20276         (RUN_TEST_LOOP_ffI_f1): Likewise.
20277         (RUN_TEST_LOOP_c_c): Likewise.
20278         (RUN_TEST_LOOP_cc_c): Likewise.
20279         (RUN_TEST_LOOP_f_i): Likewise.
20280         (RUN_TEST_LOOP_f_i_tg): Likewise.
20281         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20282         (RUN_TEST_LOOP_f_b): Likewise.
20283         (RUN_TEST_LOOP_f_b_tg): Likewise.
20284         (RUN_TEST_LOOP_f_l): Likewise.
20285         (RUN_TEST_LOOP_f_L): Likewise.
20286         (RUN_TEST_LOOP_fFF_11): Likewise.
20287         * math/gen-libm-test.pl (parse_args): Output four copies of
20288         expected results for each test.
20290         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20291         (__ASSUME_UTIMES): Remove.
20292         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20293         (__ASSUME_UTIMES): Likewise.
20295         * math/gen-auto-libm-tests.c: Update comment on output format.
20296         (output_for_one_input_case): Generate before-rounding and
20297         after-rounding information as conditions on output flags not
20298         floating-point format.
20299         * math/auto-libm-test-out: Regenerated.
20300         * math/gen-libm-test.pl (cond_value): New function.
20301         (or_cond_value): Use cond_value.
20302         (generate_testfile): Handle conditional exceptions.
20304 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20306         * math/libm-test.inc (max_valid_error): New variable.
20307         (init_max_error): Take new argument specifying whether function
20308         results are exactly determined.  Set max_valid_error and bound
20309         other variables for errors based on this argument.
20310         (set_max_error): Do not record results above max_valid_error.
20311         (check_float_internal): Only accept errors of up to 0.5ulps if
20312         also at most max_valid_error.
20313         (START): Take new argument EXACT and pass it to init_max_error.
20314         (acos_test): Update call to START.
20315         (acos_test_tonearest): Likewise.
20316         (acos_test_towardzero): Likewise.
20317         (acos_test_downward): Likewise.
20318         (acos_test_upward): Likewise.
20319         (acosh_test): Likewise.
20320         (asin_test): Likewise.
20321         (asin_test_tonearest): Likewise.
20322         (asin_test_towardzero): Likewise.
20323         (asin_test_downward): Likewise.
20324         (asin_test_upward): Likewise.
20325         (asinh_test): Likewise.
20326         (atan_test): Likewise.
20327         (atanh_test): Likewise.
20328         (atan2_test): Likewise.
20329         (cabs_test): Likewise.
20330         (cacos_test): Likewise.
20331         (cacosh_test): Likewise.
20332         (carg_test): Likewise.
20333         (casin_test): Likewise.
20334         (casinh_test): Likewise.
20335         (catan_test): Likewise.
20336         (catanh_test): Likewise.
20337         (cbrt_test): Likewise.
20338         (ccos_test): Likewise.
20339         (ccosh_test): Likewise.
20340         (ceil_test): Likewise.
20341         (cexp_test): Likewise.
20342         (cimag_test): Likewise.
20343         (clog_test): Likewise.
20344         (clog10_test): Likewise.
20345         (conj_test): Likewise.
20346         (copysign_test): Likewise.
20347         (cos_test): Likewise.
20348         (cos_test_tonearest): Likewise.
20349         (cos_test_towardzero): Likewise.
20350         (cos_test_downward): Likewise.
20351         (cos_test_upward): Likewise.
20352         (cosh_test): Likewise.
20353         (cosh_test_tonearest): Likewise.
20354         (cosh_test_towardzero): Likewise.
20355         (cosh_test_downward): Likewise.
20356         (cosh_test_upward): Likewise.
20357         (cpow_test): Likewise.
20358         (cproj_test): Likewise.
20359         (creal_test): Likewise.
20360         (csin_test): Likewise.
20361         (csinh_test): Likewise.
20362         (csqrt_test): Likewise.
20363         (ctan_test): Likewise.
20364         (ctan_test_tonearest): Likewise.
20365         (ctan_test_towardzero): Likewise.
20366         (ctan_test_downward): Likewise.
20367         (ctan_test_upward): Likewise.
20368         (ctanh_test): Likewise.
20369         (ctanh_test_tonearest): Likewise.
20370         (ctanh_test_towardzero): Likewise.
20371         (ctanh_test_downward): Likewise.
20372         (ctanh_test_upward): Likewise.
20373         (erf_test): Likewise.
20374         (erfc_test): Likewise.
20375         (exp_test): Likewise.
20376         (exp_test_tonearest): Likewise.
20377         (exp_test_towardzero): Likewise.
20378         (exp_test_downward): Likewise.
20379         (exp_test_upward): Likewise.
20380         (exp10_test): Likewise.
20381         (exp10_test_tonearest): Likewise.
20382         (exp10_test_towardzero): Likewise.
20383         (exp10_test_downward): Likewise.
20384         (exp10_test_upward): Likewise.
20385         (pow10_test): Likewise.
20386         (exp2_test): Likewise.
20387         (expm1_test): Likewise.
20388         (expm1_test_tonearest): Likewise.
20389         (expm1_test_towardzero): Likewise.
20390         (expm1_test_downward): Likewise.
20391         (expm1_test_upward): Likewise.
20392         (fabs_test): Likewise.
20393         (fdim_test): Likewise.
20394         (floor_test): Likewise.
20395         (fma_test): Likewise.
20396         (fma_test_towardzero): Likewise.
20397         (fma_test_downward): Likewise.
20398         (fma_test_upward): Likewise.
20399         (fmax_test): Likewise.
20400         (fmin_test): Likewise.
20401         (fmod_test): Likewise.
20402         (fpclassify_test): Likewise.
20403         (frexp_test): Likewise.
20404         (hypot_test): Likewise.
20405         (ilogb_test): Likewise.
20406         (isfinite_test): Likewise.
20407         (finite_test): Likewise.
20408         (isgreater_test): Likewise.
20409         (isgreaterequal_test): Likewise.
20410         (isinf_test): Likewise.
20411         (isless_test): Likewise.
20412         (islessequal_test): Likewise.
20413         (islessgreater_test): Likewise.
20414         (isnan_test): Likewise.
20415         (isnormal_test): Likewise.
20416         (issignaling_test): Likewise.
20417         (isunordered_test): Likewise.
20418         (j0_test): Likewise.
20419         (j1_test): Likewise.
20420         (jn_test): Likewise.
20421         (ldexp_test): Likewise.
20422         (lgamma_test): Likewise.
20423         (gamma_test): Likewise.
20424         (lrint_test): Likewise.
20425         (lrint_test_tonearest): Likewise.
20426         (lrint_test_towardzero): Likewise.
20427         (lrint_test_downward): Likewise.
20428         (lrint_test_upward): Likewise.
20429         (llrint_test): Likewise.
20430         (llrint_test_tonearest): Likewise.
20431         (llrint_test_towardzero): Likewise.
20432         (llrint_test_downward): Likewise.
20433         (llrint_test_upward): Likewise.
20434         (log_test): Likewise.
20435         (log10_test): Likewise.
20436         (log1p_test): Likewise.
20437         (log2_test): Likewise.
20438         (logb_test): Likewise.
20439         (logb_test_downward): Likewise.
20440         (lround_test): Likewise.
20441         (llround_test): Likewise.
20442         (modf_test): Likewise.
20443         (nearbyint_test): Likewise.
20444         (nextafter_test): Likewise.
20445         (nexttoward_test): Likewise.
20446         (pow_test): Likewise.
20447         (pow_test_tonearest): Likewise.
20448         (pow_test_towardzero): Likewise.
20449         (pow_test_downward): Likewise.
20450         (pow_test_upward): Likewise.
20451         (remainder_test): Likewise.
20452         (drem_test): Likewise.
20453         (remainder_test_tonearest): Likewise.
20454         (drem_test_tonearest): Likewise.
20455         (remainder_test_towardzero): Likewise.
20456         (drem_test_towardzero): Likewise.
20457         (remainder_test_downward): Likewise.
20458         (drem_test_downward): Likewise.
20459         (remainder_test_upward): Likewise.
20460         (drem_test_upward): Likewise.
20461         (remquo_test): Likewise.
20462         (rint_test): Likewise.
20463         (rint_test_tonearest): Likewise.
20464         (rint_test_towardzero): Likewise.
20465         (rint_test_downward): Likewise.
20466         (rint_test_upward): Likewise.
20467         (round_test): Likewise.
20468         (scalb_test): Likewise.
20469         (scalbn_test): Likewise.
20470         (scalbln_test): Likewise.
20471         (signbit_test): Likewise.
20472         (sin_test): Likewise.
20473         (sin_test_tonearest): Likewise.
20474         (sin_test_towardzero): Likewise.
20475         (sin_test_downward): Likewise.
20476         (sin_test_upward): Likewise.
20477         (sincos_test): Likewise.
20478         (sinh_test): Likewise.
20479         (sinh_test_tonearest): Likewise.
20480         (sinh_test_towardzero): Likewise.
20481         (sinh_test_downward): Likewise.
20482         (sinh_test_upward): Likewise.
20483         (sqrt_test): Likewise.
20484         (sqrt_test_tonearest): Likewise.
20485         (sqrt_test_towardzero): Likewise.
20486         (sqrt_test_downward): Likewise.
20487         (sqrt_test_upward): Likewise.
20488         (tan_test): Likewise.
20489         (tan_test_tonearest): Likewise.
20490         (tan_test_towardzero): Likewise.
20491         (tan_test_downward): Likewise.
20492         (tan_test_upward): Likewise.
20493         (tanh_test): Likewise.
20494         (tgamma_test): Likewise.
20495         (trunc_test): Likewise.
20496         (y0_test): Likewise.
20497         (y1_test): Likewise.
20498         (yn_test): Likewise.
20499         (significand_test): Likewise.
20501         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20502         individual tests in comment.
20503         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20504         (prev_max_error): New variable.
20505         (prev_real_max_error): Likewise.
20506         (prev_imag_max_error): Likewise.
20507         (compare_ulp_data): Don't refer to test names in comment.
20508         (find_test_ulps): Remove function.
20509         (find_function_ulps): Likewise.
20510         (find_complex_function_ulps): Likewise.
20511         (init_max_error): Take function name as argument.  Look up ulps
20512         for that function.
20513         (print_ulps): Remove function.
20514         (print_max_error): Use prev_max_error instead of calling
20515         find_function_ulps.
20516         (print_complex_max_error): Use prev_real_max_error and
20517         prev_imag_max_error instead of calling find_complex_function_ulps.
20518         (check_float_internal): Take max_ulp parameter instead of calling
20519         find_test_ulps.  Don't call print_ulps.
20520         (check_float): Update call to check_float_internal.
20521         (check_complex): Update calls to check_float_internal.
20522         (START): Pass argument to init_max_error.
20523         * math/gen-libm-test.pl (%results): Don't include "kind"
20524         information.
20525         (parse_ulps): Don't handle ulps of individual tests.
20526         (print_ulps_file): Likewise.
20527         (output_ulps): Likewise.
20528         * math/README.libm-test: Update.
20529         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20530         individual tests.
20531         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20532         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20533         * sysdeps/arm/libm-test-ulps: Likewise.
20534         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20535         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20536         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20537         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20538         * sysdeps/microblaze/libm-test-ulps: Likewise.
20539         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20540         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20541         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20542         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20543         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20544         * sysdeps/sh/libm-test-ulps: Likewise.
20545         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20546         * sysdeps/tile/libm-test-ulps: Likewise.
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20551         * math/libm-test.inc (print_complex_max_error): Check separately
20552         whether real and imaginary errors are within allowed range and
20553         pass 0 to print_complex_function_ulps instead of value within
20554         allowed range.
20556 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20558         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20559         formatting.
20560         (get_handles_fopen): Likewise.
20561         (do_write_test): Likewise.
20563         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20565         * libio/fileops.c (do_ftell): Use cached offset when
20566         available.
20567         * libio/iofwide.c (do_ftell_wide): Likewise.
20568         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20569         _IO_file_attach.
20570         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20572         [BZ #16532]
20573         * libio/libioP.h (get_file_offset): New function.
20574         * libio/fileops.c (get_file_offset): Likewise.
20575         (do_ftell): Likewise.
20576         (_IO_new_file_seekoff): Split out ftell logic.
20577         * libio/wfileops.c (do_ftell_wide): Likewise.
20578         (_IO_wfile_seekoff): Split out ftell logic.
20579         * libio/tst-ftell-active-handler.c: New test case.
20580         * libio/Makefile (tests): Add it.
20582 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20584         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20585         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20587 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20589         [BZ #16639]
20590         * nscd/connections.c (nscd_init): Call do_exit.
20591         (start_threads): Call do_exit and notify_parent.
20592         (begin_drop_privileges): Call do_exit.
20593         (finish_drop_privileges): Likewise.
20594         * nscd/selinux.c (preserve_capabilities): Likewise.
20595         (install_real_capabilities): Likewise.
20596         (nscd_selinux_enabled): Likewise.
20597         (avc_create_thread): Likewise.
20598         (avc_alloc_lock): Likewise.
20599         (nscd_avc_init): Likewise.
20600         * nscd/nscd.c (parent_fd): New static variable.
20601         (main): Create a pipe between parent and child processes.
20602         Skip closing parent_fd.
20603         (monitor_child): New function.
20604         (do_exit): Likewise.
20605         (notify_parent): Likewise.
20606         * nscd/nscd.h (notify_parent): Likewise.
20607         (do_exit): Likewise.
20609 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20611         * malloc/malloc.c (__libc_calloc): Revert last change.
20613 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20617 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20619         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20621         implementation.
20622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20623         (__libc_ifunc_impl_list): Likewise.
20624         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20625         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20626         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20627         * string/strrchr.c: Define STRRCHR.
20629 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20631         * benchtest/bench-strtok.c (simple_strtok): Delete.
20632         (strtok_string): Use as benchmark.
20633         * string/strtok (STRTOK): New macro.
20635 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20637         * manual/threads.texi: Add header and standard comments to all
20638         functions.
20640         * elf/dl-lookup.c (check_match): New function.
20641         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20642         (do_lookup_x): Remove nested function check_match. Use non-nested
20643         function check_match.
20645 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20647         * csu/Makefile (generated, before-compile): Use += rather than =.
20648         * catgets/Makefile (generated, generated-dirs): Likewise.
20649         * debug/Makefile (generated): Likewise.
20650         * dlfcn/Makefile (generated): Likewise.
20651         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20652         * iconvdata/Makefile (before-compile, generated): Likewise.
20653         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20654         * libio/Makefile (generated): Likewise.
20655         * malloc/Makefile (generated): Likewise.
20656         * manual/Makefile (generated, generated-dirs): Likewise.
20657         * misc/Makefile (generated): Likewise.
20658         * posix/Makefile (generated): Likewise.
20659         * resolv/Makefile (generated): Likewise.
20660         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20661         * timezone/Makefile (generated, generated-dirs): Likewise.
20663         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20665 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20668         power8 implementation.
20669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20670         file: POWER8 llround ifunc implementation.
20671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20672         (__lllround): Add POWER8 implementation.
20673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20674         POWER8 llround implementation.
20676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20677         power8 implementation.
20678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20679         file: POWER8 llrint ifunc implementation.
20680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20681         Add POWER8 implementation.
20682         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20683         POWER8 llrint implementation.
20685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20686         power8 implementation.
20687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20688         file: POWER8 finite ifunc implementation.
20689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20690         Add POWER8 implementation.
20691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20692         Likewise.
20693         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20694         POWER8 finite implementation.
20695         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20698         power8 implementation.
20699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20700         file: POWER8 isinf ifunc implementation.
20701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20702         POWER8 implementation.
20703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20704         Likewise.
20705         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20706         isinf implementation.
20707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20709         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20710         (INIT_ARCH): Add hwcap2 initialization.
20711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20712         power8 implementation.
20713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20714         file: POWER8 isnan ifunc implementation.
20715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20716         POWER8 implementation.
20717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20718         Likewise.
20719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20720         isnan implementation.
20721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20723 2014-02-27  Joey Ye  <joey.ye@arm.com>
20725         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20726         (_FP_NANFRAC_Q): Set to zero.
20728 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20730         [BZ #16623]
20731         * math/auto-libm-test-in: New test inputs.
20732         * math/auto-libm-test-out: Regenerate.
20733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20734         and DA.
20735         (__cos): Likewise.
20736         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20738 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20740         * scripts/evaluate-test.sh: Take new argument indicating whether
20741         failure is expected.
20742         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20743         indicating whether failure is expected.
20744         * conform/Makefile (test-xfail-run-conformtest): New variable.
20745         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20746         level.
20747         * posix/Makefile (test-xfail-annexc): New variable.
20748         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20750 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20752         * argp/Makefile: Include Makeconfig immediately after defining
20753         subdir.
20754         * assert/Makefile: Likewise.
20755         * benchtests/Makefile: Likewise.
20756         * catgets/Makefile: Likewise.
20757         * conform/Makefile: Likewise.
20758         * crypt/Makefile: Likewise.
20759         * csu/Makefile: Likewise.
20760         (all): Remove target.
20761         * ctype/Makefile: Include Makeconfig immediately after defining
20762         subdir.
20763         * debug/Makefile: Likewise.
20764         * dirent/Makefile: Likewise.
20765         * dlfcn/Makefile: Likewise.
20766         * gmon/Makefile: Likewise.
20767         * gnulib/Makefile: Likewise.
20768         * grp/Makefile: Likewise.
20769         * gshadow/Makefile: Likewise.
20770         * hesiod/Makefile: Likewise.
20771         * hurd/Makefile: Likewise.
20772         (all): Remove target.
20773         * iconvdata/Makefile: Include Makeconfig immediately after
20774         defining subdir.
20775         * inet/Makefile: Likewise.
20776         * intl/Makefile: Likewise.
20777         * io/Makefile: Likewise.
20778         * libio/Makefile: Likewise.
20779         (all): Remove target.
20780         * locale/Makefile: Include Makeconfig immediately after defining
20781         subdir.
20782         * login/Makefile: Likewise.
20783         * mach/Makefile: Likewise.
20784         (all): Remove target.
20785         * malloc/Makefile: Include Makeconfig immediately after defining
20786         subdir.
20787         (all): Remove target.
20788         * manual/Makefile: Include Makeconfig immediately after defining
20789         subdir.
20790         * math/Makefile: Likewise.
20791         * misc/Makefile: Likewise.
20792         * nis/Makefile: Likewise.
20793         * nss/Makefile: Likewise.
20794         * po/Makefile: Likewise.
20795         (all): Remove target.
20796         * posix/Makefile: Include Makeconfig immediately after defining
20797         subdir.
20798         * pwd/Makefile: Likewise.
20799         * resolv/Makefile: Likewise.
20800         * resource/Makefile: Likewise.
20801         * rt/Makefile: Likewise.
20802         * setjmp/Makefile: Likewise.
20803         * shadow/Makefile: Likewise.
20804         * signal/Makefile: Likewise.
20805         * socket/Makefile: Likewise.
20806         * soft-fp/Makefile: Likewise.
20807         * stdio-common/Makefile: Likewise.
20808         * stdlib/Makefile: Likewise.
20809         * streams/Makefile: Likewise.
20810         * string/Makefile: Likewise.
20811         * sunrpc/Makefile: Likewise.
20812         (all): Remove target.
20813         * sysvipc/Makefile: Include Makeconfig immediately after defining
20814         subdir.
20815         * termios/Makefile: Likewise.
20816         * time/Makefile: Likewise.
20817         * timezone/Makefile: Likewise.
20818         (all): Remove target.
20819         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20820         subdir.
20821         * wctype/Makefile: Likewise.
20823 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20825         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20826         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20827         (libc_feholdexcept_setround_mips): Ditto.
20828         (libc_feholdsetround): New.
20829         (libc_feholdsetroundf): New.
20830         (libc_feholdsetroundl): New.
20831         (libc_feupdateenv_test_mips): New.
20832         (libc_feupdateenv_test): New.
20833         (libc_feupdateenv_testf): New.
20834         (libc_feupdateenv_testl): New.
20835         (libc_feresetround): New.
20836         (libc_feresetroundf): New.
20837         (libc_feresetroundl): New.
20838         (libc_fetestexcept_mips): New.
20839         (libc_fetestexcept): New.
20840         (libc_fetestexceptf): New.
20841         (libc_fetestexceptl): New.
20842         (HAVE_RM_CTX): New.
20843         (libc_feholdexcept_setround_mips_ctx): New.
20844         (libc_feholdexcept_setround_ctx): New.
20845         (libc_feholdexcept_setroundf_ctx): New.
20846         (libc_feholdexcept_setroundl_ctx): New.
20847         (libc_fesetenv_mips_ctx): New.
20848         (libc_fesetenv_ctx): New.
20849         (libc_fesetenv_ctxf): New.
20850         (libc_fesetenv_ctxl): New.
20851         (libc_feupdateenv_mips_ctx): New.
20852         (libc_feupdateenv_ctx): New.
20853         (libc_feupdateenvf_ctx): New.
20854         (libc_feupdateenvl_ctx): New.
20855         (libc_feholdsetround_mips_ctx): New.
20856         (libc_feholdsetround_ctx): New.
20857         (libc_feholdsetroundf_ctx): New.
20858         (libc_feholdsetroundl_ctx): New.
20859         (libc_feresetround_mips_ctx): New.
20860         (libc_feresetround_ctx): New.
20861         (libc_feresetroundf_ctx): New.
20862         (libc_feresetroundl_ctx): New.
20864 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20866         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20868         * manual/ipc.texi: New file.
20869         * manual/Makefile (chapters): Add ipc.
20870         * manual/job.texi: Add "Inter-Process Communication" to next.
20871         * manual/process.texi: Add "Inter-Process Communication" to prev.
20873 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20877 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20879         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20881         * manual/arith.texi: Fix spaces after sentences.
20882         * manual/charset.texi: Likewise.
20883         * manual/errno.texi: Likewise.
20884         * manual/install.texi: Likewise.
20885         * manual/llio.texi: Likewise.
20886         * manual/locale.texi: Likewise.
20887         * manual/maint.texi: Likewise.
20888         * manual/math.texi: Likewise.
20889         * manual/memory.texi: Likewise.
20890         * manual/message.texi: Likewise.
20891         * manual/probes.texi: Likewise.
20892         * manual/resource.texi: Likewise.
20893         * manual/signal.texi: Likewise.
20894         * manual/socket.texi: Likewise.
20895         * manual/stdio.texi: Likewise.
20896         * manual/string.texi: Likewise.
20897         * manual/time.texi: Likewise.
20898         * manual/users.texi: Likewise.
20900 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20902         [BZ #16632]
20903         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20904         _DEFAULT_SOURCE is defined.
20906 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20907             Carlos O'Donell  <carlos@redhat.com>
20909         [BZ #16613]
20910         * elf/dl-tls.c (_dl_count_modids): New function.
20911         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20912         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20913         audit library and increment generation counter.
20914         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20915         * elf/tst-audit9.c: New file.
20916         * elf/tst-auditmod9a.c: New file.
20917         * elf/tst-auditmod9b.c: New file.
20918         * elf/Makefile: Add rules to build and run tst-audit9.
20920 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20922         [BZ #15347]
20923         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20925 2014-02-25  Will Newton  <will.newton@linaro.org>
20927         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20928         (__longjmp): Restore sp and lr before restoring callee
20929         saved registers.  Add longjmp and longjmp_target
20930         SystemTap probe point.
20931         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20932         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20933         Define to zero to match jmpbuf layout.
20934         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20935         (__sigsetjmp): Save sp and lr before saving callee
20936         saved registers.  Add setjmp SystemTap probe point.
20938 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20940         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20942 2014-02-24  Andreas Schwab  <schwab@suse.de>
20944         [BZ #15804]
20945         * elf/pldd.c (wait_for_ptrace_stop): New function.
20946         (main): Call it after attaching.
20948 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20950         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20951         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20952         Versions files is now verboten.
20953         * hurd/Versions (libc: GLIBC_2.0):
20954         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20955         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20956         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20957         * mach/Versions: Likewise.
20959         * csu/Versions: Remove unused %include.
20960         * resolv/Versions: Likewise.
20962 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20964         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20965         ($(objpfx)check-local-headers.out): Likewise.
20966         ($(objpfx)begin-end-check.out): Likewise.
20967         * Makerules (check-abi-%.out): Likewise.
20968         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20969         ($(objpfx)test2.cat): Likewise.
20970         ($(objpfx)de/libc.cat): Likewise.
20971         ($(objpfx)test-gencat.out): Likewise.
20972         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20973         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20974         ($(objpfx)noload-mem): Likewise.
20975         ($(objpfx)tst-pathopt.out): Likewise.
20976         ($(objpfx)tst-rtld-load-self.out): Likewise.
20977         ($(objpfx)tst-array1-cmp.out): Likewise.
20978         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20979         ($(objpfx)tst-array2-cmp.out): Likewise.
20980         ($(objpfx)tst-array3-cmp.out): Likewise.
20981         ($(objpfx)tst-array4-cmp.out): Likewise.
20982         ($(objpfx)tst-array5-cmp.out): Likewise.
20983         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20984         ($(objpfx)check-textrel.out): Likewise.
20985         ($(objpfx)check-execstack.out): Likewise.
20986         ($(objpfx)check-localplt.out): Likewise.
20987         ($(objpfx)order2-cmp.out): Likewise.
20988         ($(objpfx)tst-leaks1-mem): Likewise.
20989         ($(objpfx)tst-leaks1-static-mem): Likewise.
20990         ($(objpfx)tst-initorder-cmp.out): Likewise.
20991         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20992         ($(objpfx)tst-unused-dep.out): Likewise.
20993         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20994         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20995         * iconv/Makefile (test-iconvconfig): Likewise.
20996         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20997         ($(objpfx)iconv-test.out): Likewise.
20998         ($(objpfx)tst-tables.out): Likewise.
20999         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21000         ($(objpfx)tst-gettext.out): Likewise.
21001         ($(objpfx)tst-translit.out): Likewise.
21002         ($(objpfx)tst-gettext2.out): Likewise.
21003         ($(objpfx)tst-gettext4.out): Likewise.
21004         ($(objpfx)tst-gettext6.out): Likewise.
21005         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21006         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21007         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21008         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21009         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21010         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21011         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21012         ($(objpfx)wordexp-tst.out): Likewise.
21013         ($(objpfx)annexc.out): Likewise.
21014         ($(objpfx)tst-fnmatch-mem): Likewise.
21015         ($(objpfx)bug-regex2-mem): Likewise.
21016         ($(objpfx)bug-regex14-mem): Likewise.
21017         ($(objpfx)bug-regex21-mem): Likewise.
21018         ($(objpfx)bug-regex31-mem): Likewise.
21019         ($(objpfx)tst-vfork3-mem): Likewise.
21020         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21021         ($(objpfx)tst-pcre-mem): Likewise.
21022         ($(objpfx)tst-boost-mem): Likewise.
21023         ($(objpfx)tst-getconf.out): Likewise.
21024         ($(objpfx)bug-ga2-mem): Likewise.
21025         ($(objpfx)bug-glob2-mem): Likewise.
21026         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21027         ($(objpfx)mtrace-tst-leaks2): Likewise.
21028         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21029         ($(objpfx)tst-printf.out): Likewise.
21030         ($(objpfx)tst-setvbuf1.out): Likewise.
21031         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21032         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21033         ($(objpfx)tst-fmtmsg.out): Likewise.
21034         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21035         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21037         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21038         * bits/sigaction.h [__USE_MISC]: Likewise.
21039         * bits/waitstatus.h: Update #endif comments.
21040         * ctype/ctype.h: Likewise.
21041         * dirent/dirent.h: Likewise.
21042         [__USE_MISC]: Remove redundant conditionals.
21043         * grp/grp.h: Update #endif comments.
21044         [__USE_GNU]: Remove redundant conditionals.
21045         [__USE_MISC]: Likewise.
21046         * inet/netinet/in.h [__USE_GNU]: Likewise.
21047         * io/sys/stat.h [__USE_MISC]: Likewise.
21048         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21049         * libio/bits/stdio.h: Update #endif comments.
21050         [__USE_MISC]: Remove redundant conditionals.
21051         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21052         * libio/stdio.h: Update #endif comments.
21053         [__USE_MISC]: Remove redundant conditionals.
21054         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21055         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21056         * math/math.h: Update #else and #endif comments.
21057         [__USE_MISC]: Remove redundant conditionals.
21058         * misc/sys/uio.h: Update #endif comments.
21059         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21060         * posix/glob.h [__USE_MISC]: Likewise.
21061         * posix/sys/types.h: Update #endif comments.
21062         [__USE_MISC]: Remove redundant conditionals.
21063         * posix/sys/wait.h: Update #endif comments.
21064         [__USE_MISC]: Remove redundant conditionals.
21065         * posix/unistd.h: Update #endif comments.
21066         [__USE_MISC]: Remove redundant conditionals.
21067         * pwd/pwd.h [__USE_GNU]: Likewise.
21068         [__USE_MISC]: Likewise.
21069         * resolv/netdb.h [__USE_GNU]: Likewise.
21070         * signal/signal.h: Update #endif comments.
21071         [__USE_MISC]: Remove redundant conditionals.
21072         * stdlib/stdlib.h: Update #else and #endif comments.
21073         [__USE_MISC]: Remove redundant conditionals.
21074         [__USE_GNU]: Likewise.
21075         * string/bits/string2.h [__USE_MISC]: Likewise.
21076         * string/string.h: Update #endif comments.
21077         [__USE_MISC]: Remove redundant conditionals.
21078         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21079         Likewise.
21080         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21081         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21082         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21083         Likewise.
21084         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21085         Likewise.
21086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21087         comments.
21088         [__USE_MISC]: Remove redundant conditionals.
21089         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21090         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21091         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21092         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21093         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21094         Likewise.
21095         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21096         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21097         Likewise.
21098         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21099         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21100         Likewise.
21101         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21102         Likewise.
21103         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21104         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21105         Likewise.
21106         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21107         Likewise.
21108         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21109         * sysdeps/x86/bits/string.h: Update #endif comments.
21110         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21111         conditionals.
21112         * time/sys/time.h: Update #endif comments.
21113         * time/time.h: Likewise.
21114         [__USE_MISC]: Remove redundant conditionals.
21116 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21118         [BZ #16600]
21119         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21121 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21123         * Versions.def (librt): Add GLIBC_2.17.
21125 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21127         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21128         synonym for _SYS_AUXV_H to allow direct inclusion.
21129         * sysdeps/sparc/bits/hwcap.h: Likewise.
21130         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21131         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21132         * sysdeps/sparc/sysdep.h: Likewise.
21134 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21136         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21138 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21140         * benchtests/bench-strrchr.c: Print length instead of position.
21142 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21144         [BZ #16611]
21145         * sysdeps/unix/sysv/linux/kernel-features.h
21146         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21147         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21148         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21149         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21150         Likewise.
21151         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21152         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21153         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21154         (__ASSUME_SENDMMSG): Define instead of using previous
21155         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21156         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21157         (__ASSUME_SENDMMSG_SYSCALL): Define.
21158         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21159         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21160         Likewise.
21161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21162         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21163         Likewise.
21164         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21165         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21166         Likewise.
21167         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21168         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21169         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21170         [__ASSUME_SENDMMSG]: Change conditionals to
21171         [__ASSUME_SENDMMSG_SOCKETCALL].
21172         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21173         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21174         Define.
21175         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21176         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21179         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21180         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21181         [!__ASSUME_SENDMMSG]: Change conditional to
21182         [!__ASSUME_SENDMMSG_SOCKETCALL].
21183         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21184         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21185         Define.
21187         [BZ #16610]
21188         * sysdeps/unix/sysv/linux/kernel-features.h
21189         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21190         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21191         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21192         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21193         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21194         [__i386__ || __sparc__]
21195         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21196         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21197         (__ASSUME_RECVMMSG): Define instead of using previous
21198         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21199         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21200         (__ASSUME_RECVMMSG_SYSCALL): Define.
21201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21202         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21203         Likewise.
21204         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21205         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21206         Likewise.
21207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21208         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21209         Likewise.
21210         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21211         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21212         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21213         [__ASSUME_RECVMMSG]: Change condition to
21214         [__ASSUME_RECVMMSG_SOCKETCALL].
21215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21216         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21217         Define.
21218         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21219         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21220         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21221         Likewise.
21222         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21223         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21224         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21225         [!__ASSUME_RECVMMSG]: Change condition to
21226         [!__ASSUME_RECVMMSG_SOCKETCALL].
21227         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21228         (__ASSUME_RECVMMSG_SYSCALL): Define.
21230         [BZ #16609]
21231         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21232         __powerpc__ || __s390__ || __sh__ || __sparc__]
21233         (__ASSUME_SOCKETCALL): Define.
21234         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21235         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21236         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21237         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21238         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21239         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21240         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21241         (__ASSUME_ACCEPT4): Define instead of using previous
21242         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21243         __powerpc__ || __sparc__ || __s390__)] condition.
21244         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21245         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21246         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21247         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21248         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21249         [!__ASSUME_ACCEPT4]: Change condition to
21250         [!__ASSUME_ACCEPT4_SOCKETCALL].
21251         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21252         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21253         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21254         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21255         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21256         __ASSUME_ACCEPT4_SYSCALL.
21257         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21258         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21259         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21260         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21261         __ASSUME_ACCEPT4_SYSCALL.
21262         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21263         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21264         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21265         [__ASSUME_ACCEPT4]: Change condition to
21266         [__ASSUME_ACCEPT4_SOCKETCALL].
21267         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21268         (__ASSUME_SOCKETCALL): Define.
21269         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21271         (__ASSUME_SOCKETCALL): Define.
21272         (__ASSUME_ACCEPT4): Remove.
21273         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21274         Define.
21275         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21276         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21277         Likewise.
21278         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21279         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21281         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21282         macro.
21283         (HWCAP_ARM_LPAE): Likewise.
21284         (HWCAP_ARM_EVTSTRM): Likewise.
21285         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21286         Add vpfd32, lpae and evtstrm.
21287         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21288         Increase to 22.
21290 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21292         * math/auto-libm-test-in: Add tests of clog10.
21293         * math/auto-libm-test-out: Regenerated.
21294         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21295         * sysdeps/i386/fpu/libm-test-ulps: Update.
21296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21298 2014-02-18  Andreas Schwab  <schwab@suse.de>
21300         [BZ #16574]
21301         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21302         Store non-zero if the second buffer was newly allocated.
21303         (send_dg): Likewise.
21304         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21305         to send_vc and send_dg.
21306         (res_nsend): Pass NULL for ansp2_malloced.
21307         * resolv/res_query.c (__libc_res_nquery): Add parameter
21308         answerp2_malloced and pass it down to __libc_res_nsend.
21309         (res_nquery): Pass additional NULL to __libc_res_nquery.
21310         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21311         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21312         second answer buffer if answerp2_malloced was set.
21313         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21314         (__libc_res_nquerydomain): Add parameter
21315         answerp2_malloced and pass it down to __libc_res_nquery.
21316         (res_nquerydomain): Pass additional NULL to
21317         __libc_res_nquerydomain.
21318         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21319         additional NULL to __libc_res_nsend and __libc_res_nquery.
21320         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21321         additional NULL to __libc_res_nsearch.
21322         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21323         parameter of __libc_res_nsearch to check for separately allocated
21324         second buffer.
21325         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21326         __libc_res_nquery.
21327         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21328         additional NULL to __libc_res_nquery.
21329         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21330         __libc_res_nsearch.
21331         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21332         * include/resolv.h: Update prototypes of __libc_res_nquery,
21333         __libc_res_nsearch, __libc_res_nsend.
21335 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21337         * math/auto-libm-test-in: Add tests of fma.
21338         * math/auto-libm-test-out: Regenerated.
21339         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21340         (fma_towardzero_test_data): Likewise.
21341         (fma_downward_test_data): Likewise.
21342         (fma_upward_test_data): Likewise.
21343         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21344         mpc_mode.
21345         (rounding_modes): Add values for new field.
21346         (func_calc_method): Add value mpfr_fff_f.
21347         (func_calc_desc): Add mpfr_fff_f union field.
21348         (test_function): Add field exact_args.
21349         (FUNC): Add macro argument EXACT_ARGS.
21350         (FUNC_mpfr_f_f): Update call to FUNC.
21351         (FUNC_mpfr_f_f): Likewise.
21352         (FUNC_mpfr_ff_f): Likewise.
21353         (FUNC_mpfr_if_f): Likewise.
21354         (FUNC_mpc_c_f): Likewise.
21355         (FUNC_mpc_c_c): Likewise.
21356         (test_functions): Add fma.  Update calls to FUNC.
21357         (handle_input_arg): Add argument exact_args.
21358         (add_test): Update call to handle_input_arg.
21359         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21360         (output_for_one_input_case): Update call to calc_generic_results.
21361         Recalculate exact zero results in each rounding mode.
21363         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21364         non-negative before setting low bit.
21365         * math/auto-libm-test-in: Mark one asin test possibly having
21366         spurious underflow.
21367         * math/auto-libm-test-out: Regenerated.
21368         * sysdeps/i386/fpu/libm-test-ulps: Update.
21369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21371 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21373         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21374         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21375         ports/sysdeps/unix/sysv/linux/microblaze.
21376         * README: Add missing listing for microblaze*-*-linux-gnu.
21378 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21380         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21381         duplicate code
21383 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21385         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21386         * sysdeps/unix/sysv/linux/ia64: Move directory from
21387         ports/sysdeps/unix/sysv/linux/ia64.
21388         * README: Update listing for ia64-*-linux-gnu.
21390 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21391             Joseph Myers  <joseph@codesourcery.com>
21393         * Makeconfig (test-name): New variable.
21394         (evaluate-test): Likewise.
21395         * Makerules (do-test-clean): Remove .test-result files.
21396         (common-mostlyclean): Likewise.
21397         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21398         * scripts/evaluate-test.sh: New file.
21400 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21402         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21403         separate $(objpfx)tst-fopenloc-cmp.out and
21404         $(objpfx)tst-fopenloc-mem.out targets.
21405         (tests): Update dependencies.
21406         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21407         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21408         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21409         (tst-rxspencer-no-utf8-ARGS): New variable.
21410         (tst-rxspencer-no-utf8-ENV): Likewise.
21411         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21412         instead of $(objpfx)tst-rxspencer-mem.
21413         ($(objpfx)tst-rxspencer-mem): Change target to
21414         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21415         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21416         * posix/tst-rxspencer-no-utf8.c: New file.
21418         * elf/Makefile ($(objpfx)order.out): Remove rule.
21419         [$(run-built-tests) = yes] (tests): Depend on
21420         $(objpfx)order-cmp.out.
21421         ($(objpfx)order-cmp.out): New rule.
21422         [$(run-built-tests) = yes] (tests): Depend on
21423         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21424         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21425         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21426         $(objpfx)tst-array5-static-cmp.out.
21427         ($(objpfx)tst-array1.out): Remove rule.
21428         ($(objpfx)tst-array1-cmp.out): New rule.
21429         ($(objpfx)tst-array1-static.out): Remove rule.
21430         ($(objpfx)tst-array1-static-cmp.out): New rule.
21431         ($(objpfx)tst-array2.out): Remove rule.
21432         ($(objpfx)tst-array2-cmp.out): New rule.
21433         ($(objpfx)tst-array3.out): Remove rule.
21434         ($(objpfx)tst-array3-cmp.out): New rule.
21435         ($(objpfx)tst-array4.out): Remove rule.
21436         ($(objpfx)tst-array4-cmp.out): New rule.
21437         ($(objpfx)tst-array5.out): Remove rule.
21438         ($(objpfx)tst-array5-cmp.out): New rule.
21439         ($(objpfx)tst-array5-static.out): Remove rule.
21440         ($(objpfx)tst-array5-static-cmp.out): New rule.
21441         [$(run-built-tests) = yes] (tests): Depend on
21442         $(objpfx)order2-cmp.out.
21443         ($(objpfx)order2.out): Remove rule.
21444         ($(objpfx)order2-cmp.out): New rule.
21445         ($(objpfx)tst-initorder.out): Remove rule.
21446         [$(run-built-tests) = yes] (tests): Depend on
21447         $(objpfx)tst-initorder-cmp.out.
21448         ($(objpfx)tst-initorder-cmp.out): New rule.
21449         ($(objpfx)tst-initorder2.out): Remove rule.
21450         [$(run-built-tests) = yes] (tests): Depend on
21451         $(objpfx)tst-initorder2-cmp.out.
21452         ($(objpfx)tst-initorder2-cmp.out): New rule.
21453         [$(run-built-tests) = yes] (tests): Depend on
21454         $(objpfx)tst-unused-dep-cmp.out.
21455         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21456         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21457         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21458         on $(objpfx)tst-setvbuf1-cmp.out.
21459         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21460         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21461         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21462         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21463         ($(objpfx)tst-svc.out): Remove rule.
21464         ($(objpfx)tst-svc-cmp.out): New rule.
21466 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21468         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21469         * ctype/ctype.h [__USE_MISC]: Likewise.
21470         * dirent/dirent.h [__USE_MISC]: Likewise.
21471         * grp/grp.h [__USE_MISC]: Likewise.
21472         * io/fcntl.h [__USE_MISC]: Likewise.
21473         * io/sys/stat.h [__USE_MISC]: Likewise.
21474         * libio/stdio.h [__USE_MISC]: Likewise.
21475         * posix/unistd.h [__USE_MISC]: Likewise.
21476         * pwd/pwd.h [__USE_MISC]: Likewise.
21477         * stdlib.h [__USE_MISC]: Likewise.
21478         * string/bits/string2.h [__USE_MISC]: Likewise.
21479         * string/string.h [__USE_MISC]: Likewise.
21480         * time/time.h [__USE_MISC]: Likewise.
21482 2014-02-13  Andreas Schwab  <schwab@suse.de>
21484         [BZ #16574]
21485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21486         second answer buffer if it was separately allocated.
21488 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21490         * sysdeps/mips/math-tests.h: Include <features.h>.
21491         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21492         (ROUNDING_TESTS_long_double): Do not define.
21493         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21494         (EXCEPTION_TESTS_long_double): Likewise.
21495         * sysdeps/mips/mips64/libm-test-ulps: Update.
21497         * include/features.h (__USE_BSD): Remove macro definitions.
21498         (__USE_SVID): Likewise.
21499         (_BSD_SOURCE): Likewise.
21500         (_SVID_SOURCE): Likewise.
21501         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21502         from definition of _DEFAULT_SOURCE.
21503         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21504         [_DEFAULT_SOURCE].
21505         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21506         * bits/mman.h [__USE_BSD]: Likewise.
21507         * bits/termios.h [__USE_BSD]: Likewise.
21508         * bits/waitstatus.h [__USE_BSD]: Likewise.
21509         * ctype/ctype.h [__USE_SVID]: Likewise.
21510         * dirent/dirent.h [__USE_BSD]: Likewise.
21511         * grp/grp.h [__USE_SVID]: Likewise.
21512         [__USE_BSD]: Likewise.
21513         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21514         * io/fcntl.h [__USE_BSD]: Likewise.
21515         * io/ftw.h [__USE_BSD]: Likewise.
21516         * io/sys/stat.h [__USE_BSD]: Likewise.
21517         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21518         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21519         * libio/stdio.h [__USE_SVID]: Likewise.
21520         [__USE_BSD]: Likewise.
21521         * math/math.h [__USE_SVID]: Likewise.
21522         [__USE_BSD]: Likewise.
21523         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21524         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21525         * misc/search.h [__USE_SVID]: Likewise.
21526         * misc/sys/mman.h [__USE_BSD]: Likewise.
21527         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21528         * misc/sys/uio.h [__USE_BSD]: Likewise.
21529         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21530         * posix/glob.h [__USE_BSD]: Likewise.
21531         * posix/regex.h [__USE_BSD]: Likewise.
21532         * posix/sys/types.h [__USE_BSD]: Likewise.
21533         [__USE_SVID]: Likewise.
21534         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21535         * posix/sys/wait.h [__USE_BSD]: Likewise.
21536         [__USE_SVID]: Likewise.
21537         * posix/unistd.h [__USE_BSD]: Likewise.
21538         [__USE_SVID]: Likewise.
21539         * pwd/pwd.h [__USE_SVID]: Likewise.
21540         * resolv/netdb.h [__USE_BSD]: Likewise.
21541         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21542         * signal/signal.h [__USE_BSD]: Likewise.
21543         [__USE_SVID]: Likewise.
21544         * socket/sys/socket.h [__USE_BSD]: Likewise.
21545         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21546         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21547         [__USE_SVID]: Likewise.
21548         * string/bits/string2.h [__USE_BSD]: Likewise.
21549         [__USE_SVID]: Likewise.
21550         * string/bits/string3.h [__USE_BSD]: Likewise.
21551         * string/endian.h [__USE_BSD]: Likewise.
21552         * string/string.h [__USE_SVID]: Likewise.
21553         [__USE_BSD]: Likewise.
21554         * string/strings.h [__USE_BSD]: Likewise.
21555         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21556         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21557         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21558         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21559         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21560         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21561         Likewise.
21562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21563         Likewise.
21564         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21565         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21566         Likewise.
21567         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21568         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21573         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21574         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21577         Likewise.
21578         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21579         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21580         * termios/termios.h [__USE_BSD]: Likewise.
21581         * time/sys/time.h [__USE_BSD]: Likewise.
21582         * time/time.h [__USE_BSD]: Likewise.
21583         [__USE_SVID]: Likewise.
21585         * Makefile (subdir_targets): Remove subdir_lint.out.
21587         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21588         (do-tst-printf): Likewise.
21589         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21590         $(objpfx)tst-printf.out.
21592         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21594         * Makerules (check-abi-%): Change target to
21595         $(objpfx)check-abi-%.out.
21596         (check-abi target): Update dependencies.
21597         (check-abi-pattern variable): Redirect output of diff to $@.
21598         (check-abi variable): Likewise.
21599         * elf/Makefile (check-abi): Update dependencies.
21601         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21602         unused.
21603         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21604         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21605         subnormal range.
21606         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21607         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21608         value has largest subnormal exponent.
21609         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21610         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21611         * sysdeps/aarch64/soft-fp/sfp-machine.h
21612         (_FP_TININESS_AFTER_ROUNDING): New macro.
21613         * sysdeps/alpha/soft-fp/sfp-machine.h
21614         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21615         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21616         Likewise.
21617         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21618         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21619         * sysdeps/mips/soft-fp/sfp-machine.h
21620         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21621         * sysdeps/powerpc/soft-fp/sfp-machine.h
21622         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21623         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21624         Likewise.
21625         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21626         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21627         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21628         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21629         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21630         Likewise.
21632 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21634         [BZ #16545]
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21636         model 1.
21638 2014-02-12  Richard Henderson  <rth@redhat.com>
21640         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21641         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21642         * sysdeps/unix/sysv/linux/alpha: Move directory from
21643         ports/sysdeps/unix/sysv/linux/alpha.
21644         * README: Update listing for alpha-*-linux-gnu.
21646 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21648         * include/features.h: Update comment documenting feature test
21649         macros.
21650         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21651         _DEFAULT_SOURCE.
21652         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21653         (_SVID_SOURCE): Likewise.
21654         (_DEFAULT_SOURCE): Update description of default features.
21655         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21656         with _GNU_SOURCE.
21657         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21658         (S_ISVTX): Likewise.
21659         * manual/math.texi (Mathematical Constants): Likewise.
21660         * manual/signal.texi (Interrupted Primitives): Likewise.
21661         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21662         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21663         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21664         Don't refer to _SVID_SOURCE in warning text.
21666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21668         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21669         already defined.
21670         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21671         * sysdeps/mips/dl-lookup.c: Remove.
21672         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21674 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21676         [BZ #16447]
21677         * math/auto-libm-test-in: Add testcase for expl.
21678         * math/auto-libm-test-out: Regenerate.
21679         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21680         calculation of unsafe.
21681         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21683 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21685         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21686         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21687         ports/sysdeps/unix/sysv/linux/aarch64.
21688         * README: Update listing for aarch64*-*-linux-gnu.
21690 2014-02-11  Will Newton  <will.newton@linaro.org>
21692         * manual/probes.texi (Mathematical Function Probes): Use
21693         "triggered" instead of "hit".
21695         * manual/probes.texi (Internal Probes): Add documentation
21696         of setjmp, longjmp and longjmp_target probes.
21698         * include/stap-probe.h: Add comment about probe argument
21699         format.
21701         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21702         definition.  (tr_where, tr_freehook, tr_mallochook,
21703         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21705 2014-02-11  David S. Miller  <davem@davemloft.net>
21707         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21708         processing int_tests.
21710 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21712         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21713         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21714         * sysdeps/unix/sysv/linux/mips: Move directory from
21715         ports/sysdeps/unix/sysv/linux/mips.
21716         * README: Update listing for mips-*-linux-gnu and
21717         mips64-*-linux-gnu.
21719 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21721         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21722         * sysdeps/unix/sysv/linux/m68k: Move directory from
21723         ports/sysdeps/unix/sysv/linux/m68k.
21724         * README: Update listing for m68k-*-linux-gnu.
21726 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21728         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21729         * sysdeps/unix/sysv/linux/generic: Move directory from
21730         ports/sysdeps/unix/sysv/linux/generic.
21731         * sysdeps/unix/sysv/linux/tile: Move directory from
21732         ports/sysdeps/unix/sysv/linux/tile.
21733         * README: Update listing for tile*-*-linux-gnu.
21735 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21737         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21738         __builtin_expect.
21739         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21740         * catgets/open_catalog.c (__open_catalog): Likewise.
21741         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21742         * debug/confstr_chk.c: Likewise.
21743         * debug/fread_chk.c (__fread_chk): Likewise.
21744         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21745         * debug/getgroups_chk.c: Likewise.
21746         * debug/mbsnrtowcs_chk.c: Likewise.
21747         * debug/mbsrtowcs_chk.c: Likewise.
21748         * debug/mbstowcs_chk.c: Likewise.
21749         * debug/memcpy_chk.c: Likewise.
21750         * debug/memmove_chk.c: Likewise.
21751         * debug/mempcpy_chk.c: Likewise.
21752         * debug/memset_chk.c: Likewise.
21753         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21754         * debug/strcat_chk.c (__strcat_chk): Likewise.
21755         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21756         * debug/strncat_chk.c (__strncat_chk): Likewise.
21757         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21758         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21759         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21760         * debug/wcpncpy_chk.c: Likewise.
21761         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21762         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21763         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21764         * debug/wcsncpy_chk.c: Likewise.
21765         * debug/wcsnrtombs_chk.c: Likewise.
21766         * debug/wcsrtombs_chk.c: Likewise.
21767         * debug/wcstombs_chk.c: Likewise.
21768         * debug/wmemcpy_chk.c: Likewise.
21769         * debug/wmemmove_chk.c: Likewise.
21770         * debug/wmempcpy_chk.c: Likewise.
21771         * debug/wmemset_chk.c: Likewise.
21772         * dirent/scandirat.c (SCANDIRAT): Likewise.
21773         * dlfcn/dladdr1.c (dladdr1): Likewise.
21774         * dlfcn/dladdr.c (dladdr): Likewise.
21775         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21776         * dlfcn/dlerror.c (__dlerror): Likewise.
21777         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21778         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21779         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21780         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21781         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21782         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21783         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21784         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21785         Likewise.
21786         * elf/dl-conflict.c: Likewise.
21787         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21788         * elf/dl-dst.h: Likewise.
21789         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21790         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21791         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21792         * elf/dl-init.c (call_init, _dl_init): Likewise.
21793         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21794         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21795         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21796         Likewise.
21797         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21798         Likewise.
21799         * elf/dl-minimal.c (__libc_memalign): Likewise.
21800         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21801         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21802         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21803         * elf/dl-sym.c (do_sym): Likewise.
21804         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21805         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21806         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21807         * elf/dl-writev.h (_dl_writev): Likewise.
21808         * elf/ldconfig.c (search_dir): Likewise.
21809         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21810         (dl_main): Likewise.
21811         * elf/setup-vdso.h (setup_vdso): Likewise.
21812         * grp/compat-initgroups.c (compat_call): Likewise.
21813         * grp/fgetgrent.c (fgetgrent): Likewise.
21814         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21815         * grp/putgrent.c (putgrent): Likewise.
21816         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21817         Likewise.
21818         * hurd/hurdinit.c: Likewise.
21819         * iconvdata/8bit-gap.c (struct): Likewise.
21820         * iconvdata/ansi_x3.110.c : Likewise.
21821         * iconvdata/big5.c : Likewise.
21822         * iconvdata/big5hkscs.c : Likewise.
21823         * iconvdata/cp1255.c: Likewise.
21824         * iconvdata/cp1258.c : Likewise.
21825         * iconvdata/cp932.c : Likewise.
21826         * iconvdata/euc-cn.c: Likewise.
21827         * iconvdata/euc-jisx0213.c : Likewise.
21828         * iconvdata/euc-jp.c: Likewise.
21829         * iconvdata/euc-jp-ms.c : Likewise.
21830         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21831         * iconvdata/gb18030.c : Likewise.
21832         * iconvdata/gbbig5.c (const): Likewise.
21833         * iconvdata/gbgbk.c: Likewise.
21834         * iconvdata/gbk.c : Likewise.
21835         * iconvdata/ibm1364.c : Likewise.
21836         * iconvdata/ibm930.c : Likewise.
21837         * iconvdata/ibm932.c: Likewise.
21838         * iconvdata/ibm933.c : Likewise.
21839         * iconvdata/ibm935.c : Likewise.
21840         * iconvdata/ibm937.c : Likewise.
21841         * iconvdata/ibm939.c : Likewise.
21842         * iconvdata/ibm943.c: Likewise.
21843         * iconvdata/iso_11548-1.c: Likewise.
21844         * iconvdata/iso-2022-cn.c : Likewise.
21845         * iconvdata/iso-2022-cn-ext.c : Likewise.
21846         * iconvdata/iso-2022-jp-3.c: Likewise.
21847         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21848         * iconvdata/iso-2022-kr.c : Likewise.
21849         * iconvdata/iso646.c (gconv_end): Likewise.
21850         * iconvdata/iso_6937-2.c : Likewise.
21851         * iconvdata/iso_6937.c : Likewise.
21852         * iconvdata/iso8859-1.c: Likewise.
21853         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21854         * iconvdata/shift_jisx0213.c : Likewise.
21855         * iconvdata/sjis.c : Likewise.
21856         * iconvdata/t.61.c : Likewise.
21857         * iconvdata/tcvn5712-1.c : Likewise.
21858         * iconvdata/tscii.c: Likewise.
21859         * iconvdata/uhc.c : Likewise.
21860         * iconvdata/unicode.c (gconv_end): Likewise.
21861         * iconvdata/utf-16.c (gconv_end): Likewise.
21862         * iconvdata/utf-32.c (gconv_end): Likewise.
21863         * iconvdata/utf-7.c (base64): Likewise.
21864         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21865         * iconv/gconv_close.c (__gconv_close): Likewise.
21866         * iconv/gconv_open.c (__gconv_open): Likewise.
21867         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21868         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21869         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21870         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21871         (ucs4le_internal_loop_single): Likewise.
21872         * iconv/iconv.c (iconv): Likewise.
21873         * iconv/iconv_close.c: Likewise.
21874         * iconv/loop.c (SINGLE): Likewise.
21875         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21876         * include/atomic.h: Likewise.
21877         * inet/inet6_option.c (option_alloc): Likewise.
21878         * intl/bindtextdom.c (set_binding_values): Likewise.
21879         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21880         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21881         * intl/localealias.c (read_alias_file): Likewise.
21882         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21883         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21884         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21885         * libio/fmemopen.c (fmemopen): Likewise.
21886         * libio/iofgets.c (_IO_fgets): Likewise.
21887         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21888         * libio/iofgetws.c (fgetws): Likewise.
21889         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21890         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21891         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21892         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21893         * locale/findlocale.c (_nl_find_locale): Likewise.
21894         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21895         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21896         Likewise.
21897         * locale/setlocale.c (setlocale): Likewise.
21898         * login/programs/pt_chown.c (main): Likewise.
21899         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21900         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21901         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21902         (mmap, mmap64, mremap, munmap): Likewise.
21903         * math/e_exp2l.c: Likewise.
21904         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21905         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21906         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21907         * math/s_catan.c (__catan): Likewise.
21908         * math/s_catanf.c (__catanf): Likewise.
21909         * math/s_catanh.c (__catanh): Likewise.
21910         * math/s_catanhf.c (__catanhf): Likewise.
21911         * math/s_catanhl.c (__catanhl): Likewise.
21912         * math/s_catanl.c (__catanl): Likewise.
21913         * math/s_ccosh.c (__ccosh): Likewise.
21914         * math/s_ccoshf.c (__ccoshf): Likewise.
21915         * math/s_ccoshl.c (__ccoshl): Likewise.
21916         * math/s_cexp.c (__cexp): Likewise.
21917         * math/s_cexpf.c (__cexpf): Likewise.
21918         * math/s_cexpl.c (__cexpl): Likewise.
21919         * math/s_clog10.c (__clog10): Likewise.
21920         * math/s_clog10f.c (__clog10f): Likewise.
21921         * math/s_clog10l.c (__clog10l): Likewise.
21922         * math/s_clog.c (__clog): Likewise.
21923         * math/s_clogf.c (__clogf): Likewise.
21924         * math/s_clogl.c (__clogl): Likewise.
21925         * math/s_csin.c (__csin): Likewise.
21926         * math/s_csinf.c (__csinf): Likewise.
21927         * math/s_csinh.c (__csinh): Likewise.
21928         * math/s_csinhf.c (__csinhf): Likewise.
21929         * math/s_csinhl.c (__csinhl): Likewise.
21930         * math/s_csinl.c (__csinl): Likewise.
21931         * math/s_csqrt.c (__csqrt): Likewise.
21932         * math/s_csqrtf.c (__csqrtf): Likewise.
21933         * math/s_csqrtl.c (__csqrtl): Likewise.
21934         * math/s_ctan.c (__ctan): Likewise.
21935         * math/s_ctanf.c (__ctanf): Likewise.
21936         * math/s_ctanh.c (__ctanh): Likewise.
21937         * math/s_ctanhf.c (__ctanhf): Likewise.
21938         * math/s_ctanhl.c (__ctanhl): Likewise.
21939         * math/s_ctanl.c (__ctanl): Likewise.
21940         * math/w_pow.c: Likewise.
21941         * math/w_powf.c: Likewise.
21942         * math/w_powl.c: Likewise.
21943         * math/w_scalb.c (sysv_scalb): Likewise.
21944         * math/w_scalbf.c (sysv_scalbf): Likewise.
21945         * math/w_scalbl.c (sysv_scalbl): Likewise.
21946         * misc/error.c (error_tail): Likewise.
21947         * misc/pselect.c (__pselect): Likewise.
21948         * nis/nis_callback.c (__nis_create_callback): Likewise.
21949         * nis/nis_call.c (__nisfind_server): Likewise.
21950         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21951         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21952         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21953         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21954         * nis/nis_lookup.c (nis_lookup): Likewise.
21955         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21956         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21957         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21958         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21959         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21960         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21961         * nis/nss_compat/compat-initgroups.c (add_group)
21962         (internal_getgrent_r): Likewise.
21963         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21964         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21965         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21966         (internal_getspnam_r): Likewise.
21967         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21968         (_nss_nis_getaliasbyname_r): Likewise.
21969         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21970         (_nss_nis_getntohost_r): Likewise.
21971         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21972         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21973         (_nss_nis_getgrgid_r): Likewise.
21974         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21975         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21976         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21977         (_nss_nis_gethostbyname4_r): Likewise.
21978         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21979         (initgroups_netid): Likewise.
21980         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21981         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21982         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21983         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21984         (_nss_nis_getprotobynumber_r): Likewise.
21985         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21986         (_nss_nis_getsecretkey): Likewise.
21987         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21988         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21989         (_nss_nis_getpwuid_r): Likewise.
21990         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21991         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21992         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21993         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21994         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21995         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21996         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21997         Likewise.
21998         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21999         (_nss_nisplus_getntohost_r): Likewise.
22000         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22001         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22002         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22003         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22004         Likewise.
22005         * nis/nss_nisplus/nisplus-initgroups.c
22006         (_nss_nisplus_initgroups_dyn): Likewise.
22007         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22008         (_nss_nisplus_getnetbyaddr_r): Likewise.
22009         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22010         (_nss_nisplus_getprotobynumber_r): Likewise.
22011         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22012         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22013         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22014         Likewise.
22015         * nis/nss_nisplus/nisplus-service.c
22016         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22017         (_nss_nisplus_getservbyport_r): Likewise.
22018         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22019         (_nss_nisplus_getspnam_r): Likewise.
22020         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22021         Likewise.
22022         * nscd/aicache.c (addhstaiX): Likewise.
22023         * nscd/cache.c (cache_search, prune_cache): Likewise.
22024         * nscd/connections.c (register_traced_file, send_ro_fd)
22025         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22026         (main_loop_epoll): Likewise.
22027         * nscd/grpcache.c (addgrbyX): Likewise.
22028         * nscd/hstcache.c (addhstbyX): Likewise.
22029         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22030         * nscd/mem.c (gc, mempool_alloc): Likewise.
22031         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22032         (addinnetgrX): Likewise.
22033         * nscd/nscd-client.h (__nscd_acquire_maplock)
22034         (__nscd_drop_map_ref): Likewise.
22035         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22036         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22037         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22038         Likewise.
22039         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22040         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22041         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22042         (__nscd_get_map_ref): Likewise.
22043         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22044         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22045         Likewise.
22046         * nscd/pwdcache.c (addpwbyX): Likewise.
22047         * nscd/selinux.c (preserve_capabilities): Likewise.
22048         * nscd/servicescache.c (addservbyX): Likewise.
22049         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22050         * posix/fnmatch.c (fnmatch): Likewise.
22051         * posix/getopt.c (_getopt_internal_r): Likewise.
22052         * posix/glob.c (glob, glob_in_dir): Likewise.
22053         * posix/wordexp.c (exec_comm_child): Likewise.
22054         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22055         (getanswer_r, gaih_getanswer_slice): Likewise.
22056         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22057         * resolv/res_init.c: Likewise.
22058         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22059         * resolv/res_query.c (__libc_res_nquery): Likewise.
22060         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22061         Likewise.
22062         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22063         * stdio-common/perror.c (perror): Likewise.
22064         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22065         * stdio-common/tmpnam.c (tmpnam): Likewise.
22066         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22067         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22068         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22069         Likewise.
22070         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22071         * stdlib/putenv.c (putenv): Likewise.
22072         * stdlib/setenv.c (__add_to_environ): Likewise.
22073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22074         * stdlib/strtol_l.c (INTERNAL): Likewise.
22075         * string/memmem.c (memmem): Likewise.
22076         * string/strerror.c (strerror): Likewise.
22077         * string/strnlen.c (__strnlen): Likewise.
22078         * string/test-memmem.c (simple_memmem): Likewise.
22079         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22080         * sunrpc/pm_getport.c (__get_socket): Likewise.
22081         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22082         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22083         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22084         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22085         Likewise.
22086         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22087         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22088         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22089         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22090         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22091         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22092         Likewise.
22093         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22094         Likewise.
22095         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22096         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22097         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22098         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22099         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22101         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22102         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22103         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22104         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22105         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22106         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22107         Likewise.
22108         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22109         Likewise.
22110         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22111         Likewise.
22112         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22116         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22117         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22118         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22119         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22120         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22121         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22122         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22123         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22124         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22125         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22126         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22127         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22128         Likewise.
22129         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22130         Likewise.
22131         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22132         Likewise.
22133         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22134         Likewise.
22135         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22137         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22138         Likewise.
22139         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22140         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22141         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22142         * sysdeps/posix/sleep.c: Likewise.
22143         * sysdeps/posix/tempname.c: Likewise.
22144         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22145         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22146         Likewise.
22147         * sysdeps/powerpc/powerpc32/dl-machine.h
22148         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22149         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22151         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22152         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22153         Likewise.
22154         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22155         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22156         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22157         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22158         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22159         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22160         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22161         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22162         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22163         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22164         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22165         (elf_machine_lazy_rel): Likewise.
22166         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22167         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22168         (elf_machine_lazy_rel): Likewise.
22169         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22170         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22171         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22172         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22173         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22174         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22175         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22176         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22177         Likewise.
22178         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22179         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22180         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22181         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22182         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22183         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22184         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22185         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22186         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22187         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22188         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22189         Likewise.
22190         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22191         (__posix_fallocate64_l64): Likewise.
22192         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22193         (posix_fallocate): Likewise.
22194         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22195         Likewise.
22196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22197         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22198         (getifaddrs_internal): Likewise.
22199         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22200         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22201         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22202         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22203         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22204         (__posix_fallocate64_l64): Likewise.
22205         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22206         Likewise.
22207         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22208         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22209         (__get_clockfreq): Likewise.
22210         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22211         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22212         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22215         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22216         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22217         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22218         Likewise.
22219         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22220         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22221         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22222         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22223         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22224         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22225         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22226         Likewise.
22227         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22228         (posix_fallocate): Likewise.
22229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22230         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22231         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22232         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22233         (elf_machine_rela, elf_machine_rela_relative)
22234         (elf_machine_lazy_rel): Likewise.
22235         * time/asctime.c (asctime_internal): Likewise.
22236         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22237         * time/tzset.c (__tzset_parse_tz): Likewise.
22238         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22239         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22240         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22241         * wcsmbs/wcsmbsload.h: Likewise.
22243         [BZ #15894]
22244         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22246         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22247         (arena_get2): Remove THREAD_STATS conditionals.
22248         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22249         (__malloc_stats, int): Likewise.
22251 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22253         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22254         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22256         * manual/setjmp.texi: Fix typos/grammar errors.
22258         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22259         Only return early when n is <= 0.  Delete unused return statement.
22261         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22262         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22263         * debug/tst-longjmp_chk3.c: New file.
22265         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22266         (test_main): Replace code with set_fortify_handler call.
22267         * debug/test-strcpy_chk.c: Likewise.
22268         * debug/tst-chk1.c: Likewise.
22269         * debug/tst-longjmp_chk.c: Likewise.
22270         * test-skeleton.c: Include fcntl.h & paths.h
22271         (set_fortify_handler): Define.
22273         * debug/tst-longjmp_chk.c: Add header comment and include
22274         ../test-skeleton.c.
22275         (do_test): Mark static.
22276         (TEST_FUNCTION): Define.
22278         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22279         (IP_PMTUDISC_INTERFACE): Likewise.
22280         (IP_MULTICAST_IF): Likewise.
22281         (IP_MULTICAST_TTL): Likewise.
22282         (IP_MULTICAST_LOOP): Likewise.
22283         (IP_ADD_MEMBERSHIP): Likewise.
22284         (IP_DROP_MEMBERSHIP): Likewise.
22285         (IP_UNBLOCK_SOURCE): Likewise.
22286         (IP_BLOCK_SOURCE): Likewise.
22287         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22288         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22289         (IP_MSFILTER): Likewise.
22290         (MCAST_JOIN_GROUP): Likewise.
22291         (MCAST_BLOCK_SOURCE): Likewise.
22292         (MCAST_UNBLOCK_SOURCE): Likewise.
22293         (MCAST_LEAVE_GROUP): Likewise.
22294         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22295         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22296         (MCAST_MSFILTER): Likewise.
22297         (IP_MULTICAST_ALL): Likewise.
22298         (IP_UNICAST_IF): Likewise.
22300         * timezone/Makefile: Delete $(have-ksh) check.
22301         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22302         * timezone/tzselect.ksh: Add +x mode bits.
22304         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22305         (ANON_INODE_FS_MAGIC): Likewise.
22306         (BDEVFS_MAGIC): Likewise.
22307         (BINFMTFS_MAGIC): Likewise.
22308         (BTRFS_TEST_MAGIC): Likewise.
22309         (CRAMFS_MAGIC_WEND): Likewise.
22310         (DEBUGFS_MAGIC): Likewise.
22311         (ECRYPTFS_SUPER_MAGIC): Likewise.
22312         (EXT3_SUPER_MAGIC): Likewise.
22313         (EXT4_SUPER_MAGIC): Likewise.
22314         (FUTEXFS_SUPER_MAGIC): Likewise.
22315         (HOSTFS_SUPER_MAGIC): Likewise.
22316         (HUGETLBFS_MAGIC): Likewise.
22317         (MINIX3_SUPER_MAGIC): Likewise.
22318         (MTD_INODE_FS_MAGIC): Likewise.
22319         (NILFS_SUPER_MAGIC): Likewise.
22320         (OPENPROM_SUPER_MAGIC): Likewise.
22321         (PIPEFS_MAGIC): Likewise.
22322         (PSTOREFS_MAGIC): Likewise.
22323         (QNX6_SUPER_MAGIC): Likewise.
22324         (RAMFS_MAGIC): Likewise.
22325         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22326         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22327         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22328         (SECURITYFS_MAGIC): Likewise.
22329         (SELINUX_MAGIC): Likewise.
22330         (SMACK_MAGIC): Likewise.
22331         (SOCKFS_MAGIC): Likewise.
22332         (SQUASHFS_MAGIC): Likewise.
22333         (STACK_END_MAGIC): Likewise.
22334         (TMPFS_MAGIC): Likewise.
22335         (USBDEVICE_SUPER_MAGIC): Likewise.
22336         (V9FS_MAGIC): Likewise.
22337         (XENFS_SUPER_MAGIC): Likewise.
22338         (CRAMFS_MAGIC): Fix typo in comment.
22339         (EXT2_SUPER_MAGIC): Update comment.
22340         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22342 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22344         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22345         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22346         * sysdeps/unix/sysv/linux/arm: Move directory from
22347         ports/sysdeps/unix/sysv/linux/arm.
22348         * README: Update listing for arm-*-linux-gnueabi.
22350         * README: Remove mention of am33.
22352 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22354         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22355         than the comma operator, to avoid "rhs of comma has no effect"
22356         compiler warnings.
22357         (__sigfillset, __sigandset, __sigorset): Likewise.
22358         * include/signal.h (__sigemptyset): Likewise.
22359         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22361 2014-02-07  Allan McRae  <allan@archlinux.org>
22363         * version.h (RELEASE): Set to "development".
22364         (VERSION): Set to "2.19.90"
22365         * NEWS: Add 2.20 section.
22367 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22369         [BZ #16529]
22370         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22372 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22374         * manual/contrib.texi: Update entry for Carlos O'Donell,
22375         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22377 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22379         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22381         * sysdeps/unix/sysv/linux/kernel-features.h
22382         [__LINUX_KERNEL_VERSION >= 0x020621]
22383         (__ASSUME_PROC_PID_TASK_COMM): Define.
22385 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22387         [BZ #16398]
22388         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22389         conversion when destination buffer does not have enough space.
22390         * libio/tst-ftell-partial-wide.c: New test case.
22391         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22393         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22394         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22395         Leonard and Allan McRae.
22397 2014-02-04  David S. Miller  <davem@davemloft.net>
22399         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22400         32-bit.
22402 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22405         New file
22406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22407         New file
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22409         New file.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22411         New file.
22412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22413         New file.
22414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22415         New file.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22417         New file.
22418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22419         New file.
22420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22421         New file.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22423         New file.
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22425         New file.
22426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22427         New file.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22429         New file.
22431 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22433         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22434         * shlib-versions: Likewise.
22436 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22439         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22440         (abilist-pattern): New variable, set to %-le.abilist.
22442         * Makerules (abilist-pattern): New variable.
22443         (vpath): Use $(abilist-pattern) in place of %.abilist.
22444         (check-abi-% pattern rule): Likewise.
22445         (check-abi, update-abi): Likewise.
22447 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22451 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22453         * manual/startup.texi: Add next, previous, and top entries for
22454         the `Program Arguments' and `Environment Variables' nodes.
22456 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22458         * manual/macros.texi: Add comments before MTASC-safety macros.
22460         * manual/users.texi: Document MTASC-safety properties.
22462         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22463         (pthread_getspecific, pthread_setspecific): Format with
22464         @deftypefun, and add @safety note.
22465         * manual/signal.texi: Move comments that analyze the above
22466         functions to their home place.
22468 2014-02-03  Allan McRae  <allan@archlinux.org>
22470         * po/sl.po: Update Slovenian translation from translation project.
22472 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22474         * manual/time.texi (timegm): Add missing blank after @c.
22475         Reported by Joseph Myers <joseph@codesourcery.com>.
22477 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22479         * manual/check-safety.sh: New.
22480         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22482         * manual/terminal.texi: Document MTASC-safety properties.
22484         * manual/filesys.texi: Document MTASC-safety properties.
22486         * manual/errno.texi: Document MTASC-safety properties.
22488         * manual/intro.texi: Document safety identifiers and
22489         conditionals.
22491         * manual/string.texi (wcstok): Fix prototype.
22492         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22494         * manual/time.texi: Document MTASC-safety properties.
22496         * manual/string.texi: Document MTASC-safety properties.
22498         * manual/threads.texi: Document MTASC-safety properties.
22500         * manual/stdio.texi: Document MTASC-safety properties.
22502         * manual/syslog.texi: Document MTASC-safety properties.
22504         * manual/sysinfo.texi: Document MTASC-safety properties.
22506         * manual/startup.texi: Document MTASC-safety properties.
22508         * manual/socket.texi: Document MTASC-safety properties.
22510         * manual/signal.texi: Document MTASC-safety properties.
22512 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22514         * manual/setjmp.texi: Document MTASC-safety properties.
22516         * manual/search.texi: Document MTASC-safety properties.
22518         * manual/resource.texi: Document MTASC-safety properties.
22520         * manual/process.texi: Document MTASC-safety properties.
22522         * manual/platform.texi: Document MTASC-safety properties.
22524         * manual/pipe.texi: Document MTASC-safety properties.
22526         * manual/pattern.texi: Document MTASC-safety properties.
22528         * manual/message.texi: Document MTASC-safety properties.
22530         [BZ #12751]
22531         * manual/memory.texi: Document MTASC-safety properties.
22533         * manual/math.texi: Document MTASC-safety properties.
22535         * manual/locale.texi: Document MTASC-safety properties.
22537         * manual/llio.texi: Document MTASC-safety properties.
22539         * manual/libdl.texi: New.
22541         * manual/lang.texi: Document MTASC-safety properties.
22543         * manual/job.texi: Document MTASC-safety properties.
22545         * manual/getopt.texi: Document MTASC-safety properties.
22547         * manual/ctype.texi: Document MTASC-safety properties.
22549 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22551         [BZ #16046]
22552         * csu/libc-tls.c (static_map): Remove variable.
22553         (__libc_setup_tls): Use main executable's link map for TLS data.
22554         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22555         casing for LM_ID_BASE and GL(dl_nns).
22556         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22557         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22558         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22559         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22560         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22561         member.
22562         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22563         l_phnum members.
22565 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22567         * manual/debug.texi: Document MTASC-safety properties.
22569 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22571         [BZ #16510]
22572         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22573         of __x86_64__ when disabling x87 inline functions.
22575 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22577         * manual/charset.texi: Document MTASC-safety properties.
22579         * manual/crypt.texi: Document MTASC-safety properties.
22581         * manual/conf.texi: Document MTASC-safety properties.
22583         * manual/arith.texi: Document MTASC-safety properties.
22585         * manual/argp.texi: Document MTASC-safety properties.
22587         * manual/macros.texi: Introduce macros to document multi
22588         thread, asynchronous signal and asynchronous cancellation
22589         safety properties.
22590         * manual/intro.texi: Introduce the properties themselves.
22592 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22594         * sysdeps/sh/sh4/Makefile: New file.
22596 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22598         * math/gen-libm-test.pl ($srcdir): New variable.
22599         ($auto_input): Use it.
22601 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22603         [BZ #16506]
22604         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22605         access beyond array bounds when parsing netgroups file.
22607         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22608         the old buffer before realloc.
22610 2014-01-27  Allan McRae  <allan@archlinux.org>
22612         * po/fr.po: Update French translation from translation project.
22614 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22616         * sysdeps/sh/libm-test-ulps: Regenerate.
22618 2014-01-24  David S. Miller  <davem@davemloft.net>
22620         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22622 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22624         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22625         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22627 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22629         [BZ #16474]
22630         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22631         string pointers after reallocation.
22633 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22635         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22636         __SH4A__ instead of __SH_FPU_ANY__.
22638 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22640         * sysdeps/sh/fpu_control.h: New file.
22641         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22643         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22644         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22645         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22646         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22647         * sysdeps/sh/sys/ucontext.h: Remove.
22648         * sysdeps/sh/sys: Remove directory.
22650 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22652         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22653         s390/sys/ucontext.h.
22654         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22655         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22657 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22659         [BZ #15605]
22660         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22662 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22664         [BZ#16431]
22665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22666         Adjust the vDSO correctly for internal calls.
22667         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22669 2014-01-20  Allan McRae  <allan@archlinux.org>
22671         * po/ca.po: Update Catalan translation from translation project.
22673 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22675         * sysdeps/s390/sotruss-lib.c: New file.
22677 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22679         [BZ#16430]
22680         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22681         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22682         local calls issues by not having a PLT stub required for IFUNC calls.
22683         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22685 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22687         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22688         * math/test-fpucw-static.c: Likewise.
22690 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22692         [BZ #16453]
22693         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22695 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22697         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22698         implementation for powerpc.
22700 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22702         [BZ #14782]
22703         * sysdeps/posix/system.c (__libc_system): Do not enable
22704         asynchronous cancellation.
22706 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22708         [BZ #16427]
22709         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22710         handling only for numbers special also in the IEEE case.
22712 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22714         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22716 2014-01-11  Allan McRae  <allan@archlinux.org>
22718         * po/bg.po: Update Bulgarian translation from translation project.
22720         * po/de.po: Update German translation from translation project.
22722 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22724         * sysdeps/generic/gcc-compat.h: New file.
22726 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22728         * benchtests/asin-inputs: Correct slow inputs.
22729         * benchtests/acos-inputs: Likewise.
22731 2014-01-10  Allan McRae  <allan@archlinux.org>
22733         * po:sv.po: Update Swedish translation from translation project.
22735         * po/vi.po: Update Vietnamese translation from translation project.
22737         * po/eo.po: Update Esperanto translation from translation project.
22739         * po/cs.po: Update Czech translation from translation project.
22741         * po/nl.po: Update Dutch translation from translation project.
22743         * po/pl.po: Update Polish translation from translation project.
22745         * po/ru.po: Update Russian translation from translation project.
22747         * po/uk.po: Update Ukrainian translation from translation project.
22749 2014-01-08  Brooks Moses  <bmoses@google.com>
22751         * elf/dl-load.c: Fix comment typo.
22753 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22755         * po/header.pot: Rename to...
22756         * po/pot.header: ... this.
22757         * po/Makefile: Use pot.header.
22759 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22760             Maxim Kuvyrkov  <maxim@kugelworks.com>
22762         [BZ #16394]
22763         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22764         SRC and DEST against LEN.
22766 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22768         [BZ #16414]
22769         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22770         implementation.
22771         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22777 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22779         [BZ #16408]
22780         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22781         for large positive arguments.
22783 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22785         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22787         * math/auto-libm-test-in: Mark various tests with
22788         xfail-rounding:ldbl-128ibm.
22789         * math/auto-libm-test-out: Regenerated.
22791         [BZ #16407]
22792         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22793         Increase overflow threshold.
22795 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22797         [BZ #14286]
22798         * stdio-common/vfprintf.c: Check for integer overflow.
22800 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22802         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22803         the first argument and return value of __tls_get_addr_internal.
22805 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22807         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22808         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22810 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22812         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22813         * sysdeps/s390/rtld-global-offsets.sym: New file.
22814         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22815         GLIBC_2.19 symbol.
22816         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22817         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22818         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22819         ... this.
22820         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22821         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22822         ... this.
22823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22824         Regenerate.
22825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22826         Regenerate.
22827         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22828         halfs of GPRs for high_gprs contexts.
22829         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22830         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22831         field.
22832         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22833         uc_flags field.
22834         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22835         64 bit versions:
22836         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22837         for high GPRs (uc_high_gprs) and for future extensions
22838         (__reserved).
22839         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22840         for future extensions (__reserved).
22841         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22842         64 bit versions:
22843         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22844         SC_HIGHGPRS offset definition.
22845         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22846         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22848         * Versions.def: Add GLIBC_2.19 for libpthread.
22849         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22850         siglongjmp for libpthread with GLIBC_2.19 symver.
22851         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22852         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22853         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22854         * sysdeps/s390/__longjmp.c: New file.
22855         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22856         * sysdeps/s390/longjmp.c: New file.
22857         * sysdeps/s390/setjmp.S: New file.
22858         * sysdeps/s390/sigjmp.S: New file.
22859         * sysdeps/s390/v1-longjmp.c: New file.
22860         * sysdeps/s390/v1-setjmp.h: New file.
22861         * sysdeps/s390/v1-sigjmp.c: New file.
22862         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22863         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22864         GLIBC_2.19 version.
22865         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22866         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22867         versioned symbols for ____longjmp_chk.
22868         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22869         Likewise.
22870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22871         Regenerate.
22872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22873         Regenerate.
22874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22875         Regenerate.
22876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22877         Regenerate.
22878         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22879         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22880         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22881         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22882         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22883         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22884         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22885         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22886         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22887         * sysdeps/s390/rtld-__longjmp.c: New file.
22888         * sysdeps/s390/rtld-setjmp.S: New file.
22890 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22892         [BZ #16400]
22893         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22894         Return -__logl (x) for small positive arguments without evaluating
22895         a polynomial.
22897 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22899         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22900         Rename to ...
22901         (__ptrace_peeksiginfo_args): ... this.
22902         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22903         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22904         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22906 2014-01-06  Allan McRae  <allan@archlinux.org>
22908         * inet/netinet/in.h: Fix typo in comment.
22910 2014-01-05  Andreas Jaeger  <aj@suse.de>
22912         * sysdeps/i386/fpu/libm-test-ulps: Update.
22914 2014-01-05  Allan McRae  <allan@archlinux.org>
22916         * po/libc.pot: Regenerated.
22918         * malloc/memusagestat.c: Fix gettext call formatting.
22920 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22922         * nscd/nscd.c: Improve usage() output.
22924 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22926         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22927         * sysdeps/unix/sysv/linux/configure: Regenerated.
22928         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22929         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22931 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22933         [BZ #16390]
22934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22935         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22937 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22939         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22940         extra tokens at end of #undef directive.
22941         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22942         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22943         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22945 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22947         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22949         * math/auto-libm-test-in: Mark various tests with
22950         xfail-rounding:ldbl-128ibm.
22951         * math/auto-libm-test-out: Regenerated.
22953 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22955         [BZ #16386]
22956         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22957         numbers with subnormal high part when calculating exponent.
22959         [BZ #16385]
22960         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22961         fabs.
22963         [BZ #16384]
22964         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22965         M_LN2l.
22966         (__ieee754_acoshl): Use __log1pl not __log1p.
22968 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22970         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22971         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22972         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22973         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22974         (reused_arena, arena_get2): Convert to GNU style.
22975         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22976         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22977         (memalign_check, __malloc_set_state): Likewise.
22978         * malloc/mallocbug.c (main): Likewise.
22979         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22980         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22981         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22982         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22983         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22984         (__posix_memalign, malloc_info): Likewise.
22985         * malloc/malloc.h: Likewise.
22986         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22987         (mallochook, memalignhook, reallochook, mabort): Likewise.
22988         * malloc/mcheck.h: Likewise.
22989         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22990         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22991         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22992         * malloc/morecore.c (__default_morecore): Likewise.
22993         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22994         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22995         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22996         (print_and_abort): Likewise.
22997         * malloc/obstack.h: Likewise.
22998         * malloc/set-freeres.c (__libc_freeres): Likewise.
22999         * malloc/tst-mallocstate.c (main): Likewise.
23000         * malloc/tst-mtrace.c (main): Likewise.
23001         * malloc/tst-realloc.c (do_test): Likewise.
23003 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23005         [BZ #16366]
23006         * nscd/netgroupcache.c (do_notfound): New function.
23007         (addgetnetgrentX): Use it.
23009         [BZ # 16365]
23010         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23011         NSS_STATUS_NOTFOUND.
23013 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23015         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018 2014-01-01  Allan McRae  <allan@archlinux.org>
23020         * scripts/update-copyrights: Update configure input file suffix.
23022         * NEWS: Update copyright year.
23023         * catgets/gencat.c: Likewise.
23024         * csu/version.c: Likewise.
23025         * debug/catchsegv.sh: Likewise.
23026         * debug/pcprofiledump.c: Likewise.
23027         * debug/xtrace.sh: Likewise.
23028         * elf/ldconfig.c: Likewise.
23029         * elf/ldd.bash.in: Likewise.
23030         * elf/pldd.c: Likewise.
23031         * elf/sotruss.ksh: Likewise.
23032         * elf/sprof.c: Likewise.
23033         * iconv/iconv_prog.c: Likewise.
23034         * iconv/iconvconfig.c: Likewise.
23035         * locale/programs/locale.c: Likewise.
23036         * locale/programs/localedef.c: Likewise.
23037         * login/programs/pt_chown.c: Likewise.
23038         * malloc/memusage.sh: Likewise.
23039         * malloc/memusagestat.c: Likewise.
23040         * malloc/mtrace.pl: Likewise.
23041         * manual/libc.texinfo: Likewise.
23042         * nscd/nscd.c: Likewise.
23043         * nss/getent.c: Likewise.
23044         * nss/makedb.c: Likewise.
23045         * posix/getconf.c: Likewise.
23046         * scripts/test-installation.pl: Likewise.
23048         * All files with FSF copyright notices: Update copyright dates
23049         using scripts/update-copyrights.
23050         * intl/plural.c: Regenerated.
23051         * locale/programs/charmap-kw.h: Likewise.
23052         * locale/programs/locfile-kw.h: Likewise.
23054 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23056         * sysdeps/unix/sysv/linux/configure: Regenerated.
23057         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23058         the linux/fanotify.h header.
23059         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23060         HAVE_LINUX_FANOTIFY_H is defined.
23062 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23064         * benchtests/cos-inputs: New inputs.
23065         * benchtests/sin-inputs: Likewise.
23067         * benchtests/atan-inputs: New inputs. Fix name of multiple
23068         precision fallback inputs.
23070         * benchtests/atanh-inputs: New inputs.
23071         * benchtests/tanh-inputs: Likewise.
23073         * benchtests/acosh-inputs: New inputs.
23074         * benchtests/asinh-inputs: Likewise.
23076         * benchtests/cosh-inputs: New inputs.
23077         * benchtests/sinh-inputs: Likewise.
23079         * benchtests/acos-inputs: Add more inputs.
23080         * benchtests/asin-inputs: Likewise.
23082 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23084         [BZ #16375]
23085         * manual/arith.texi: Fix spelling.
23086         * manual/charset.texi: Likewise.
23087         * manual/errno.texi: Likewise.
23088         * manual/filesys.texi: Likewise.
23089         * manual/lang.texi: Likewise.
23090         * manual/llio.texi: Likewise.
23091         * manual/locale.texi: Likewise.
23092         * manual/message.texi: Likewise.
23093         * manual/resource.texi: Likewise.
23094         * manual/search.texi: Likewise.
23095         * manual/setjmp.texi: Likewise.
23096         * manual/stdio.texi: Likewise.
23097         * manual/string.texi: Likewise.
23098         * manual/sysinfo.texi: Likewise.
23099         * manual/time.texi: Likewise.
23101 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23103         * po/sl.po: New file.
23105 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23107         * .gitignore: Add core/.gdbinit/.gdb_history.
23109 2013-12-27  Allan McRae  <allan@archlinux.org>
23111         [BZ #16369]
23112         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23113         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23115 2013-12-24  Brooks Moses  <bmoses@google.com>
23117         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23118         all compilers that claim C++98 compliance, not just GCC.
23119         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23120         Likewise.
23122 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23124         * NEWS: Restore accidentally deleted bug-fix entries.
23126 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23127             Ondřej Bílka  <neleai@seznam.cz>
23129         [BZ #15073]
23130         * malloc/malloc.c (_int_free): Perform sanity check only if we
23131         have_lock.
23133 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23135         [BZ #12986]
23136         * manual/stdio.texi (String Input Conversions): Clarify that character
23137         classes are not supported.
23139 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23143 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23145         [BZ #16337]
23146         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23147         Calculate results for small negative arguments directly rather
23148         than using reflection formula with special underflow handling.
23150         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23151         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23152         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23153         (fchflags): Likewise.
23154         (revoke): Likewise.
23155         (setlogin): Likewise.
23156         (sigaltstack): Likewise.
23157         (wait4): Likewise.
23158         (sigblock): Remove.
23159         (sigsetmask): Likewise.
23160         (wait3): Likewise.
23161         (waitpid): Likewise.
23162         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23163         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23164         file.
23165         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23166         * sysdeps/unix/bsd/Makefile: ... here.
23167         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23168         * sysdeps/unix/bsd/Versions: ... here.
23169         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23170         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23171         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23172         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23173         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23174         * sysdeps/unix/bsd/sigblock.c: ... here.
23175         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23176         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23177         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23178         * sysdeps/unix/bsd/sigvec.c: ... here.
23179         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23180         * sysdeps/unix/bsd/tcdrain.c: ... here.
23181         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23182         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23183         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23184         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23185         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23186         * sysdeps/unix/bsd/wait.c: ... here.
23187         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23188         * sysdeps/unix/bsd/wait3.c: ... here.
23189         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23190         * sysdeps/unix/bsd/waitpid.c: ... here.
23192 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23194         [BZ #16356]
23195         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23196         round-to-nearest for [!USE_AS_EXPM1L].
23197         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23198         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23199         more tests of exp and exp10.  Expect some exp10 tests to miss
23200         exceptions or fail in directed rounding modes.
23201         * math/auto-libm-test-out: Regenerated.
23202         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23203         (exp10_test_tonearest): New function.
23204         (exp10_towardzero_test_data): New array.
23205         (exp10_test_towardzero): New function.
23206         (exp10_downward_test_data): New array.
23207         (exp10_test_downward): New function.
23208         (exp10_upward_test_data): New array.
23209         (exp10_test_upward): New function.
23210         (main): Call the new functions.
23211         * sysdeps/i386/fpu/libm-test-ulps: Update.
23212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23214 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23216         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23217         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23218         * math/auto-libm-test-out: Regenerated.
23219         * math/libm-test.inc (acosh_test_data): Add more tests.
23220         (atanh_test_data): Likewise.
23221         (ceil_test_data): Likewise.
23222         (copysign_test_data): Likewise.
23223         * sysdeps/i386/fpu/libm-test-ulps: Update.
23224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23226         * timezone/checktab.awk: Update from tzcode 2013i.
23227         * timezone/private.h: Likewise.
23228         * timezone/scheck.c: Likewise.
23229         * timezone/tzfile.h: Likewise.
23230         * timezone/tzselect.ksh: Likewise.
23231         * timezone/zdump.c: Likewise.
23232         * timezone/zic.c: Likewise.
23234         * math/auto-libm-test-in: Add tests of cpow.
23235         * math/auto-libm-test-out: Regenerated.
23236         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23238         mpc_cc_c.
23239         (func_calc_desc): Add mpc_cc_c union field.
23240         (test_functions): Add cpow.
23241         (special_fill_2pi): New function.
23242         (special_real_inputs): Add 2pi.
23243         (calc_generic_results): Handle mpc_cc_c.
23244         * sysdeps/i386/fpu/libm-test-ulps: Update.
23245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23247         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23248         csqrt, ctan and ctanh.
23249         * math/auto-libm-test-out: Regenerated.
23250         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23251         (TEST_COND_x86): Likewise.
23252         (ccos_test_data): Use AUTO_TESTS_c_c.
23253         (ccosh_test_data): Likewise.
23254         (cexp_test_data): Likewise.
23255         (clog_test_data): Likewise.
23256         (csqrt_test_data): Likewise.
23257         (ctan_test_data): Likewise.
23258         (ctan_tonearest_test_data): Likewise.
23259         (ctan_towardzero_test_data): Likewise.
23260         (ctan_downward_test_data): Likewise.
23261         (ctan_upward_test_data): Likewise.
23262         (ctanh_test_data): Likewise.
23263         (ctanh_tonearest_test_data): Likewise.
23264         (ctanh_towardzero_test_data): Likewise.
23265         (ctanh_downward_test_data): Likewise.
23266         (ctanh_upward_test_data): Likewise.
23267         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23268         mpc_c_c.
23269         (func_calc_desc): Add mpc_c_c union field.
23270         (FUNC_mpc_c_c): New macro.
23271         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23272         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23273         ctanh.
23274         (special_fill_min_subnorm_p120): New function.
23275         (special_real_inputs): Add min_subnorm_p120.
23276         (calc_generic_results): Handle mpc_c_c.
23277         * sysdeps/i386/fpu/libm-test-ulps: Update.
23278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23282         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23283         (do_sin_slow): New functions.
23284         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23285         (cslow2, csloww1, csloww2): Use the new functions.
23287         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23288         Use M to change sign of result instead of X.  Assume X is
23289         positive.
23290         (csloww1): Likewise.
23291         (__sin): Adjust.
23292         (__cos): Adjust.
23294         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23295         arguments A and DA.
23296         (__sin): Adjust.
23297         (__cos): Likewise.
23299         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23300         (__cos): Likewise.
23301         (sloww1): Don't adjust sign of DX.
23302         (csloww1): Likewise.
23303         (sloww2): Use X directly and don't adjust sign of DX.
23304         (csloww2): Likewise.
23306 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23308         * math/auto-libm-test-in: Add tests of cabs and carg.
23309         * math/auto-libm-test-out: Regenerated.
23310         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23311         (carg_test_data): Likewise.
23312         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23313         mpc_c_f.
23314         (func_calc_desc): Add mpc_c_f union field.
23315         (test_functions): Add cabs and carg.
23316         (calc_generic_results): Handle mpc_c_f.
23318         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23319         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23320         as a macro and a compat symbol.
23321         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23322         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23323         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23324         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23325         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23326         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23327         not use .hidden.
23328         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23329         Likewise.
23330         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23331         Likewise.
23332         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23333         Likewise.
23334         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23335         Likewise.
23336         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23337         Likewise.
23338         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23339         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23340         from GLIBC_2.3.2.
23342 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23346 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23348         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23349         trailing whitespace removed.
23350         * scripts/config.guess: Update to version 2013-11-29.
23351         * scripts/config.sub: Update to version 2013-10-01.
23353         * math/auto-libm-test-in: Add tests of sincos.
23354         * math/auto-libm-test-out: Regenerated.
23355         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23357         mpfr_f_11.
23358         (func_calc_desc): Add mpfr_f_11 union field.
23359         (test_functions): Add sincos.
23360         (calc_generic_results): Handle mpfr_f_11.
23361         * sysdeps/i386/fpu/libm-test-ulps: Update.
23362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23364 2013-12-19  Andreas Schwab  <schwab@suse.de>
23366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23367         CALL_MCOUNT.
23368         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23370         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23372 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23374         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23375         * sysdeps/i386/fpu/libm-test-ulps: Update.
23376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378         [BZ #16293]
23379         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23380         round-to-nearest mode when using frndint.
23381         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23382         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23383         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23384         Likewise.
23385         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23386         sinh test to fail.
23387         * math/auto-libm-test-out: Regenerated.
23388         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23389         (TEST_COND_x86): Likewise.
23390         (expm1_tonearest_test_data): New array.
23391         (expm1_test_tonearest): New function.
23392         (expm1_towardzero_test_data): New array.
23393         (expm1_test_towardzero): New function.
23394         (expm1_downward_test_data): New array.
23395         (expm1_test_downward): New function.
23396         (expm1_upward_test_data): New array.
23397         (expm1_test_upward): New function.
23398         (main): Run the new test functions.
23399         * sysdeps/i386/fpu/libm-test-ulps: Update.
23400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23402         * include/features.h: Update comment documenting feature test
23403         macros.  Mention _DEFAULT_SOURCE in comment.
23404         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23405         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23406         _BSD_SOURCE and _SVID_SOURCE.
23407         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23408         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23409         !_SVID_SOURCE]: Likewise.
23410         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23411         (__USE_POSIX_IMPLICITLY): Define.
23412         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23413         (_POSIX_SOURCE): Undefine and redefine.
23414         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23415         (_POSIX_C_SOURCE): Likewise.
23416         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23417         (Feature Test Macros): Update documentation of default features.
23419 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23421         * benchtests/Makefile: Add bench-strtok.
23422         * benchtests/bench-strtok.c: New file: strtok benchtest.
23424 2013-12-19  Allan McRae  <allan@archlinux.org>
23426         * manual/install.texi: Suppress menu for plain text output.
23427         * INSTALL: Regenerated.
23429 2013-12-18  Brooks Moses  <bmoses@google.com>
23431         [BZ #15846]
23432         * misc/getauxval.c: Include errno.h.
23433         (__getauxval): Set errno to ENOENT if the requested type is not
23434         found.
23435         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23436         don't declare with __attribute_const__.
23437         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23438         * manual/startup.texi: Document that getauxval sets errno.
23440 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23442         * math/auto-libm-test-in: Add tests of jn and yn.
23443         * math/auto-libm-test-out: Regenerated.
23444         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23445         (yn_test_data): Likewise.
23446         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23447         mpfr_if_f.
23448         (func_calc_desc): Add mpfr_if_f union field.
23449         (FUNC_mpfr_if_f): New macro.
23450         (test_functions): Add jn and yn.
23451         (calc_generic_results): Assert type of second input for
23452         mpfr_ff_f.  Handle mpfr_if_f.
23453         (output_for_one_input_case): Disable all checking for arguments
23454         fitting floating-point types in case of an integer argument.
23455         * sysdeps/i386/fpu/libm-test-ulps: Update.
23456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23459         Don't expect fegetround reference in libm.so.
23461 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23463         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23464         $(config-cflags-nofma).
23466 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23468         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23469         * math/auto-libm-test-out: Regenerated.
23471         [BZ #16338]
23472         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23473         to determine exponent and adjust argument to have exponent of -1.
23474         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23475         log2.
23476         * math/auto-libm-test-out: Regenerated.
23477         * sysdeps/i386/fpu/libm-test-ulps: Update.
23478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23480 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23482         * manual/probes.texi: Remove cases when per-thread arenas are
23483         disabled.
23485 2013-12-18  Andreas Schwab  <schwab@suse.de>
23487         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23488         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23489         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23490         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23491         * sysdeps/i386/i686/multiarch/Makefile: Update.
23492         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23494 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23496         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23497         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23499 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23501         [BZ #15968]
23502         Support TZ transition times < 00:00:00.
23503         This is needed for version-3 tz-format files; it supports time
23504         stamps past 2037 for America/Godthab (the only entry in the tz
23505         database for which this change is relevant).
23506         * manual/time.texi (TZ Variable): Document transition times
23507         from -167:59:59 through -00:00:01.
23508         * time/tzset.c (tz_rule): Time of day is now signed.
23509         (__tzset_parse_tz): Parse negative time of day.
23511         Document TZ transition times >= 25:00:00.
23512         * manual/time.texi (TZ Variable): Document transition times from
23513         25:00:00 through 167:59:59.  These are already supported, and this
23514         support will help with version-3 tz-format files.
23516         * manual/time.texi (TZ Variable): Modernize North America example
23517         to reflect current (i.e., 2007-and-later) daylight saving rules.
23519         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23521 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23523         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23524         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23527         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23528         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23529         * sysdeps/unix/bsd/clock.c: Likewise.
23530         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23531         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23532         * sysdeps/unix/bsd/init-posix.c: Likewise.
23533         * sysdeps/unix/bsd/poll.c: Likewise.
23534         * sysdeps/unix/bsd/ptsname.c: Likewise.
23535         * sysdeps/unix/bsd/seekdir.c: Likewise.
23536         * sysdeps/unix/bsd/setegid.c: Likewise.
23537         * sysdeps/unix/bsd/seteuid.c: Likewise.
23538         * sysdeps/unix/bsd/setgid.c: Likewise.
23539         * sysdeps/unix/bsd/setrgid.c: Likewise.
23540         * sysdeps/unix/bsd/setruid.c: Likewise.
23541         * sysdeps/unix/bsd/setsid.c: Likewise.
23542         * sysdeps/unix/bsd/setuid.c: Likewise.
23543         * sysdeps/unix/bsd/sigaction.c: Likewise.
23544         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23545         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23546         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23547         * sysdeps/unix/bsd/telldir.c: Likewise.
23548         * sysdeps/unix/bsd/times.c: Likewise.
23549         * sysdeps/unix/bsd/usleep.c: Likewise.
23551         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23552         ($(objpfx)libbsd-compat.a): Remove rule.
23554         * include/features.h (__FAVOR_BSD): Do not define.
23555         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23556         features conflicting with POSIX.
23557         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23558         (_BSD_SOURCE): Remove description of not being a subset of other
23559         feature test macros.
23560         * manual/job.texi (getpgrp): Do not document BSD version.
23561         (getpgid): Do not document by reference to BSD getpgrp.
23562         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23563         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23564         * signal/signal.h [__FAVOR_BSD]: Likewise.
23565         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23566         instead of making contents conditional on [__FAVOR_BSD].
23567         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23569 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23573 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23575         [BZ #16314]
23576         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23577         values below 2**-450, not 2**-500.
23578         * math/auto-libm-test-in: Don't allow spurious underflow from
23579         hypot.
23580         * math/auto-libm-test-out: Regenerated.
23582         [BZ #16316]
23583         [BZ #16330]
23584         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23585         values of ha and hb and sort them after adjusting subnormal
23586         arguments.
23587         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23588         Likewise.
23589         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23590         values of ea and eb and sort them after adjusting subnormal
23591         arguments.
23592         * math/auto-libm-test-in: Do not expect some hypot tests of
23593         subnormals to fail.  Add more hypot tests.
23594         * math/auto-libm-test-out: Regenerated.
23596 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23598         [BZ #13304]
23599         * sysdeps/sh/s_fma.c: New file.
23600         * sysdeps/sh/s_fmaf.c: New file.
23601         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23602         version.
23603         * sysdeps/sh/Implies: Add sh/soft-fp.
23605 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23607         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23608         level of indirection to members `objname', `errstring', `malloced'.
23609         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23610         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23611         it as the __longjmp argument (just pass 1 instead).
23612         (_dl_catch_error): Initialize C with argument pointers and address of
23613         volatile local ERRCODE rather than copying values out of C at return.
23615 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23617         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23618         * math/auto-libm-test-out: Regenerated.
23619         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23620         (hypot_test_data): Likewise.
23621         (pow_test_data): Likewise.
23622         (pow_tonearest_test_data): Likewise.
23623         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23624         mpfr_ff_f.
23625         (func_calc_desc): Add mpfr_ff_f union field.
23626         (FUNC_mpfr_ff_f): New macro.
23627         (test_functions): Add atan2, hypot and pow.
23628         (special_fill_min): New function.
23629         (special_fill_minus_min): Likewise.
23630         (special_fill_min_subnorm): Likewise.
23631         (special_fill_minus_min_subnorm): Likewise.
23632         (special_real_inputs): Add min, -min, min_subnorm and
23633         -min_subnorm.
23634         (calc_generic_results): Handle mpfr_ff_f.
23635         * sysdeps/i386/fpu/libm-test-ulps: Update.
23636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23638 2013-12-16  Will Newton  <will.newton@linaro.org>
23640         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23641         (Aligned Memory Blocks): Add documentation for aligned_alloc
23642         and suggest it as an alternative to posix_memalign.
23643         (Hooks for Malloc): Document __memalign_hook is also called
23644         for aligned_alloc.  (Summary of Malloc): Add summary for
23645         aligned alloc.  Document __memalign_hook is also called
23646         for aligned_alloc.
23648 2013-12-16  Will Newton  <will.newton@linaro.org>
23650         * manual/memory.texi (Malloc Examples): Clarify default
23651         alignment documentation.  Suggest posix_memalign rather
23652         than memalign or valloc.
23653         (Aligned Memory Blocks): Remove suggestion to use memalign
23654         or valloc.  Remove obsolete comment about BSD.
23655         Document memalign errno values and mark the function obsolete.
23656         Document posix_memalign returned error codes.  Mark valloc
23657         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23658         called for posix_memalign and valloc.
23659         (Summary of Malloc): Add posix_memalign to function summary.
23660         __memalign_hook is also called for posix_memalign and valloc.
23662 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23664         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23665         TAYLOR_SIN.
23666         (__sin): Adjust.
23667         (__cos): Likewise.
23668         (sloww): Use mynumber union.  Expand ternary operator into
23669         if-else statements.
23670         (cslow): use mynumber union.
23672 2013-12-16  Allan McRae  <allan@archlinux.org>
23674         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23675         * configure: Regenerated.
23677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23679         [BZ #14120]
23680         * configure.ac: Added --enable-maintainer-mode. Check for
23681         autoconf when enabled.
23682         * configure: Regenerated.
23684         * nscd/nscd.service: New file.
23685         * nscd/nscd.tmpfiles: New file.
23687 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23689         [BZ #12100]
23690         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23691         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23692         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23693         (strstr): Add __strstr_sse2_unaligned ifunc.
23694         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23695         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23696         (strcasestr): Remove __strcasestr_sse42 ifunc.
23697         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23701 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23703         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23704         * sysdeps/sh/bits/fenv.h: ... here.
23705         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23707 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23712         hypotf multiarch implementations.
23713         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23714         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23715         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23716         multiarch hypot for PPC64.
23717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23720         multiarch hypotf for PPC64.
23722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23723         modff multiarch implementations.
23724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23727         multiarch modf for PPC64.
23728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23731         multiarch modff for PPC64.
23733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23734         and logl multiarch implementations.
23735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23738         multiarch logb for PPC64.
23739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23742         multiarch logb for PPC64.
23743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23746         multiarch logb for PPC64.
23748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23749         isinff multiarch implementation.
23750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23751         file.
23752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23754         multiarch isinf for PPC64.
23755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23756         file.
23757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23758         multiarch isinff for PPC64.
23760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23761         finitef multiarch implementation.
23762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23763         file.
23764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23766         multiarch finite for PPC64.
23767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23768         file.
23769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23770         multiarch finitef for PPC64.
23772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23773         lrint multiarch implementation.
23774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23775         file.
23776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23778         multiarch llrint for PPC64.
23779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23780         multiarch lrint for PPC64.
23782         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23783         copysignf multiarch implementation.
23784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23785         file.
23786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23787         file.
23788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23789         multiarch copysign for PPC64.
23790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23791         multiarch copysignf for PPC64.
23793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23794         multiarch implementation.
23795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23796         file.
23797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23798         file.
23799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23800         file.
23801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23802         file.
23803         multiarch llround for PPC64.
23804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23805         multiarch trunc for PPC64.
23806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23807         multiarch truncf for PPC64.
23809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23810         multiarch implementation.
23811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23812         file.
23813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23814         file.
23815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23816         file.
23817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23818         file.
23819         multiarch llround for PPC64.
23820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23821         multiarch round for PPC64.
23822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23823         multiarch roundf for PPC64.
23825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23826         multiarch implementation.
23827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23828         file.
23829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23830         file.
23831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23832         file.
23833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23834         file.
23835         multiarch llround for PPC64.
23836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23837         multiarch floor for PPC64.
23838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23839         multiarch floorf for PPC64.
23841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23842         multiarch implementation.
23843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23844         file.
23845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23846         file.
23847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23848         file.
23849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23850         file.
23851         multiarch llround for PPC64.
23852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23853         multiarch ceil for PPC64.
23854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23855         multiarch ceilf for PPC64.
23857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23858         multiarch implementation.
23859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23860         file.
23861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23862         file.
23863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23864         file.
23865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23866         multiarch llround for PPC64.
23867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23868         multiarch lround for PPC64.
23870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23871         multiarch implementation.
23872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23875         file.
23876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23879         multiarch isnan for PPC64.
23880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23881         multiarch isnanf for PPC64.
23883         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23884         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23885         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23886         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23887         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23890         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23891         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23892         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23893         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23896         multiarch implementations.
23897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23898         (__libc_ifunc_impl_list): Likewise.
23899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23901         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23902         multiarch stpcpy for PPC64.
23904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23905         multiarch implementations.
23906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23907         (__libc_ifunc_impl_list): Likewise.
23908         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23909         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23910         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23911         multiarch strcpy for PPC64.
23913         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23914         redefine function name.
23915         (_wordcopy_fwd_dest_aligned): Likewise.
23916         (_wordcopy_bwd_aligned): Likewise.
23917         (_wordcopy_bwd_dest_aligned): Likewise.
23918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23919         multiarch implementations.
23920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23921         (__libc_ifunc_impl_list): Likewise.
23922         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23925         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23926         multiarch wcscpy for PPC64.
23928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23929         multiarch implementations.
23930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23931         (__libc_ifunc_impl_list): Likewise.
23932         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23933         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23935         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23936         multiarch wcscpy for PPC64.
23938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23939         multiarch implementations.
23940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23941         (__libc_ifunc_impl_list): Likewise.
23942         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23943         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23944         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23945         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23946         multiarch wcsrchr for PPC64.
23948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23949         multiarch implementations.
23950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23951         (__libc_ifunc_impl_list): Likewise.
23952         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23953         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23954         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23955         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23956         multiarch wcschr for PPC64.
23958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23959         multiarch implementations.
23960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23961         (__libc_ifunc_impl_list): Likewise.
23962         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23964         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23965         multiarch strchrnul for PPC64.
23967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23968         implementations.
23969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23970         (__libc_ifunc_impl_list): Likewise.
23971         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23972         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23973         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23974         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23975         strchr for PPC64.
23977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23978         implementations.
23979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23980         (__libc_ifunc_impl_list): Likewise.
23981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23982         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23983         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23984         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23985         strncmp for PPC64.
23987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23988         multiarch implementations.
23989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23990         (__libc_ifunc_impl_list): Likewise.
23991         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23992         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23993         strncasecmp for PPC64.
23994         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23995         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23996         multiarch strncasecmp_l for PPC64.
23998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23999         multiarch implementations.
24000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24001         (__libc_ifunc_impl_list): Likewise.
24002         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24003         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24004         multiarch strcasecmp for PPC64.
24005         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24006         file.
24007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24008         multiarch strcasecmp_l for PPC64.
24010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24011         implementations.
24012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24013         (__libc_ifunc_impl_list): Likewise.
24014         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24015         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24016         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24017         strnlen for PPC64.
24019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24020         implementations.
24021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24022         (__libc_ifunc_impl_list): Likewise.
24023         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24024         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24025         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24026         strlen for PPC64.
24028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24029         implementations.
24030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24031         (__libc_ifunc_impl_list): Likewise.
24032         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24033         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24034         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24035         rawmemrchr for PPC64.
24037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24038         implementation.
24039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24040         (__libc_ifunc_impl_list): Likewise.
24041         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24042         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24043         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24044         memrchr for PPC64.
24046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24047         implementation.
24048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24049         (__libc_ifunc_impl_list): Likewise.
24050         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24051         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24052         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24053         memchr for PPC64.
24055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24056         implementation.
24057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24058         (__libc_ifunc_impl_list): Likewise.
24059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24060         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24061         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24062         mempcpy for PPC64.
24064         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24065         avoid cretion of __bzero symbol.
24066         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24067         Likewise.
24068         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24069         Likewise.
24070         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24071         Likewise.
24072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24073         multiarch implementations.
24074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24075         (__libc_ifunc_impl_list): Likewise.
24076         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24077         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24078         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24079         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24080         bzero for PPC32.
24081         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24082         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24083         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24084         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24085         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24086         memset for PPC64.
24087         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24089         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24091         implementations.
24092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24093         (__libc_ifunc_impl_list): Likewise.
24094         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24095         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24096         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24097         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24098         memcmp for PPC64.
24100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24101         multiarch for POWER/PPC64.
24102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24103         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24104         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24105         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24106         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24107         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24109         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24110         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24111         memcpy for PPC64.
24113         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24114         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24115         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24116         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24117         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24118         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24119         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24120         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24121         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24122         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24123         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24124         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24125         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24126         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24127         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24136 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24138         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24140 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24142         * benchtests/Makefile (bench): Add exp2 and log2.
24143         (LDLIBS-bench-exp2): Add -lm.
24144         (LDLIBS-bench-log2): Likewise.
24145         * benchtests/exp2-inputs: New inputs file.
24146         * benchtests/log2-inputs: New inputs file.
24147         * benchtests/log-inputs: Add new inputs.
24148         * benchtests/tan-inputs: Likewise.
24150 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24152         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24153         definition...
24154         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24155         (csloww2): ... from here.
24157         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24158         instead of structures.
24159         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24160         (POLYNOMIAL): Likewise.
24161         (TAYLOR_SLOW): Likewise.
24162         (__sin): Likewise.
24163         (__cos): Likewise.
24164         (slow1): Likewise.
24165         (slow2): Likewise.
24166         (sloww): Likewise.
24167         (sloww1); Likewise.
24168         (sloww2): Likewise.
24169         (bsloww1): Likewise.
24170         (bsloww2): Likewise.
24171         (cslow2): Likewise.
24172         (csloww): Likewise.
24173         (csloww1): Likewise.
24174         (csloww2): Likewise.
24176 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24178         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24179         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24180         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24181         * malloc/hooks.c (realloc_check): Likewise.
24183         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24184         * malloc/arena.c: Remove PER_THREAD conditional.
24185         [!PER_THREAD]: Remove code.
24186         (ptmalloc_unlock_all2): Likewise.
24187         (ptmalloc_init): Likewise.
24188         (_int_new_arena): Likewise.
24189         (arena_get2): Likewise.
24190         * malloc/hooks.c (__malloc_get_state): Likewise.
24191         (__malloc_set_state): Likewise.
24192         * malloc/malloc.c: Likewise.
24193         (struct malloc_state): Likewise.
24194         (struct malloc_par): Likewise.
24195         (__libc_realloc): Likewise.
24196         (__libc_mallopt): Likewise.
24198 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24202 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24204         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24205         macro to a function.  Check for zero perturb_byte.
24206         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24208         * malloc/malloc.c: (force_reg): Remove.
24209         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24210         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24211         force_reg by atomic_forced_read.
24212         * malloc/arena.c (ptmalloc_init): Likewise.
24213         * malloc/hooks.c (top_check): Likewise.
24215 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24219 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24223 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24225         * math/auto-libm-test-in: Add tests of lgamma.
24226         * math/auto-libm-test-out: Regenerated.
24227         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24228         (M_LOG_2_SQRT_PIl): Likewise.
24229         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24230         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24231         mpfr_f_f1.
24232         (func_calc_desc): Add mpfr_f_f1 union field.
24233         (ARGS1): New macro.
24234         (ARGS2): Likewise.
24235         (ARGS3): Likewise.
24236         (ARGS4): Likewise.
24237         (RET1): Likewise.
24238         (RET2): Likewise.
24239         (CALC): Likewise.
24240         (FUNC): Likewise.
24241         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24242         (test_functions): Add lgamma.
24243         (calc_generic_results): Handle mpfr_f_f1.
24244         * sysdeps/i386/fpu/libm-test-ulps: Update.
24245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24247 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24249         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24250         __mpn_add_n for PowerPC64/POWER7.
24251         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24252         __mpn_sub_n for PowerPC64/POWER7.
24254         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24255         __mpn_addmul_1 for PowerPC64.
24256         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24257         __mpn_submul_1 for PowerPC64.
24258         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24259         for PowerPC64.
24260         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24261         for PowerPC64.
24263 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24265         [BZ #15089]
24266         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24268 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24270         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24272         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24273         add multiarch folders.
24274         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24275         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24276         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24277         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24278         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24279         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24280         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24281         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24282         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24283         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24284         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24293         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24295         New file.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24297         New file.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24299         multiarch __ieee754_hypot for PowerPC32.
24300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24301         New file.
24302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24303         New file.
24304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24305         multiarch __ieee754_hypotf for PowerPC32.
24307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24308         long_double_symbol only if __logbl is defined.
24309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24310         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24311         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24312         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24314         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24315         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24316         path for implementation.
24317         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24318         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24320         logb, and logbl multiarch implementations for PowerPC32.
24321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24322         file.
24323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24324         file.
24325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24326         multiarch logb for PowerPC32.
24327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24328         file.
24329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24330         file.
24331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24332         multiarch logbf for PowerPC32.
24333         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24335         file.
24336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24337         multiarch logbl implementation for PowerPC32.
24339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24340         and modff multiarch implementations.
24341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24342         New file.
24343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24344         New file.
24345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24346         multiarch modf for PowerPC32.
24347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24348         New file.
24349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24350         New file.
24351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24352         multiarch modff for PowerPC32.
24354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24355         and lrintf multiarch implementations.
24356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24357         New file.
24358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24359         New file.
24360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24361         multiarch lrint for PowerPC32.
24362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24363         file: multiarch lrintf for PowerPC32.
24365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24366         and lroundf multiarch implementations.
24367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24368         New file.
24369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24370         New file.
24371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24372         New file.
24373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24374         multiarch lround for PowerPC32.
24375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24376         file: multiarch lroundf for PowerPC32.
24378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24379         copysign and copysignf multiarch implementations.
24380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24381         New file.
24382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24383         New file.
24384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24385         file: multiarch copysign for PowerPC32.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24387         file: multiarch copysignf for PowerPC32.
24389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24390         and truncf multiarch implementations.
24391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24392         New file.
24393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24394         file.
24395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24396         multiarch trunc for PowerPC32.
24397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24398         New file.
24399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24400         New file.
24401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24402         multiarch truncf for PowerPC32.
24404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24405         and roundf multiarch implementations.
24406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24407         New file.
24408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24409         file.
24410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24411         multiarch round for PowerPC32.
24412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24413         New file.
24414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24415         New file.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24417         multiarch roundf for PowerPC32.
24419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24420         and floorf multiarch implementations.
24421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24422         New file.
24423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24424         file.
24425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24426         multiarch floor for PowerPC32.
24427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24428         New file.
24429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24430         New file.
24431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24432         multiarch floorf for PowerPC32.
24434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24435         and ceilf multiarch implementations.
24436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24437         New file.
24438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24439         file.
24440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24441         multiarch ceil for PowerPC32.
24442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24443         New file.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24445         file.
24446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24447         multiarch ceilf for PowerPC32.
24449         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24450         is defined.
24451         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24452         FINITEF is defined.
24453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24454         and finitef multiarch implementations.
24455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24456         New file.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24458         file.
24459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24460         multiarch finite for PowerPC32.
24461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24462         New file.
24463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24464         file: multiarch finitef for PowerPC32.
24466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24467         and isinff multiarch implementations.
24468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24469         file.
24470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24471         file.
24472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24473         multiarch isinf for PowerPC32.
24474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24475         New file.
24476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24477         multiarch isinff for PowerPC32.
24479         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24480         alias when __isnan is defined.
24481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24482         and isnanf multiarch implementations.
24483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24484         file.
24485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24486         file.
24487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24488         file.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24490         file.
24491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24492         multiarch isnan for PowerPC32.
24493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24494         New file.
24495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24496         New file.
24497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24498         multiarch isnanf for PowerPC32.
24500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24501         and sqrtf multiarch implementations.
24502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24503         file.
24504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24505         file.
24506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24507         multiarch sqrt for PowerPC32.
24508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24509         file.
24510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24511         file.
24512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24513         multiarch sqrtf for PowerPC32.
24515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24516         and llroundf multiarch implementations.
24517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24518         New file.
24519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24520         New file.
24521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24522         New file.
24523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24524         file: multiarch llround for PowerPC32.
24525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24526         file: multiarch llroundf for PowerPC32.
24528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24529         multiarch PowerPC32 fpu implementations.
24530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24531         New file.
24532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24533         New file.
24534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24535         multiarch llrint for PowerPC32.
24536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24537         New file.
24538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24539         New file.
24540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24541         file.
24543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24545         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24546         file.
24547         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24548         file.
24549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24550         file.
24551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24552         multiarch wordcopy for PPC32.
24553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24554         wordcopy objects.
24555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24556         (__libc_ifunc_impl_list): Likewise.
24557         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24558         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24559         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24560         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24561         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24562         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24564         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24565         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24566         file.
24567         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24568         file.
24569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24570         file.
24571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24572         multiarch wcscpy for PPC32.
24573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24574         multiarch objects.
24575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24576         (__libc_ifunc_impl_list): Likewise.
24577         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24578         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24579         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24580         sysdeps/powerpc/power6/wcscpy.c.
24582         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24584         file.
24585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24586         file.
24587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24588         file.
24589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24590         multiarch wcsrchr for PPC32.
24591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24592         multiarch objects.
24593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24594         (__libc_ifunc_impl_list): Likewise.
24595         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24596         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24597         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24598         sysdeps/powerpc/power6/wcsrchr.c.
24600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24601         file.
24602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24603         file.
24604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24606         multiarch wcschr for PPc32.
24607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24608         multiarch objects.
24609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24610         (__libc_ifunc_impl_list): Likewise.
24611         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24612         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24613         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24614         sysdeps/powerpc/power6/wcschr.c.
24616         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24617         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24618         file.
24619         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24620         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24621         file: multiarch strchr for PPC32.
24622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24623         multiarch objects.
24624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24625         (__libc_ifunc_impl_list): Likewise.
24627         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24628         name.
24629         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24630         file.
24631         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24632         file.
24633         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24634         multiarch strchrnul for PPC32.
24635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24636         multiarch objects.
24637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24638         (__libc_ifunc_impl_list): Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24641         file.
24642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24643         multiarch strncasecmp for PPC32.
24644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24645         file.
24646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24647         multiarch strncasecmp_l for PPC32.
24648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24649         strncasecmp multiarch objects.
24650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24651         (__libc_ifunc_impl_list): Likewise.
24653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24654         file.
24655         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24656         multiarch strncasecmp for PPC32.
24657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24658         New file.
24659         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24660         multiarch strcasecmp_l for PPC32.
24661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24662         multiarch objects.
24663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24664         (__libc_ifunc_impl_list): Likewise.
24666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24667         file.
24668         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24669         file.
24670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24671         multiarch strncmp for PPC32.
24672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24673         multiarch objects.
24674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24675         (__libc_ifunc_impl_list): Likewise.
24677         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24678         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24679         file.
24680         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24681         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24683         multiarch objects.
24684         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24685         (__libc_ifunc_impl_list): Likewise.
24687         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24688         file.
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24690         file.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24693         multiarch objects.
24694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24695         (__libc_ifunc_impl_list): Likewise.
24697         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24698         file.
24699         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24700         file.
24701         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24702         multiarch rawmemchr for PPC32.
24703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24704         multiarch objects.
24705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24706         (__libc_ifunc_impl_list): Likewise.
24708         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24709         file.
24710         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24711         file.
24712         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24713         file: memrchr multiarch for PPC32.
24714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24715         multiarch objects.
24716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24717         (__libc_ifunc_impl_list): Likewise.
24719         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24721         file.
24722         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24723         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24724         multiarch memchr for PPC32.
24725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24726         multiarch objects.
24727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24728         (__libc_ifunc_impl_list): Likewise.
24730         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24731         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24732         file.
24733         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24734         file.
24735         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24736         file: multiarch mempcpy for PPC32.
24737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24738         multiarch objects.
24739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24740         (__libc_ifunc_impl_list): Likewise.
24742         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24743         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24744         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24745         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24746         multiarch bzero for PPC32.
24747         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24748         file.
24749         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24750         file.
24751         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24752         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24753         file: multiarch memset for PPC32.
24754         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24756         memset multiarch objects.
24757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24758         (__libc_ifunc_impl_list): Likewise.
24760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24761         file.
24762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24764         memcmp for PPC32.
24765         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24767         multiarch objects.
24768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24769         (__libc_ifunc_impl_list): Likewise.
24771         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24772         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24773         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24774         file.
24775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24776         file.
24777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24778         file.
24779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24780         multiarch memcpy for PPC32.
24781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24782         multiarch objects.
24783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24784         (__libc_ifunc_impl_list): Likewise.
24786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24787         support multiarch for POWER/PPC32.
24788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24789         Likewise.
24790         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24792         Implies file to make multiarch folder appers before the fpu and
24793         default folder for power4 configuration.
24795 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24797         * scripts/bench.pl: Append volatile keyword to type.
24799 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24801         * sysdeps/sh/sotruss-lib.c: New file.
24802         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24804 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24808 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24810         [BZ #6810]
24811         * math/w_tgamma.c: Include <errno.h>.
24812         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24813         * math/w_tgammaf.c: Include <errno.h>.
24814         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24815         * math/w_tgammal.c: Include <errno.h>.
24816         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24817         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24818         underflow.  Add more tgamma tests.
24819         * math/auto-libm-test-out: Regenerated.
24820         * sysdeps/i386/fpu/libm-test-ulps: Update.
24821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24823         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24824         sin, sinh, tan, tanh, tgamma, y0 and y1.
24825         * math/auto-libm-test-out: Regenerated.
24826         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24827         (TEST_COND_x86): Likewise.
24828         (M_E2l): Remove macro.
24829         (M_E3l): Likewise.
24830         (M_2_SQRT_PIl): Likewise.
24831         (M_SQRT_PIl): Likewise.
24832         (M_1_DIV_El): Likewise.
24833         (log_test_data): Use AUTO_TESTS_f_f.
24834         (log10_test_data): Likewise.
24835         (log1p_test_data): Likewise.
24836         (log2_test_data): Likewise.
24837         (sin_test_data): Likewise.
24838         (sin_tonearest_test_data): Likewise.
24839         (sin_towardzero_test_data): Likewise.
24840         (sin_downward_test_data): Likewise.
24841         (sin_upward_test_data): Likewise.
24842         (sinh_test_data): Likewise.
24843         (sinh_tonearest_test_data): Likewise.
24844         (sinh_towardzero_test_data): Likewise.
24845         (sinh_downward_test_data): Likewise.
24846         (sinh_upward_test_data): Likewise.
24847         (tan_test_data): Likewise.
24848         (tan_tonearest_test_data): Likewise.
24849         (tan_towardzero_test_data): Likewise.
24850         (tan_downward_test_data): Likewise.
24851         (tan_upward_test_data): Likewise.
24852         (tanh_test_data): Likewise.
24853         (tgamma_test_data): Likewise.
24854         (y0_test_data): Likewise.
24855         (y1_test_data): Likewise.
24856         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24857         (special_real_inputs): Add pi/4.
24858         * sysdeps/i386/fpu/libm-test-ulps: Update.
24859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24861 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24863         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24864         "longjmp_target" static probes.
24865         (__longjmp): Rename to __longjmp_symbol.
24866         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24867         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24868         on which longjmp to generate.
24869         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24870         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24871         probe.
24872         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24873         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24874         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24875         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24876         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24877         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24879         __longjmp_symbol based on which __longjmp to generate.
24880         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24881         probe.
24882         (setjmp): Rename to setjmp_symbol.
24883         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24884         (_setjmp): Rename to _setjmp_symbol.
24885         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24886         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24887         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24888         which setjmp to generate.
24889         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24890         "longjmp_target" static probes.
24892 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24894         * benchtests/README: Add note about output arguments.
24895         * benchtests/bench-sincos.c: Remove file.
24896         * benchtests/sincos-inputs: New file.
24897         * scripts/bench.pl: Identify output arguments and define
24898         static variables for them.
24900         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24902         [BZ #15941]
24903         * Makefile (INSTALL): Add install-plain.texi as the primary
24904         dependency.
24905         * manual/install-plain.texi: New file.
24906         * manual/install.texi: Include node directive only for
24907         non-plaintext output.
24909 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24911         * stdlib/longlong.h: Update from GCC.
24913         [BZ #6807]
24914         [BZ #15901]
24915         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24916         * math/w_j0f.c (y0f): Likewise.
24917         * math/w_j0l.c (__y0l): Likewise.
24918         * math/w_j1.c (y1): Likewise.
24919         * math/w_j1f.c (y1f): Likewise.
24920         * math/w_j1l.c (__y1l): Likewise
24921         * math/w_jn.c (yn): Likewise.
24922         * math/w_jnf.c (ynf): Likewise.
24923         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24924         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24925         value for Bessel function domain errors outside _SVID_ mode.
24926         Adjust sign of return value for yn (negative integer, 0).
24927         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24928         by zero in return for negative x and set sign appropriately for
24929         negative n.
24930         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24931         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24932         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24933         expectations in error cases.
24934         (y1_test_data): Likewise.
24935         (yn_test_data): Likewise.
24936         * sysdeps/i386/fpu/libm-test-ulps: Update.
24937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24939 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24941         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24942         "64" to "64-v1".  Add "64-v2".
24943         (abi-64-options): Rename to ...
24944         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24945         (abi-64-condition): Rename to ...
24946         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24947         (abi-64-ld-soname): Rename to ...
24948         (abi-64-v1-ld-soname): ... this.
24949         (abi-64-v2-options): Define.
24950         (abi-64-v2-condition): Likewise.
24951         (abi-64-v2-ld-soname): Likewise.
24952         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24953         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24958 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24959             Alan Modra  <amodra@gmail.com>
24961         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24962         New versions for use with the ELFv2 ABI.
24963         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24964         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24965         declaration.
24966         (struct La_ppc64v2_retval): Likewise.
24967         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24968         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24969         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24970         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24971         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24972         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24973         Do not save or restore CR.
24974         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24975         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24976         return values for ELFv2 ABI.  Fix location of FPR return registers.
24977         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24978         updated values for _CALL_ELF == 2.
24979         (La_regs, La_retval, int_retval): Likewise.
24981 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24983         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24984         (FRAME_MIN_SIZE_PARM): Likewise.
24985         (FRAME_BACKCHAIN): Likewise.
24986         (FRAME_CR_SAVE): Likewise.
24987         (FRAME_LR_SAVE): Likewise.
24988         (FRAME_TOC_SAVE): Likewise.
24989         (FRAME_PARM_SAVE): Likewise.
24990         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24991         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24992         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24993         (call_mcount_parm_offset): New macro.
24994         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24995         (PROF): Use symbolic stack frame offsets.
24996         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24997         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24998         Redefine in terms of FRAME_MIN_SIZE.
24999         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25000         (_dl_profile_resolve): Likewise.  Update comment.
25001         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25002         symbols stack frame offsets.
25003         (__sigsetjmp): Likewise.
25004         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25005         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25006         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25007         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25010         (FRAME_BACKCHAIN): Remove.
25011         (FRAME_CR_SAVE): Likewise.
25012         (FRAME_LR_SAVE): Likewise.
25013         (FRAME_COMPILER_DW): Likewise.
25014         (FRAME_LINKER_DW): Likewise.
25015         (FRAME_TOC_SAVE): Likewise.
25016         (FRAME_PARM_SAVE): Likewise.
25017         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25018         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25019         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25021         (CHECK_SP): Use symbolic stack frame offsets.
25022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25023         zone" instead of caller's parameter save area for temp storage.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25025         Likewise.  Also, use symbolic stack frame offsets.
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25027         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25028         our own stack frame instead of the caller's.
25029         (__socket): Use symbolic stack frame offsets.
25031 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25032             Alan Modra  <amodra@gmail.com>
25034         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25035         Define.
25036         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25037         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25038         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25039         New function.
25040         (elf_machine_fixup_plt): Call it.
25041         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25042         reloc arguments.
25043         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25044         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25045         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25046         r2 before calling target.
25048 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25049             Alan Modra  <amodra@gmail.com>
25051         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25052         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25053         versions of macros to support ELFv2 ABI.
25054         (LOCALENTRY): New macro.
25055         (ENTRY, EALIGN): Use it.
25056         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25057         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25058         fall through into ENTRY entry point.
25059         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25060         Only define if _CALL_ELF != 2.
25062         (elf_machine_matches_host): Verify ABI version matches.
25063         (RTLD_START): Use LOCALENTRY.
25064         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25065         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25066         (PLT_ENTRY_WORDS): New macro.
25067         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25068         (elf_machine_runtime_setup): Support ELFv2 ABI.
25069         (elf_machine_fixup_plt): Likewise.
25070         (elf_machine_plt_conflict): Likewise.
25071         (resolve_ifunc): Likewise.
25072         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25073         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25074         Likewise.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25076         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25078         (makecontext): Support ELFv2 ABI.
25079         * elf/elf.h (EF_PPC64_ABI): Define.
25081 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25083         * sysdeps/powerpc/powerpc64/sysdep.h
25084         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25085         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25086         (ENTRY) [ASSEMBLER]: ... but instead here ...
25087         (EALIGN) [ASSEMBLER]: ... and here.
25088         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25089         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25090         (ENTRY_2) [!ASSEMBLER]: Use it.
25091         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25092         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25093         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25094         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25095         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25097         Use PPC64_LOAD_FUNCPTR.
25099         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25101 2013-12-04  Alan Modra  <amodra@gmail.com>
25103         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25104         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25105         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25106         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25108         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25109         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25110         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25111         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25112         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25113         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25115 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25118         (__makecontext): Fix incorrect CFI when backtracing out of
25119         context created via makecontext.
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25121         (__setcontext): Fix incorrect CFI during switch to new context.
25122         (__novec_setcontext): Likewise.
25124 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25126         [BZ #4772]
25127         * time/strptime_l.c (__strptime_internal): Allow modifiers
25128         in strptime.
25129         * time/tst-strptime.c (day_tests): Add testcase.
25131 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25133         * scripts/bench.pl: Skip over blank lines.
25135 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25137         [BZ #926]
25138         * manual/time.texi (Calendar Time): Clarify what timezone functions
25139         use.
25141 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25145 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25147         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25148         implementation.
25149         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25150         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25151         * debug/memset_chk.c (__memset_chk): Likewise.
25152         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25153         * debug/strncpy_chk.c: Likewise.
25155 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25157         [BZ #15268]
25158         [BZ #15425]
25159         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25160         (__ieee754_exp): For possibly underflowing results, check size of
25161         result and force underflow exception if required.
25162         * math/auto-libm-test-in: Add more tests of exp.
25163         * math/auto-libm-test-out: Regenerated.
25164         * sysdeps/i386/fpu/libm-test-ulps: Update.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167         [BZ #16283]
25168         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25169         * math/w_exp2f.c (__exp2f): Likewise.
25170         * math/w_exp2l.c (__exp2l): Likewise.
25171         * math/auto-libm-test-in: Do not allow missing errno on exp2
25172         underflow.
25173         * math/auto-libm-test-out: Regenerated.
25175 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25177         [BZ #16274]
25178         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25179         handle filename validation.
25180         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25181         (do_open): Delete.
25183 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25185         [BZ #6786]
25186         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25187         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25188         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25189         <float.h>.
25190         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25191         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25192         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25194         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25195         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25196         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25197         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25198         Add more erfc tests.
25199         * math/auto-libm-test-out: Regenerated.
25200         * sysdeps/i386/fpu/libm-test-ulps: Update.
25201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25203         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25204         exp2, expm1, j0 and j1.
25205         * math/auto-libm-test-out: Regenerated.
25206         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25207         (erfc_test_data): Likewise.
25208         (exp_test_data): Likewise.
25209         (exp_tonearest_test_data): Likewise.
25210         (exp_towardzero_test_data): Likewise.
25211         (exp_downward_test_data): Likewise.
25212         (exp_upward_test_data): Likewise.
25213         (exp10_test_data): Likewise.
25214         (exp2_test_data): Likewise.
25215         (expm1_test_data): Likewise.
25216         (j0_test_data): Likewise.
25217         (j1_test_data): Likewise.
25218         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25219         (input_flag_type): Add flag_xfail_rounding.
25220         (input_flags): Add xfail-rounding.
25221         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25222         (output_for_one_input_case): Handle flag_xfail_rounding.
25223         * sysdeps/i386/fpu/libm-test-ulps: Update.
25224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25226 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25228         [BZ #16289]
25229         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25230         division by 0.
25232 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25234         [BZ #16195]
25235         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25236         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25237         (STAP_PROBE0): New macro.
25238         (STAP_PROBE1): Likewise.
25239         (STAP_PROBE2): Likewise.
25240         (STAP_PROBE3): Likewise.
25241         (STAP_PROBE4): Likewise.
25243 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25245         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25247 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25249         * benchtests/Makefile (bench): Add sqrt.
25250         (LDLIBS-bench-sqrt): New.
25251         * benchtests/sqrt-input: New.
25253 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25255         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25256         (GAIH_EAI): Likewise.
25257         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25258         (gaih_inet): Likewise.
25259         (getaddrinfo): Don't use GAIH_EAI.
25261         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25262         (struct gaih): Remove definition.
25264 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25266         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25267         Use HERRNOP directly.
25269 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25273 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25275         * math/gen-auto-libm-tests.c (test_functions): Add more
25276         single-argument functions.
25277         (special_fill_pi_2): New function.
25278         (special_fill_minus_pi_2): Likewise.
25279         (special_fill_pi_6): Likewise.
25280         (special_fill_minus_pi_6): Likewise.
25281         (special_fill_pi_3): Likewise.
25282         (special_fill_2pi_3): Likewise.
25283         (special_fill_e): Likewise.
25284         (special_fill_1_e): Likewise.
25285         (special_fill_e_minus_1): Likewise.
25286         (special_real_inputs): Add more special inputs.
25287         (output_for_one_input_case): Do not require ERANGE on underflow to
25288         zero if round-to-nearest result does not underflow to zero, unless
25289         exact results required.
25290         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25291         atan, atanh, cbrt, cos and cosh.
25292         * math/auto-libm-test-out: Regenerated.
25293         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25294         (acos_tonearest_test_data): Likewise.
25295         (acos_towardzero_test_data): Likewise.
25296         (acos_downward_test_data): Likewise.
25297         (acos_upward_test_data): Likewise.
25298         (acosh_test_data): Likewise.
25299         (asin_test_data): Likewise.
25300         (asin_tonearest_test_data): Likewise.
25301         (asin_towardzero_test_data): Likewise.
25302         (asin_upward_test_data): Likewise.
25303         (asinh_test_data): Likewise.
25304         (atan_test_data): Likewise.
25305         (atanh_test_data): Likewise.
25306         (cbrt_test_data): Likewise.
25307         (cos_test_data): Likewise.
25308         (cos_tonearest_test_data): Likewise.
25309         (cos_towardzero_test_data): Likewise.
25310         (cos_downward_test_data): Likewise.
25311         (cos_upward_test_data): Likewise.
25312         (cosh_test_data): Likewise.
25313         (cosh_tonearest_test_data): Likewise.
25314         (cosh_towardzero_test_data): Likewise.
25315         (cosh_downward_test_data): Likewise.
25316         (cosh_upward_test_data): Likewise.
25317         * sysdeps/i386/fpu/libm-test-ulps: Update.
25318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25320 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25322         [BZ #6787]
25323         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25324         * math/w_exp10f.c (__exp10f): Likewise.
25325         * math/w_exp10l.c (__exp10l): Likewise.
25326         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25327         errno settings in existing tests.
25329         [BZ #14032]
25330         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25331         precision control set to double precision.
25332         * sysdeps/i386/fpu/w_sqrt.c: New file.
25333         * math/auto-libm-test-in: Add more tests.
25334         * math/auto-libm-test-out: Update.
25336         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25337         (sqrt_test_tonearest): New function.
25338         (sqrt_towardzero_test_data): New variable.
25339         (sqrt_test_towardzero): New function.
25340         (sqrt_downward_test_data): New variable.
25341         (sqrt_test_downward): New function.
25342         (sqrt_upward_test_data): New variable.
25343         (sqrt_test_upward): New function.
25344         (main): Call the new functions.
25346         * math/gen-auto-libm-tests.c: New file.
25347         * math/auto-libm-test-in: Likewise.
25348         * math/auto-libm-test-out: New generated file.
25349         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25350         variables.
25351         (%beautify): Add generated representations of zero.
25352         (top level): Set $auto_input and call parse_auto_input.
25353         (beautify): Remove trailing "f" from hex float constants.
25354         (parse_args): Handle XFAIL_TEST.
25355         (convert_condition): New function.
25356         (or_value): Likewise.
25357         (or_cond_value): Likewise.
25358         (generate_testfile): Handle AUTO_TESTS_* lines.
25359         (parse_auto_input): New function.
25360         * math/libm-test.inc (XFAIL_TEST): New macro.
25361         (ERRNO_UNCHANGED): Update value.
25362         (ERRNO_EDOM): Likewise.
25363         (ERRNO_ERANGE): Likewise.
25364         (IGNORE_RESULT): Likewise.
25365         (TEST_COND_flt_32): New macro.
25366         (TEST_COND_dbl_64): Likewise.
25367         (TEST_COND_ldbl_96_intel): Likewise.
25368         (TEST_COND_ldbl_96_m68k): Likewise.
25369         (TEST_COND_ldbl_128): Likewise.
25370         (TEST_COND_ldbl_128ibm): Likewise.
25371         (TEST_COND_long32): Likewise.
25372         (TEST_COND_long64): Likewise.
25373         (TEST_COND_before_rounding): Likewise.
25374         (TEST_COND_after_rounding): Likewise.
25375         (enable_test): Handle XFAIL_TEST flag.
25376         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25377         with finite results.
25378         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25379         auto-libm-test-out.
25381 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25382             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25384         [BZ #16214]
25385         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25386         __tls_get_addr_internal instead of __tls_get_offset in order to
25387         avoid GOT pointer dependency.  Make rtld export
25388         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25389         __tls_get_addr since we are a __tls_get_offset platform.
25390         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25391         GOT pointer being set up before.
25392         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25394 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25396         * manual/math.texi (Errors in Math Functions): Document accuracy
25397         goals.
25399         [BZ #15004]
25400         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25401         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25402         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25404         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25406         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25408         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25410         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25417         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25418         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25419         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25420         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25421         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25422         Likewise.
25423         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25424         Likewise.
25425         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25426         Likewise.
25427         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25428         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25429         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25430         atomic-feupdateenv and flt-rounds.
25431         * sysdeps/powerpc/nofpu/Versions (libc): Add
25432         __atomic_feholdexcept, __atomic_feclearexcept,
25433         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25434         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25435         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25436         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25437         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25438         here.
25439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25440         Update.
25442         * manual/arith.texi (FP Exceptions): Document that exceptions may
25443         not be raised when matherr is used.
25444         (Math Error Reporting): Document overflow in directed rounding
25445         modes.  Document that errno may not be set when finite values are
25446         returned on overflow.  Document intent to set errno on underflow
25447         only for underflow to zero.
25449         [BZ #16271]
25450         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25451         round-to-nearest then adjust result for other rounding modes.
25452         * include/fenv.h (fegetround): Use libm_hidden_proto.
25453         * math/fegetround.c (fegetround): Use libm_hidden_def.
25454         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25455         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25456         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25457         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25458         Likewise.
25459         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25460         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25461         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25462         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25464 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25466         [BZ #16077]
25467         * nss/Versions (libnss_files): Add
25468         _nss_files_gethostbyname3_r.
25469         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25470         New function.
25471         (HOST_DB_LOOKUP): Remove macro.
25472         (_nss_files_gethostbyname_r): Implement function without the
25473         HOST_DB_LOOKUP macro.
25474         (_nss_files_gethostbyname2_r): Likewise.
25476 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25478         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25480 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25482         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25483         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25484         warning.
25486 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25488         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25489         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25490         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25491         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25492         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25493         __fe_nomask_env_priv and attribute_hidden.
25494         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25495         (libc_feupdateenv_test_ppc): Likewise.
25496         (libc_feresetround_ppc): Likewise.
25497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25498         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25499         compat_symbol macro.
25500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25501         (__fe_nomask_env): Likewise.
25502         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25504 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25506         * string/Makefile: Remove ifunc tests.
25507         * string/test-string.h: Define TEST_IFUNC.
25508         * string/test-bcopy-ifunc.c: Remove.
25509         * string/test-bzero-ifunc.c: Likewise.
25510         * string/test-memccpy-ifunc.c: Likewise.
25511         * string/test-memchr-ifunc.c: Likewise.
25512         * string/test-memcmp-ifunc.c: Likewise.
25513         * string/test-memcpy-ifunc.c: Likewise.
25514         * string/test-memmem-ifunc.c: Likewise.
25515         * string/test-memmove-ifunc.c: Likewise.
25516         * string/test-mempcpy-ifunc.c: Likewise.
25517         * string/test-memrchr-ifunc.c: Likewise.
25518         * string/test-memset-ifunc.c: Likewise.
25519         * string/test-rawmemchr-ifunc.c: Likewise.
25520         * string/test-stpcpy-ifunc.c: Likewise.
25521         * string/test-stpncpy-ifunc.c: Likewise.
25522         * string/test-strcasecmp-ifunc.c: Likewise.
25523         * string/test-strcasestr-ifunc.c: Likewise.
25524         * string/test-strcat-ifunc.c: Likewise.
25525         * string/test-strchr-ifunc.c: Likewise.
25526         * string/test-strchrnul-ifunc.c: Likewise.
25527         * string/test-strcmp-ifunc.c: Likewise.
25528         * string/test-strcpy-ifunc.c: Likewise.
25529         * string/test-strcspn-ifunc.c: Likewise.
25530         * string/test-strlen-ifunc.c: Likewise.
25531         * string/test-strncasecmp-ifunc.c: Likewise.
25532         * string/test-strncat-ifunc.c: Likewise.
25533         * string/test-strncmp-ifunc.c: Likewise.
25534         * string/test-strncpy-ifunc.c: Likewise.
25535         * string/test-strnlen-ifunc.c: Likewise.
25536         * string/test-strpbrk-ifunc.c: Likewise.
25537         * string/test-strrchr-ifunc.c: Likewise.
25538         * string/test-strspn-ifunc.c: Likewise.
25539         * string/test-strstr-ifunc.c: Likewise.
25541 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25543         * benchtests/Makefile: Remove ifunc tests.
25544         * benchtests/bench-string.h: Define TEST_IFUNC.
25545         * benchtests/bench-bcopy-ifunc.c: Remove.
25546         * benchtests/bench-bzero-ifunc.c: Likewise.
25547         * benchtests/bench-memccpy-ifunc.c: Likewise.
25548         * benchtests/bench-memchr-ifunc.c: Likewise.
25549         * benchtests/bench-memcmp-ifunc.c: Likewise.
25550         * benchtests/bench-memcpy-ifunc.c: Likewise.
25551         * benchtests/bench-memmem-ifunc.c: Likewise.
25552         * benchtests/bench-memmove-ifunc.c: Likewise.
25553         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25554         * benchtests/bench-memrchr-ifunc.c: Likewise.
25555         * benchtests/bench-memset-ifunc.c: Likewise.
25556         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25557         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25558         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25559         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25560         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25561         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25562         * benchtests/bench-strcat-ifunc.c: Likewise.
25563         * benchtests/bench-strchr-ifunc.c: Likewise.
25564         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25565         * benchtests/bench-strcmp-ifunc.c: Likewise.
25566         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25567         * benchtests/bench-strcpy-ifunc.c: Likewise.
25568         * benchtests/bench-strcspn-ifunc.c: Likewise.
25569         * benchtests/bench-strlen-ifunc.c: Likewise.
25570         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25571         * benchtests/bench-strncat-ifunc.c: Likewise.
25572         * benchtests/bench-strncmp-ifunc.c: Likewise.
25573         * benchtests/bench-strncpy-ifunc.c: Likewise.
25574         * benchtests/bench-strnlen-ifunc.c: Likewise.
25575         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25576         * benchtests/bench-strrchr-ifunc.c: Likewise.
25577         * benchtests/bench-strsep-ifunc.c: Likewise.
25578         * benchtests/bench-strspn-ifunc.c: Likewise.
25579         * benchtests/bench-strstr-ifunc.c: Likewise.
25581 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25583         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25585 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25587         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25588         * rt/aio.h: Likewise.
25589         * sysdeps/gnu/bits/utmp.h: Likewise.
25590         * sysdeps/gnu/bits/utmpx.h: Likewise.
25591         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25592         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25593         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25594         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25595         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25596         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25597         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25598         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25599         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25600         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25601         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25602         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25603         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25605         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25606         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25607         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25608         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25609         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25610         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25611         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25612         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25613         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25614         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25615         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25616         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25617         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25618         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25619         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25620         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25621         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25622         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25623         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25624         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25625         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25626         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25627         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25628         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25629         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25630         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25631         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25632         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25634 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25636         [BZ #16245]
25637         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25638         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25640 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25642         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25643         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25644         Likewise.
25646 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25649         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25650         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25651         (__fesetround): Remove define.
25652         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25653         rounding and exceptions handling.
25654         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25655         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25656         (__fe_nomask_env): Likewise.
25657         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25658         __fegetround instead of fegetround.
25659         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25660         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25662 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25664         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25665         it's there.
25667         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25669 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25671         [BZ #11157]
25672         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25673         (encrypt_r): Likewise.
25674         * malloc/obstack.h (obstack_free): Likewise.
25675         * posix/unistd.h (encrypt): Likewise.
25677 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25679         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25680         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25681         DL_CALL_DT_FINI() that call the functions directly.
25682         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25683         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25684         * elf/dl-fini.c: Likewise.
25686 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25688         * malloc/hooks.c (memalign_check): Add alignment rounding.
25689         * malloc/malloc.c (_mid_memalign): New function.
25690         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25691         Implement by calling _mid_memalign.
25692         * manual/probes.texi (Memory Allocation Probes): Remove
25693         memory_valloc_retry and memory_pvalloc_retry.
25695 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25697         * locale/programs/locarchive.c (open_archive): Add const
25698         qualifier to ARCHIVEFNAME and copy default fname to
25699         DEFAULT_FNAME.
25701         [BZ #15601]
25702         * libio/tst-widetext.input: Rename Oriya to Odia.
25703         * locale/iso-639.def: Likewise.
25705         * manual/probes.texi (Mathematical Function Probes): Add
25706         documentation for sin, cos, asin and acos probes.
25707         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25708         (__sin32): Add slowasin probe.
25709         (__cos32): Add slowacos probe.
25710         (__mpsin): Add slowsin probe.
25711         (__mpcos): Add slowcos probe.
25713 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25715         [BZ #15483]
25716         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25717         thread-local __sim_exceptions_thread and global
25718         __sim_exceptions_global.
25719         (__sim_disabled_exceptions): Change to thread-local
25720         __sim_disabled_exceptions_thread and global
25721         __sim_disabled_exceptions_global.
25722         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25723         and global __sim_round_mode_global.
25724         (__simulate_exceptions): Use thread-local floating-point state and
25725         set global state from it as needed.
25726         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25727         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25728         __sim_round_mode_thread.
25729         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25730         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25731         and global __sim_exceptions_global.
25732         (__sim_disabled_exceptions): Change to thread-local
25733         __sim_disabled_exceptions_thread and global
25734         __sim_disabled_exceptions_global.
25735         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25736         and global __sim_round_mode_global.
25737         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25738         (SIM_SET_GLOBAL): Likewise.
25739         * sysdeps/powerpc/soft-fp/sfp-machine.h
25740         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25741         __sim_round_mode_thread.
25742         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25743         __sim_disabled_exceptions_thread.
25744         (__sim_exceptions): Change to __sim_exceptions_thread.
25745         (__sim_disabled_exceptions): Change to
25746         __sim_disabled_exceptions_thread.
25747         (__sim_round_mode): Change to __sim_round_mode_thread.
25748         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25749         thread-local floating-point state and set global state from it as
25750         needed.
25751         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25752         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25753         (__sim_disabled_exceptions): Remove extern declaration.
25754         (feenableexcept): Use thread-local floating-point state and set
25755         global state from it as needed.
25756         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25757         extern declaration.
25758         (__sim_disabled_exceptions): Likewise.
25759         (__sim_round_mode): Likewise.
25760         (__fegetenv): Use thread-local floating-point state.
25761         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25762         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25763         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25764         floating-point state and set global state from it as needed.
25765         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25766         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25767         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25768         Likewise.
25769         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25770         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25771         Likewise.
25772         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25773         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25774         Use __sim_round_mode_thread.
25775         * math/test-fenv-tls.c: New file.
25776         * math/Makefile (tests): Add test-fenv-tls.
25777         ($(objpfx)test-fenv-tls): Depend on
25778         $(common-objpfx)nptl/libpthread.so.
25780 2013-11-19  Andreas Schwab  <schwab@suse.de>
25782         * locale/programs/locale.c (show_info): Decode wordarray elements.
25783         * locale/categories.def (LC_MONETARY): Add element for
25784         _NL_MONETARY_CRNCYSTR.
25785         * locale/C-monetary.c (conversion_rate): New variable.
25786         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25787         element.
25789 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25791         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25792         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25794 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25796         * elf/Makefile (tst-auxv): New test.
25797         * elf/tst-auxv.c: New
25798         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25800 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25802         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25803         (hidden_proto): Caller changed.
25804         (hidden_tls_proto): New macro.
25805         (libc_hidden_tls_proto): Likewise.
25806         (rtld_hidden_tls_proto): Likewise.
25807         (libm_hidden_tls_proto): Likewise.
25808         (libresolv_hidden_tls_proto): Likewise.
25809         (librt_hidden_tls_proto): Likewise.
25810         (libdl_hidden_tls_proto): Likewise.
25811         (libnss_files_hidden_tls_proto): Likewise.
25812         (libnsl_hidden_tls_proto): Likewise.
25813         (libnss_nisplus_hidden_tls_proto): Likewise.
25814         (libutil_hidden_tls_proto): Likewise.
25816 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25818         [BZ #10253]
25819         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25820         (decompose_rpath): Defer expansion to fillin_rpath.
25821         (_dl_init_paths): Pass linkmap to fillin_rpath.
25823 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25825         * benchtests/Makefile: Add strsep.
25826         * benchtests/bench-strsep.c: New file: strsep benchtest.
25827         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25829 2013-11-18  Andreas Schwab  <schwab@suse.de>
25831         * locale/programs/locale.c (show_info) [case byte]: Check for
25832         '\377' instead of '\177'.
25833         * locale/C-monetary.c (not_available): Always use "\377".
25834         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25835         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25836         detect unavailable sign_posn locale elements.
25837         * locale/localeconv.c (__localeconv): For grouping and
25838         mon_grouping handle "\177" and "\377" like no grouping.
25839         (INT_ELEM): New macro.  Use it to set all numeric members.
25840         * locale/programs/ld-monetary.c (monetary_read)
25841         <tok_mon_grouping>: Normalize single -1 to the empty string.
25842         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25843         Likewise.
25845 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25847         [BZ #16055]
25848         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25849         when we match (nil).
25850         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25852 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25854         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25855         (NO_TEST_INLINE): Update value.
25856         (ERRNO_UNCHANGED): Likewise.
25857         (ERRNO_EDOM): Likewise.
25858         (ERRNO_ERANGE): Likewise.
25859         (IGNORE_RESULT): Likewise.
25860         (check_float_internal): Check signs of NaN results if
25861         TEST_NAN_SIGN used.
25862         (check_complex): Pass TEST_NAN_SIGN flag through to second
25863         check_float_internal call.
25864         (copysign_test_data): Add tests with quiet NaNs as second
25865         argument.  Use TEST_NAN_SIGN.
25866         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25867         TEST_NAN_SIGN.
25868         (signbit_test_data): Add tests of quiet NaN argument.
25869         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25871         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25872         $ignore_result.
25873         (parse_args): Handle function results specified as IGNORE.
25874         * math/libm-test.inc (IGNORE_RESULT): New macro.
25875         (check_float_internal): Do not check numerical result if flag
25876         IGNORE_RESULT set.
25877         (check_complex): Pass through IGNORE_RESULT to second
25878         check_float_internal call.
25879         (check_int): Do not check numerical result if flag IGNORE_RESULT
25880         set.
25881         (check_long): Likewise.
25882         (check_bool): Likewise.
25883         (check_longlong): Likewise.
25884         (lrint_test_data): Add tests of infinite and NaN arguments.
25885         (lrint_tonearest_test_data): Likewise.
25886         (lrint_towardzero_test_data): Likewise.
25887         (lrint_downward_test_data): Likewise.
25888         (lrint_upward_test_data): Likewise.
25889         (llrint_test_data): Likewise.
25890         (llrint_tonearest_test_data): Likewise.
25891         (llrint_towardzero_test_data): Likewise.
25892         (llrint_downward_test_data): Likewise.
25893         (llrint_upward_test_data): Likewise.
25894         (lround_test_data): Likewise.
25895         (llround_test_data): Likewise.
25897         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25898         (ERRNO_UNCHANGED): Update value.
25899         (ERRNO_EDOM): Likewise.
25900         (ERRNO_ERANGE): Likewise.
25901         (NO_TEST_INLINE_FLOAT): New macro.
25902         (NO_TEST_INLINE_DOUBLE): Likewise.
25903         (enable_test): New function.
25904         (RUN_TEST_f_f): Check enable_test before running test.
25905         (RUN_TEST_2_f): Likewise.
25906         (RUN_TEST_fff_f): Likewise.
25907         (RUN_TEST_c_f): Likewise.
25908         (RUN_TEST_f_f1): Likewise.
25909         (RUN_TEST_fF_f1): Likewise.
25910         (RUN_TEST_fI_f1): Likewise.
25911         (RUN_TEST_ffI_f1): Likewise.
25912         (RUN_TEST_c_c): Likewise.
25913         (RUN_TEST_cc_c): Likewise.
25914         (RUN_TEST_f_i): Likewise.
25915         (RUN_TEST_f_i_tg): Likewise.
25916         (RUN_TEST_ff_i_tg): Likewise.
25917         (RUN_TEST_f_b): Likewise.
25918         (RUN_TEST_f_b_tg): Likewise.
25919         (RUN_TEST_f_l): Likewise.
25920         (RUN_TEST_f_L): Likewise.
25921         (RUN_TEST_fFF_11): Likewise.
25922         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25923         conditionals.
25924         (cosh_test_data): Likewise.
25925         (exp_test_data): Likewise.
25926         (expm1_test_data): Likewise.
25927         (hypot_test_data): Likewise.
25928         (pow_test_data): Likewise.
25929         (sinh_test_data): Likewise.
25930         (tanh_test_data): Likewise.
25931         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25932         flags argument.
25934         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25935         tests with quiet NaN input and output.
25936         (acosh_test_data): Likewise.
25937         (asin_test_data): Likewise.
25938         (asinh_test_data): Likewise.
25939         (atan_test_data): Likewise.
25940         (atanh_test_data): Likewise.
25941         (atan2_test_data): Likewise.
25942         (cbrt_test_data): Likewise.
25943         (cos_test_data): Likewise.
25944         (cosh_test_data): Likewise.
25945         (erf_test_data): Likewise.
25946         (erfc_test_data): Likewise.
25947         (exp_test_data): Likewise.
25948         (exp10_test_data): Likewise.
25949         (exp2_test_data): Likewise.
25950         (expm1_test_data): Likewise.
25951         (hypot_test_data): Likewise.
25952         (j0_test_data): Likewise.
25953         (j1_test_data): Likewise.
25954         (jn_test_data): Likewise.
25955         (lgamma_test_data): Likewise.
25956         (log_test_data): Likewise.
25957         (log10_test_data): Likewise.
25958         (log1p_test_data): Likewise.
25959         (log2_test_data): Likewise.
25960         (pow_test_data): Likewise.
25961         (scalb_test_data): Likewise.
25962         (sin_test_data): Likewise.
25963         (sincos_test_data): Likewise.
25964         (sinh_test_data): Likewise.
25965         (tan_test_data): Likewise.
25966         (tanh_test_data): Likewise.
25967         (tgamma_test_data): Likewise.
25968         (y0_test_data): Likewise.
25969         (y1_test_data): Likewise.
25970         (yn_test_data): Likewise.
25972         [BZ #16167]
25973         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25974         argument being NaN and avoid computations with second argument in
25975         that case.
25976         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25977         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25978         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25980 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25982         * locale/iso-639.def: Add Chitwani Tharu (the).
25984 2013-11-14  Andreas Schwab  <schwab@suse.de>
25986         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25987         word instead of empty string.
25989 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25992         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25994         (__fe_nomask_env): Likewise.
25996 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25998         * benchtests/bench-timing.h: Include time.h.
26000 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26002         [BZ #15997]
26003         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26004         to 3.4.0 for x32.
26005         * sysdeps/unix/sysv/linux/configure: Regenerated.
26007 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26009         [BZ #16151]
26010         * stdlib/strtod_l.c (round_and_return): Do not consider
26011         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26012         exponent one less than half the least subnormal exponent.
26013         * stdlib/test-strtod-round-data: Add more tests.
26014         * stdlib/tst-strtod-round.c (tests): Regenerated.
26016 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26018         [BZ #14143]
26019         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26020         (__fe_mask_env): Likewise.
26021         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26022         libm_hidden_proto and add function prototype.
26023         (__fe_mask_env): Add function prototype.
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26025         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26027         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26029         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26031 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26033         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26034         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26036 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26038         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26039         of htab_find_slot().
26041 2013-11-11  David S. Miller  <davem@davemloft.net>
26043         [BZ #16150]
26044         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26045         symbol in the non-vis3 case in static builds.
26046         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26047         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26048         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26049         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26051 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26053         [BZ #387]
26054         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26055         it is empty.
26057 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26059         * benchtests/Makefile: Add bench-strtod.
26060         * benchtests/bench-strtod.c: New file: strtod benchtest
26062 2013-11-11  Andreas Schwab  <schwab@suse.de>
26064         [BZ #16153]
26065         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26066         terminating NUL in key length.
26068 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26071         Add artificial ODP entry for vDSO symbol for PPC64.
26072         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26073         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26075 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26077         [BZ #15374]
26078         * nss/getent.c (services_keys): Recognize services starting with digit.
26080 2013-11-06  David S. Miller  <davem@davemloft.net>
26082         [BZ #15985]
26083         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26084         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26086 2013-11-06  Will Newton  <will.newton@linaro.org>
26088         * manual/memory.texi (Malloc Examples): Remove register
26089         keyword from examples.
26091 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26093         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26095 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26097         [BZ #6981]
26098         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26099         depending on [__GCC_IEC_559 > 0].
26100         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26101         depending on [__GCC_IEC_559_COMPLEX > 0].
26103 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26105         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26106         to iso-639.def.
26108 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26110         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26112 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26114         [BZ #16112]
26115         * malloc/malloc (malloc_info): Do not handle first bin as
26116         special case.
26118 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26120         * locale/iso-639.def: Add Central Nahuatl (nhn).
26122 2013-11-01  Bruno Haible  <bruno@clisp.org>
26124         [BZ #7003]
26125         * manual/math.texi (BSD Random): Specify range upper bound as
26126         in POSIX.
26128 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26130         * locale/iso-639.def: Add Meadow Mari (mhr).
26132 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26134         [BZ #14752], [BZ #15763]
26135         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26136         Validate name.
26137         * rt/tst_shm.c: Add test for escaping directory.
26139 2013-10-31  Andreas Schwab  <schwab@suse.de>
26141         [BZ #15917]
26142         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26143         followed by 'x' as part of digit sequence.
26144         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26146 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26148         [BZ #16037]
26149         * configure.ac: allow GNU Make 4.0 and greater.
26150         * configure: Regenerated.
26152 2013-10-30  Will Newton  <will.newton@linaro.org>
26154         [BZ #16038]
26155         * malloc/hooks.c (memalign_check): Limit alignment to the
26156         maximum representable power of two.
26157         * malloc/malloc.c (__libc_memalign): Likewise.
26158         * malloc/tst-memalign.c (do_test): Add test for very
26159         large alignment values.
26160         * malloc/tst-posix_memalign.c (do_test): Likewise.
26162 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26164         [BZ #11087]
26165         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26166         (munmap_chunk): Likewise.
26167         (mremap_chunk): Likewise.
26169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26171         [BZ #15799]
26172         * stdlib/div.c (div): Remove obsolete code.
26173         * stdlib/ldiv.c (ldiv): Likewise.
26174         * stdlib/lldiv.c (lldiv): Likewise.
26176 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26178         [BZ #16071]
26179         * nss/nss_files/files-XXX.c (get_contents_ret): New
26180         enumerator.
26181         (get_contents): New function.
26182         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26184 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26186         * configure.in: Moved to ...
26187         * configure.ac: ... here. Change reference to configure.in
26188         to configure.ac.
26189         * sysdeps/arm/preconfigure.ac: ... here.
26190         configure.in to configure.ac.
26191         * sysdeps/gnu/configure.in: Moved to ...
26192         * sysdeps/gnu/configure.ac: ... here.
26193         * sysdeps/i386/configure.in: Moved to ...
26194         * sysdeps/i386/configure.ac: ... here.
26195         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26196         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26197         * sysdeps/mach/configure.in: Moved to ...
26198         * sysdeps/mach/configure.ac: ... here.
26199         * sysdeps/mach/hurd/configure.in: Moved to ...
26200         * sysdeps/mach/hurd/configure.ac: ... here.
26201         * sysdeps/powerpc/configure.in: Moved to ...
26202         * sysdeps/powerpc/configure.ac: ... here.
26203         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26204         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26205         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26206         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26207         * sysdeps/s390/s390-32/configure.in: Moved to ...
26208         * sysdeps/s390/s390-32/configure.ac: ... here.
26209         * sysdeps/s390/s390-64/configure.in: Moved to ...
26210         * sysdeps/s390/s390-64/configure.ac: ... here.
26211         * sysdeps/sh/configure.in: Moved to ...
26212         * sysdeps/sh/configure.ac: ... here.
26213         * sysdeps/sparc/configure.in: Moved to ...
26214         * sysdeps/sparc/configure.ac: ... here.
26215         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26216         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26217         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26218         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26219         * sysdeps/x86_64/configure.in: Moved to ...
26220         * sysdeps/x86_64/configure.ac: ... here.
26221         * sysdeps/x86_64/preconfigure.in: Moved to ...
26222         * sysdeps/x86_64/preconfigure.ac: ... here.
26223         * aclocal.m4: Change reference to configure.in to configure.ac.
26224         * config.h.in: Likewise.
26225         * manual/install.texi: Likewise.
26226         * manual/maint.texi: Likewise.
26227         * Makefile: Likewise.
26228         * malloc/Makefile: Likewise.
26229         * nscd/Makefile: Likewise.
26230         * Makeconfig: Change reference to configure.in and
26231         preconfigure.in to configure.ac and preconfigure.ac
26232         respectively.
26233         * INSTALL: Regenerated.
26234         * configure: Likewise.
26235         * sysdeps/gnu/configure: Likewise.
26236         * sysdeps/i386/configure: Likewise.
26237         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26238         * sysdeps/mach/configure: Likewise.
26239         * sysdeps/mach/hurd/configure: Likewise.
26240         * sysdeps/powerpc/configure: Likewise.
26241         * sysdeps/powerpc/powerpc32/configure: Likewise.
26242         * sysdeps/powerpc/powerpc64/configure: Likewise.
26243         * sysdeps/s390/s390-32/configure: Likewise.
26244         * sysdeps/s390/s390-64/configure: Likewise.
26245         * sysdeps/sh/configure: Likewise.
26246         * sysdeps/sparc/configure: Likewise.
26247         * sysdeps/unix/sysv/linux/configure: Likewise.
26248         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26249         * sysdeps/x86_64/configure: Likewise.
26250         * sysdeps/x86_64/preconfigure: Likewise.
26252 2013-10-29  Andreas Schwab  <schwab@suse.de>
26254         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26256 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26258         * benchtests/pow-inputs: Add new inputs.
26260         * benchtests/exp-inputs: Add new inputs.
26262         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26263         conditional check for return value.
26264         (__cos32): Likewise.
26266 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26268         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26269         to provide a boost for large inputs with word alignment.
26270         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26271         implementation based on optimized PPC64 strcpy.
26272         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26273         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26274         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26275         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26277 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26279         [BZ #2801]
26280         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26282 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26284         [BZ #14876]
26285         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26286         * time/tst-strptime.c (day_tests): Add testcase.
26288 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26290         [BZ #14029]
26291         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26293 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26295         [BZ #16074]
26296         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26297         MAP_FAILED on error.
26299 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26301         [BZ #16072]
26302         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26303         heap for large requests.
26305 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26307         [BZ #9954]
26308         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26309         result if the result has no associated interface.
26310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26311         interface for all 127.X.Y.Z addresses.
26313 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26315         * locale/iso-639.def: Add Ligurian (lij)
26317 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26319         [BZ #15825]
26320         * sunrpc/rpc_main.c: Document rpcgen -5.
26322 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26324         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26326 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26328         [BZ #10278]
26329         * posix/glob.c: Match only directories when trailing slash is present.
26330         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26331         (main): Add testcase.
26333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26335         [BZ #15670]
26336         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26338 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26340         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26341         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26342         AUTH_DES and cindex for FIPS 140-2.
26343         (DES Encryption): Add cindex FIPS 46-3.
26345         * locale/locarchive.h (struct locarhandle): Add fname.
26346         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26347         if an optional argument was specified to --list-archive,
26348         otherwise NULL.
26349         * locale/programs/locarchive.c (show_archive_content): Take new
26350         argument fname and pass it via ah.fname to open_archive.
26351         * locale/programs/localedef.h: Update decl.
26352         (open_archive): If AH->fname is non-null, open that file
26353         rather than the default file name, and don't ignore ENOENT.
26354         (create_archive): Set AH.fname to NULL.
26355         (delete_locales_from_archive): Likewise.
26356         (add_locales_to_archive): Likewise.
26357         * locale/programs/locfile.c (write_all_categories): Likewise.
26359 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26360             Aldy Hernandez  <aldyh@redhat.com>
26362         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26363         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26364         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26365         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26366         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26367         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26368         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26369         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26370         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26371         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26373         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26374         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26375         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26376         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26377         Likewise.
26378         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26379         Likewise.
26380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26381         Likewise.
26382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26383         Likewise.
26384         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26385         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26386         Likewise.
26387         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26388         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26389         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26390         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26391         Likewise.
26392         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26393         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26394         * sysdeps/powerpc/preconfigure: Likewise.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26396         Likewise.
26397         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26398         Replace contents of file by #include of <fenv_libc.h>.
26399         * sysdeps/powerpc/soft-fp/sfp-machine.h
26400         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26401         and <sys/prctl.h>.
26402         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26405         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26406         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26415         Allow copysignl PLT reference to be missing.
26417 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26418             Joseph Myers  <joseph@codesourcery.com
26420         [BZ #15948]
26421         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26422         single character.
26423         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26425 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26427         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26428         * elf/tst-tls1.c: Likewise.
26429         * elf/tst-tls10.h: Likewise.
26430         * elf/tst-tls14.c: Likewise.
26431         * elf/tst-tls2.c: Likewise.
26432         * elf/tst-tls3.c: Likewise.
26433         * elf/tst-tls4.c: Likewise.
26434         * elf/tst-tls5.c: Likewise.
26435         * elf/tst-tls6.c: Likewise.
26436         * elf/tst-tls7.c: Likewise.
26437         * elf/tst-tls8.c: Likewise.
26438         * elf/tst-tls9.c: Likewise.
26439         * elf/tst-tlsmod1.c: Likewise.
26440         * elf/tst-tlsmod13.c: Likewise.
26441         * elf/tst-tlsmod13a.c: Likewise.
26442         * elf/tst-tlsmod14a.c: Likewise.
26443         * elf/tst-tlsmod16a.c: Likewise.
26444         * elf/tst-tlsmod16b.c: Likewise.
26445         * elf/tst-tlsmod2.c: Likewise.
26446         * elf/tst-tlsmod3.c: Likewise.
26447         * elf/tst-tlsmod4.c: Likewise.
26448         * elf/tst-tlsmod5.c: Likewise.
26449         * elf/tst-tlsmod6.c: Likewise.
26451 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26453         [BZ #12486]
26454         * malloc/malloc.c: remove checks for statistics.
26456 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26458         [BZ #15277]
26459         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26460         * inet/tst-network.c: Add testcase.
26462 2013-10-17  Andreas Schwab  <schwab@suse.de>
26464         [BZ #15218]
26465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26466         to determine canonical name.
26468 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26470         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26471         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26472         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26473         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26475         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26476         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26477         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26478         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26479         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26480         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26487         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26488         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26489         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26490         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26493         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26494         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26496         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26497         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26498         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26499         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26500         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26501         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26502         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26503         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26504         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26505         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26507         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26508         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26510         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26511         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26512         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26513         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26514         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26515         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26516         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26517         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26518         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26519         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26520         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26521         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26522         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26523         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26524         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26525         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26527         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26529 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26531         [BZ #16041]
26532         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26533         make result into a quiet NaN.
26535 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26537         * soft-fp/adddf3.c: Fix horizontal whitespace.
26538         * soft-fp/addsf3.c: Likewise.
26539         * soft-fp/addtf3.c: Likewise.
26540         * soft-fp/divdf3.c: Likewise.
26541         * soft-fp/divsf3.c: Likewise.
26542         * soft-fp/divtf3.c: Likewise.
26543         * soft-fp/double.h: Likewise.
26544         * soft-fp/eqdf2.c: Likewise.
26545         * soft-fp/eqsf2.c: Likewise.
26546         * soft-fp/eqtf2.c: Likewise.
26547         * soft-fp/extenddftf2.c: Likewise.
26548         * soft-fp/extended.h: Likewise.
26549         * soft-fp/extendsfdf2.c: Likewise.
26550         * soft-fp/extendsftf2.c: Likewise.
26551         * soft-fp/extendxftf2.c: Likewise.
26552         * soft-fp/fixdfdi.c: Likewise.
26553         * soft-fp/fixdfsi.c: Likewise.
26554         * soft-fp/fixdfti.c: Likewise.
26555         * soft-fp/fixsfdi.c: Likewise.
26556         * soft-fp/fixsfsi.c: Likewise.
26557         * soft-fp/fixsfti.c: Likewise.
26558         * soft-fp/fixtfdi.c: Likewise.
26559         * soft-fp/fixtfsi.c: Likewise.
26560         * soft-fp/fixtfti.c: Likewise.
26561         * soft-fp/fixunsdfdi.c: Likewise.
26562         * soft-fp/fixunsdfsi.c: Likewise.
26563         * soft-fp/fixunsdfti.c: Likewise.
26564         * soft-fp/fixunssfdi.c: Likewise.
26565         * soft-fp/fixunssfsi.c: Likewise.
26566         * soft-fp/fixunssfti.c: Likewise.
26567         * soft-fp/fixunstfdi.c: Likewise.
26568         * soft-fp/fixunstfsi.c: Likewise.
26569         * soft-fp/fixunstfti.c: Likewise.
26570         * soft-fp/floatdidf.c: Likewise.
26571         * soft-fp/floatdisf.c: Likewise.
26572         * soft-fp/floatditf.c: Likewise.
26573         * soft-fp/floatsidf.c: Likewise.
26574         * soft-fp/floatsisf.c: Likewise.
26575         * soft-fp/floatsitf.c: Likewise.
26576         * soft-fp/floattidf.c: Likewise.
26577         * soft-fp/floattisf.c: Likewise.
26578         * soft-fp/floattitf.c: Likewise.
26579         * soft-fp/floatundidf.c: Likewise.
26580         * soft-fp/floatundisf.c: Likewise.
26581         * soft-fp/floatunditf.c: Likewise.
26582         * soft-fp/floatunsidf.c: Likewise.
26583         * soft-fp/floatunsisf.c: Likewise.
26584         * soft-fp/floatunsitf.c: Likewise.
26585         * soft-fp/floatuntidf.c: Likewise.
26586         * soft-fp/floatuntisf.c: Likewise.
26587         * soft-fp/floatuntitf.c: Likewise.
26588         * soft-fp/fmadf4.c: Likewise.
26589         * soft-fp/fmasf4.c: Likewise.
26590         * soft-fp/fmatf4.c: Likewise.
26591         * soft-fp/gedf2.c: Likewise.
26592         * soft-fp/gesf2.c: Likewise.
26593         * soft-fp/getf2.c: Likewise.
26594         * soft-fp/ledf2.c: Likewise.
26595         * soft-fp/lesf2.c: Likewise.
26596         * soft-fp/letf2.c: Likewise.
26597         * soft-fp/muldf3.c: Likewise.
26598         * soft-fp/mulsf3.c: Likewise.
26599         * soft-fp/multf3.c: Likewise.
26600         * soft-fp/negdf2.c: Likewise.
26601         * soft-fp/negsf2.c: Likewise.
26602         * soft-fp/negtf2.c: Likewise.
26603         * soft-fp/op-1.h: Likewise.
26604         * soft-fp/op-2.h: Likewise.
26605         * soft-fp/op-4.h: Likewise.
26606         * soft-fp/op-8.h: Likewise.
26607         * soft-fp/op-common.h: Likewise.
26608         * soft-fp/quad.h: Likewise.
26609         * soft-fp/single.h: Likewise.
26610         * soft-fp/soft-fp.h: Likewise.
26611         * soft-fp/sqrtdf2.c: Likewise.
26612         * soft-fp/sqrtsf2.c: Likewise.
26613         * soft-fp/sqrttf2.c: Likewise.
26614         * soft-fp/subdf3.c: Likewise.
26615         * soft-fp/subsf3.c: Likewise.
26616         * soft-fp/subtf3.c: Likewise.
26617         * soft-fp/truncdfsf2.c: Likewise.
26618         * soft-fp/trunctfdf2.c: Likewise.
26619         * soft-fp/trunctfsf2.c: Likewise.
26620         * soft-fp/trunctfxf2.c: Likewise.
26621         * soft-fp/unorddf2.c: Likewise.
26622         * soft-fp/unordsf2.c: Likewise.
26623         * soft-fp/unordtf2.c: Likewise.
26625 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26627         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26628         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26630 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26632         * elf/dl-libc.c: Clear initfini list after freeing.
26634 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26636         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26637         * soft-fp/addsf3.c: Likewise.
26638         * soft-fp/addtf3.c: Likewise.
26639         * soft-fp/divdf3.c: Likewise.
26640         * soft-fp/divsf3.c: Likewise.
26641         * soft-fp/divtf3.c: Likewise.
26642         * soft-fp/double.h: Likewise.
26643         * soft-fp/eqdf2.c: Likewise.
26644         * soft-fp/eqsf2.c: Likewise.
26645         * soft-fp/eqtf2.c: Likewise.
26646         * soft-fp/extenddftf2.c: Likewise.
26647         * soft-fp/extended.h: Likewise.
26648         * soft-fp/extendsfdf2.c: Likewise.
26649         * soft-fp/extendsftf2.c: Likewise.
26650         * soft-fp/extendxftf2.c: Likewise.
26651         * soft-fp/fixdfdi.c: Likewise.
26652         * soft-fp/fixdfsi.c: Likewise.
26653         * soft-fp/fixdfti.c: Likewise.
26654         * soft-fp/fixsfdi.c: Likewise.
26655         * soft-fp/fixsfsi.c: Likewise.
26656         * soft-fp/fixsfti.c: Likewise.
26657         * soft-fp/fixtfdi.c: Likewise.
26658         * soft-fp/fixtfsi.c: Likewise.
26659         * soft-fp/fixtfti.c: Likewise.
26660         * soft-fp/fixunsdfdi.c: Likewise.
26661         * soft-fp/fixunsdfsi.c: Likewise.
26662         * soft-fp/fixunsdfti.c: Likewise.
26663         * soft-fp/fixunssfdi.c: Likewise.
26664         * soft-fp/fixunssfsi.c: Likewise.
26665         * soft-fp/fixunssfti.c: Likewise.
26666         * soft-fp/fixunstfdi.c: Likewise.
26667         * soft-fp/fixunstfsi.c: Likewise.
26668         * soft-fp/fixunstfti.c: Likewise.
26669         * soft-fp/floatdidf.c: Likewise.
26670         * soft-fp/floatdisf.c: Likewise.
26671         * soft-fp/floatditf.c: Likewise.
26672         * soft-fp/floatsidf.c: Likewise.
26673         * soft-fp/floatsisf.c: Likewise.
26674         * soft-fp/floatsitf.c: Likewise.
26675         * soft-fp/floattidf.c: Likewise.
26676         * soft-fp/floattisf.c: Likewise.
26677         * soft-fp/floattitf.c: Likewise.
26678         * soft-fp/floatundidf.c: Likewise.
26679         * soft-fp/floatundisf.c: Likewise.
26680         * soft-fp/floatunsidf.c: Likewise.
26681         * soft-fp/floatunsisf.c: Likewise.
26682         * soft-fp/floatuntidf.c: Likewise.
26683         * soft-fp/floatuntisf.c: Likewise.
26684         * soft-fp/floatuntitf.c: Likewise.
26685         * soft-fp/fmadf4.c: Likewise.
26686         * soft-fp/fmasf4.c: Likewise.
26687         * soft-fp/fmatf4.c: Likewise.
26688         * soft-fp/gedf2.c: Likewise.
26689         * soft-fp/gesf2.c: Likewise.
26690         * soft-fp/getf2.c: Likewise.
26691         * soft-fp/ledf2.c: Likewise.
26692         * soft-fp/lesf2.c: Likewise.
26693         * soft-fp/letf2.c: Likewise.
26694         * soft-fp/muldf3.c: Likewise.
26695         * soft-fp/mulsf3.c: Likewise.
26696         * soft-fp/multf3.c: Likewise.
26697         * soft-fp/negdf2.c: Likewise.
26698         * soft-fp/negsf2.c: Likewise.
26699         * soft-fp/negtf2.c: Likewise.
26700         * soft-fp/op-1.h: Likewise.
26701         * soft-fp/op-2.h: Likewise.
26702         * soft-fp/op-4.h: Likewise.
26703         * soft-fp/op-8.h: Likewise.
26704         * soft-fp/op-common.h: Likewise.
26705         * soft-fp/quad.h: Likewise.
26706         * soft-fp/single.h: Likewise.
26707         * soft-fp/soft-fp.h: Likewise.
26708         * soft-fp/sqrtdf2.c: Likewise.
26709         * soft-fp/sqrtsf2.c: Likewise.
26710         * soft-fp/sqrttf2.c: Likewise.
26711         * soft-fp/subdf3.c: Likewise.
26712         * soft-fp/subsf3.c: Likewise.
26713         * soft-fp/subtf3.c: Likewise.
26714         * soft-fp/truncdfsf2.c: Likewise.
26715         * soft-fp/trunctfdf2.c: Likewise.
26716         * soft-fp/trunctfsf2.c: Likewise.
26717         * soft-fp/trunctfxf2.c: Likewise.
26718         * soft-fp/unorddf2.c: Likewise.
26719         * soft-fp/unordsf2.c: Likewise.
26720         * soft-fp/unordtf2.c: Likewise.
26722 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26724         [BZ #15672]
26725         * misc/error.c (error_tail): Fix possible buffer overflow.
26727 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26729         [BZ #13028]
26730         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26731         address.
26733 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26735         [BZ #832]
26736         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26737         testing pipefail option.
26739 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26741         * soft-fp/double.h: Indent preprocessor directives inside #if.
26742         * soft-fp/extended.h: Likewise.
26743         * soft-fp/op-2.h: Likewise.
26744         * soft-fp/op-4.h: Likewise.
26745         * soft-fp/op-common.h: Likewise.
26746         * soft-fp/quad.h: Likewise.
26747         * soft-fp/single.h: Likewise.
26748         * soft-fp/soft-fp.h: Likewise.
26750 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26752         * iconv/iconv_prog.c: Fix typos.
26753         * stdio-common/psiginfo-data.h: Likewise.
26755 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26757         [BZ #15764]
26758         * locale/setlocale.c: Fix typo.
26760 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26762         [BZ #16036]
26763         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26764         signaling NaN arguments.
26765         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26766         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26768         [BZ #14910]
26769         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26770         unordered operands.
26771         * soft-fp/gesf2.c (__gesf2): Likewise.
26772         * soft-fp/getf2.c (__getf2): Likewise.
26773         * soft-fp/ledf2.c (__ledf2): Likewise.
26774         * soft-fp/lesf2.c (__lesf2): Likewise.
26775         * soft-fp/letf2.c (__letf2): Likewise.
26777         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26778         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26779         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26780         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26781         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26782         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26783         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26784         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26785         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26786         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26787         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26788         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26789         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26790         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26791         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26792         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26793         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26794         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26795         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26796         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26797         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26798         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26799         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26800         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26801         * soft-fp/floattidf.c (__floattidf): Likewise.
26802         * soft-fp/floattisf.c (__floattisf): Likewise.
26803         * soft-fp/floattitf.c (__floattitf): Likewise.
26804         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26805         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26806         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26807         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26808         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26809         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26810         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26811         * soft-fp/gesf2.c (__gesf2): Likewise.
26812         * soft-fp/getf2.c (__getf2): Likewise.
26813         * soft-fp/ledf2.c (__ledf2): Likewise.
26814         * soft-fp/lesf2.c (__lesf2): Likewise.
26815         * soft-fp/letf2.c (__letf2): Likewise.
26817         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26818         Undefine and redefine.
26819         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26820         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26821         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26822         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26823         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26824         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26825         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26826         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26827         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26828         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26829         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26830         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26831         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26832         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26833         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26835         [BZ #16032]
26836         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26837         without decrementing exponent if mantissa >= that for the
26838         denominator, not >.
26839         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26840         denominator, not >.  Decrement exponent in < case instead of
26841         incrementing in >= case.
26842         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26843         without decrementing exponent if mantissa >= that for the
26844         denominator, not >.
26846         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26847         computing saturated result for unsigned overflow.
26849 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850             Jeff Law  <law@redhat.com>
26852         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26853         (atan2Mp): Add systemtap probe marker.
26854         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26855         (__ieee754_log): Add systemtap probe marker.
26856         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26857         (atanMp): Add systemtap probe marker.
26858         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26859         (tanMp): Add systemtap probe marker.
26860         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26861         (__slowexp): Add systemtap probe marker.
26862         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26863         (__slowpow): Add systemtap probe marker.
26864         * manual/probes.texi: Document probes.
26866 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26868         [BZ #15362]
26869         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26870         written.
26871         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26872         written.
26873         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26874         written to buffer but not flushed.
26875         * libio/iofwrite_u.c:  Likewise.
26876         * libio/iopadn.c:  Return bytes returned even if EOF was
26877         encountered.
26878         * libio/iowpadn.c:  Likewise.
26879         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26880         if _IO_padn does not write the whole buffer.
26881         [!COMPILE_WPRINTF] (PAD): Likewise.
26883 2013-10-10  David S. Miller  <davem@davemloft.net>
26885         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26886         directory block.
26888 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26890         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26891         instead of FSF address.
26892         * soft-fp/fixdfti.c: Likewise.
26893         * soft-fp/fixsfti.c: Likewise.
26894         * soft-fp/fixtfti.c: Likewise.
26895         * soft-fp/fixunsdfti.c: Likewise.
26896         * soft-fp/fixunssfti.c: Likewise.
26897         * soft-fp/fixunstfti.c: Likewise.
26898         * soft-fp/floattidf.c: Likewise.
26899         * soft-fp/floattisf.c: Likewise.
26900         * soft-fp/floattitf.c: Likewise.
26901         * soft-fp/floatuntidf.c: Likewise.
26902         * soft-fp/floatuntisf.c: Likewise.
26903         * soft-fp/floatuntitf.c: Likewise.
26904         * soft-fp/trunctfxf2.c: Likewise.
26906         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26907         * soft-fp/fixdfti.c: Likewise.
26908         * soft-fp/fixsfti.c: Likewise.
26909         * soft-fp/fixtfti.c: Likewise.
26910         * soft-fp/fixunsdfti.c: Likewise.
26911         * soft-fp/fixunssfti.c: Likewise.
26912         * soft-fp/fixunstfti.c: Likewise.
26913         * soft-fp/floattidf.c: Likewise.
26914         * soft-fp/floattisf.c: Likewise.
26915         * soft-fp/floattitf.c: Likewise.
26916         * soft-fp/floatuntidf.c: Likewise.
26917         * soft-fp/floatuntisf.c: Likewise.
26918         * soft-fp/floatuntitf.c: Likewise.
26919         * soft-fp/trunctfxf2.c: Likewise.
26921 2013-10-10  David S. Miller  <davem@davemloft.net>
26923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26925 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26927         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26928         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26929         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26930         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26931         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26932         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26933         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26936         for NaNs before doing comparisons on argument.
26937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26938         Likewise.
26940 2013-10-10  Will Newton  <will.newton@linaro.org>
26942         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26943         passed to _int_memalign does not overflow.
26945 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26947         * scripts/bench.pl: Add include-sources directive.
26948         * benchtests/README: Update documentation.
26950 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26952         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26953         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26954         instead of FP_INIT_ROUNDMODE.
26955         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26956         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26958         [BZ #16034]
26959         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26960         copy class of input value.
26961         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26962         not handle exceptions.
26963         * soft-fp/negsf2.c (__negsf2): Likewise.
26964         * soft-fp/negtf2.c (__negtf2): Likewise.
26965         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26967 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26969         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26970         semicolon.  From Linux kernel.
26972 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26974         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26976 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26978         [BZ #156]
26979         * manual/socket.texi: Added statement about buffer
26980         for gethostbyname2_r.
26982 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26984         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26985         Use .p2align directive instead, throughout.
26986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26987         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26988         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26991         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26992         * sysdeps/x86_64/strchr.S: Likewise.
26993         * sysdeps/x86_64/strrchr.S: Likewise.
26995 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26997         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26999         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27001         * sysdeps/generic/math_private.h (__mpsin1): Remove
27002         declaration.
27003         (__mpcos1): Likewise.
27004         (__mpsin): New argument __range_reduce.
27005         (__mpcos): Likewise.
27006         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27007         (slow): Use __mpsin and __mpcos.
27008         (slow1): Likewise.
27009         (slow2): Likewise.
27010         (sloww): Likewise.
27011         (sloww1): Likewise.
27012         (sloww2): Likewise.
27013         (bsloww): Likewise.
27014         (bsloww1): Likewise.
27015         (bsloww2): Likewise.
27016         (cslow2): Likewise.
27017         (csloww): Likewise.
27018         (csloww1): Likewise.
27019         (csloww2): Likewise.
27020         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27021         range_reduce.  Merge in __mpsin1.
27022         (__mpcos): Likewise.
27023         (__mpsin1): Remove.
27024         (__mpcos1): Likewise.
27026 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27028         * locale/loadlocale.c (_nl_intern_locale_data): Use
27029         LOCFILE_ALIGNED_P.
27030         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27031         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27032         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27033         obstack data is appropriately aligned.
27034         (obstack_int32_grow_fast): Likewise.
27035         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27036         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27037         (add_locale_uint32_array): Likewise.
27039 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27041         * benchtests/Makefile: Remove ARGLIST and RET variables.
27042         ($(objpfx)bench-%.c): Pass only function name to the script.
27043         * benchtests/README: Update documentation.
27044         * benchtests/acos-inputs: Add new directives.
27045         * benchtests/acosh-inputs: Likewise.
27046         * benchtests/asin-inputs: Likewise.
27047         * benchtests/asinh-inputs: Likewise.
27048         * benchtests/atan-inputs: Likewise.
27049         * benchtests/atanh-inputs: Likewise.
27050         * benchtests/cos-inputs: Likewise.
27051         * benchtests/cosh-inputs: Likewise.
27052         * benchtests/exp-inputs: Likewise.
27053         * benchtests/log-inputs: Likewise.
27054         * benchtests/pow-inputs: Likewise.
27055         * benchtests/rint-inputs: Likewise.
27056         * benchtests/sin-inputs: Likewise.
27057         * benchtests/sinh-inputs: Likewise.
27058         * benchtests/tan-inputs: Likewise.
27059         * benchtests/tanh-inputs: Likewise.
27060         * scripts/bench.pl: Add support for new directives.
27062 2013-10-07  Alan Modra  <amodra@gmail.com>
27064         * README: Fix careless merge.
27066 2013-10-05  Alan Modra  <amodra@gmail.com>
27068         * NEWS: Mention powerpc64le support and bugs fixed.
27069         * README: Both big-endian and little-endian powerpc64 supported.
27071 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27073         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27074         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27075         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27076         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27078 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27080         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27081         match prototype.
27083 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27085         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27086         Move -mhard-float appending from
27087         ports/sysdeps/powerpc/powerpc32/Makefile.
27088         [$(with-fp) = yes] (ASFLAGS): Likewise.
27089         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27090         * sysdeps/powerpc/nofpu: Move directory from
27091         ports/sysdeps/powerpc/nofpu.
27092         * sysdeps/powerpc/soft-fp: Move directory from
27093         ports/sysdeps/powerpc/soft-fp.
27094         * sysdeps/powerpc/powerpc32/405: Move directory from
27095         ports/sysdeps/powerpc/powerpc32/405.
27096         * sysdeps/powerpc/powerpc32/440: Move directory from
27097         ports/sysdeps/powerpc/powerpc32/440.
27098         * sysdeps/powerpc/powerpc32/464: Move directory from
27099         ports/sysdeps/powerpc/powerpc32/464.
27100         * sysdeps/powerpc/powerpc32/476: Move directory from
27101         ports/sysdeps/powerpc/powerpc32/476.
27102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27103         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27105         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27112         * README: Update for powerpc-*-linux-gnu software floating point
27113         support in libc.
27115         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27116         case to powerpc/powerpc32*.
27117         * sysdeps/unix/sysv/linux/configure: Regenerated.
27119         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27120         (_FPU_MASK_OM): Define as 0x04.
27121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27123         0x00c10080.
27124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27125         0x0000003c.
27126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27129         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27130         getcontext_e500.
27131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27132         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27133         setcontext_e500.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27135         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27136         and setcontext_e500.
27138 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27140         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27142 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27144         * manual/threads.texi (Default Thread Attributes): Fix typo.
27146 2013-10-04  Will Newton  <will.newton@linaro.org>
27148         * malloc/Makefile: Add tst-memalign.
27149         * malloc/tst-memalign.c: New file.
27151         * malloc/tst-posix_memalign.c: Add comments.
27152         (do_test): Add comments and call free on all potentially
27153         allocated pointers. Add space after cast.
27155         * malloc/tst-pvalloc.c: Add comments.
27156         (do_test): Add comments and call free on all potentially
27157         allocated pointers. Remove duplicate check for NULL pointer.
27158         Add space after cast.
27160         * malloc/tst-valloc.c: Add comments.
27161         (do_test): Add comments and call free on all potentially
27162         allocated pointers. Remove duplicate check for NULL pointer.
27163         Add space after cast.
27165 2013-10-04  Alan Modra  <amodra@gmail.com>
27167         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27168         Use stdint types in rather than __attribute__((mode())).
27169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27171 2013-10-04  Alan Modra  <amodra@gmail.com>
27173         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27174         Correct handling of unaligned relocs for little-endian.
27175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27177 2013-10-04  Alan Modra  <amodra@gmail.com>
27179         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27180         * configure: Regenerate.
27181         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27182         * shlib-versions: Likewise.
27184 2013-10-04  Alan Modra  <amodra@gmail.com>
27186         * string/tester.c (test_memrchr): Increment reported test cycle.
27188 2013-10-04  Alan Modra  <amodra@gmail.com>
27190         * string/test-memcpy.c (do_one_test): When reporting errors, print
27191         string address and don't overrun end of string.
27193 2013-10-04  Alan Modra  <amodra@gmail.com>
27195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27196         insrdi.  Make better use of reg selection to speed exit slightly.
27197         Schedule entry path a little better.  Remove useless "are we done"
27198         checks on entry to main loop.  Handle wrapping around zero address.
27199         Correct main loop count.  Handle single left-over word from main
27200         loop inline rather than by using loop_small.  Remove extra word
27201         case in loop_small caused by wrong loop count.  Add little-endian
27202         support.
27203         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27204         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27205         cache hint.
27206         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27207         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27208         support.  Avoid rlwimi.
27209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27211 2013-10-04  Alan Modra  <amodra@gmail.com>
27213         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27214         insrdi.  Formatting.
27215         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27216         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27217         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27218         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27219         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27220         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27222 2013-10-04  Alan Modra  <amodra@gmail.com>
27224         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27225         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27226         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27227         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27231         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27233         use of regs.  Use power7 mtocrf.  Tidy function tails.
27235 2013-10-04  Alan Modra  <amodra@gmail.com>
27237         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27238         Formatting.  Consistently use rXXX register defines or rN defines.
27239         Use early exit labels that avoid restoring unused non-volatile regs.
27240         Make cr field use more consistent with rWORDn compares.  Rename
27241         regs used as shift registers for unaligned loop, using rN defines
27242         for short lifetime/multiple use regs.
27243         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27244         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27245         addi 1,1,64 to pop stack frame.  Simplify return value code.
27246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27248 2013-10-04  Alan Modra  <amodra@gmail.com>
27250         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27251         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27252         rather than rlwimi.
27253         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27254         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27255         little-endian support.  Correct typos.
27256         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27257         rather than rlwimi.
27258         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27259         in loop and entry code to keep "and." results.
27260         (strchr): Add little-endian support.  Comment.  Move cntlzd
27261         earlier in tail.
27262         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27264 2013-10-04  Alan Modra  <amodra@gmail.com>
27266         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27267         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27268         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27269         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27271 2013-10-04  Alan Modra  <amodra@gmail.com>
27273         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27274         (rTMP): Define as r11.
27275         (strcmp): Add little-endian support.  Optimise tail.
27276         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27277         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27278         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27279         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27280         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27281         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27282         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27284 2013-10-04  Alan Modra  <amodra@gmail.com>
27286         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27287         little-endian support.  Remove unnecessary "are we done" tests.
27288         Handle "s" wrapping around zero and extremely large "size".
27289         Correct main loop count.  Handle single left-over word from main
27290         loop inline rather than by using small_loop.  Correct comments.
27291         Delete "zero" tail, use "end_max" instead.
27292         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27294 2013-10-04  Alan Modra  <amodra@gmail.com>
27296         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27297         support.  Don't branch over align.
27298         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27299         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27300         support.  Rearrange tmp reg use to suit.  Comment.
27301         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27303 2013-10-04  Alan Modra  <amodra@gmail.com>
27305         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27307 2013-10-04  Alan Modra  <amodra@gmail.com>
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27310         conditional form of branch and link when obtaining pc.
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27313 2013-10-04  Alan Modra  <amodra@gmail.com>
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27316         HIWORD/LOWORD.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27320 2013-10-04  Alan Modra  <amodra@gmail.com>
27322         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27323         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27324         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27325         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27326         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27327         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27328         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27329         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27330         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27331         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27333 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27334             Alistair Popple <alistair@ozlabs.au.ibm.com>
27335             Alan Modra <amodra@gmail.com>
27337         [BZ #15723]
27338         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27340         _dl_hwcap access for little-endian.
27341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27342         destroy vmx regs when saving unaligned.
27343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27345         destroy vmx regs when saving unaligned.
27347 2013-10-04  Alan Modra  <amodra@gmail.com>
27349         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27350         Don't use a union to pack hi/low value.
27352 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27354         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27355         for little-endian.
27356         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27357         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27358         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27359         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27360         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27362 2013-10-04  Alan Modra  <amodra@gmail.com>
27364         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27365         constants to usual value for .cst8 section, and remove redundant
27366         high address load.
27367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27368         constant for 0x1p52.  Load little-endian words of double from
27369         correct stack offsets.
27371 2013-10-04  Alan Modra  <amodra@gmail.com>
27373         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27374         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27375         words of double from correct stack offsets.
27376         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27377         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27378         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27380         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27383         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27388         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27389         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27391         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27392         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27394 2013-10-04  Alan Modra  <amodra@gmail.com>
27396         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27397         64-bit int/double union.
27398         (_FPU_SETCW): Likewise.
27399         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27400         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27402 2013-10-04  Alan Modra  <amodra@gmail.com>
27404         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27405         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27407 2013-10-04  Alan Modra  <amodra@gmail.com>
27409         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27410         use vector int constants.
27411         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27413 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27415         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27416         array with long long.
27417         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27418         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27419         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27420         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27421         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27422         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27423         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27425         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27426         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27427         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27428         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27429         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27431 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27433         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27434         (__signbit): Likewise.  Correct for little-endian.
27435         (__signbitl): Call __signbit.
27436         (lrint): Correct for little-endian.
27437         (lrintf): Call lrint.
27439 2013-10-04  Alan Modra  <amodra@gmail.com>
27441         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27442         union 32-bit int array member with 64-bit int array.
27443         (t515, tm256): Double rather than long double.
27444         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27446 2013-10-04  Alan Modra  <amodra@gmail.com>
27448         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27449         Delete.
27450         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27452         version of math_ldbl.h.
27454 2013-10-04  Alan Modra  <amodra@gmail.com>
27456         [BZ #15734], [BZ #15735]
27457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27458         all uses of ieee875 long double macros and unions.  Simplify test
27459         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27460         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27461         normalize after ldbl_extract_mantissa, and don't add hidden bit
27462         already handled.  Don't treat low word of ieee854 mantissa like
27463         low word of IBM long double and mask off bit when testing for
27464         zero.
27465         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27466         all uses of ieee875 long double macros and unions.  Simplify tests
27467         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27468         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27469         two1022, instead use their values.  Recognise that tests for large
27470         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27471         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27472         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27473         test for 0.0L and nan.  Correct negation.
27474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27475         ieee875 long double macros and unions.  Correct output for large
27476         magnitude x.  Correct absolute value calculation.
27477         (__erfcl): Likewise.
27478         * math/libm-test.inc: Add tests for errors discovered in IBM long
27479         double versions of fmodl, remainderl, erfl and erfcl.
27481 2013-10-04  Alan Modra  <amodra@gmail.com>
27483         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27484         all uses of ieee854 long double macros and unions.  Simplify tests
27485         for long doubles that are fully specified by the high double.
27486         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27487         Likewise.
27488         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27489         Remove dead code too.
27490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27491         (__ieee754_ynl): Likewise.
27492         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27495         Remove dead code too.
27496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27497         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27500         Simplify.
27501         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27502         Simplify.
27503         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27506         Comment on variable precision.
27507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27509         Likewise.
27510         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27514         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27516 2013-10-04  Alan Modra  <amodra@gmail.com>
27518         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27520         all uses of ieee854 long double macros and unions.
27521         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27522         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27526         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27527         Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27531         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27533         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27534         Simplify sign and nan test too.
27535         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27536         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27537         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27538         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27539         Likewise.
27540         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27541         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27542         Likewise.
27543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27544         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27546         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27547         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27550 2013-10-04  Alan Modra  <amodra@gmail.com>
27552         * stdio-common/printf_size.c (__printf_size): Don't use
27553         union ieee854_long_double in fpnum union.
27554         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27555         signbit macro to retrieve sign from long double.
27556         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27557         retrieve sign from long double.
27558         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27559         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27560         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27561         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27562         * math/test-misc.c (main): Don't use union ieee854_long_double.
27564 2013-10-04  Alan Modra  <amodra@gmail.com>
27566         [BZ #15680]
27567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27568         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27569         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27570         calculation.  Remove unnecessary test for denormal exponent.
27571         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27572         Correct handling of denormals.  Avoid undefined shift behaviour.
27573         Correct normalisation of low mantissa when low double is denormal.
27574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27575         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27576         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27577         Correct normalisation of low mantissa.  Test for overflow of high
27578         mantissa and normalise.
27579         (ldbl_nearbyint): Use more readable constant for two52.
27580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27581         (__mpn_construct_long_double): Fix test for overflow of high
27582         mantissa and correct normalisation.  Avoid undefined shift.
27584 2013-10-04  Alan Modra  <amodra@gmail.com>
27586         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27587         (union ibm_extended_long_double): Define as an array of ieee754_double.
27588         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27590         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27593         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27595         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27596         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27597         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27600 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27602         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27603         page size instead of calling getpagesize.
27605         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27606         (LOCFILE_ALIGN_MASK): Likewise.
27607         (LOCFILE_ALIGN_UP): Likewise.
27608         (LOCFILE_ALIGNED_P): Likewise.
27609         * locale/programs/ld-collate.c (collate_output): Use the new
27610         macros instead of __alignof__ (int32_t).
27611         * locale/weight.h (findidx): Likewise.
27613 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27615         [BZ #431]
27616         * manual/string.texi: Fix strncat and wcsncat.
27618 2013-10-03  Brooks Moses  <bmoses@google.com>
27620         [BZ #15915]
27621         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27622         * Makerules: ...here, and adjust associated comments.
27624 2013-10-02  Will Newton  <will.newton@linaro.org>
27626         * malloc/Makefile: Add tst-pvalloc.
27627         * malloc/tst-pvalloc.c: New file.
27629 2013-10-02  Will Newton  <will.newton@linaro.org>
27631         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27632         improve test coverage.
27634 2013-10-02  Will Newton  <will.newton@linaro.org>
27636         * malloc/Makefile: Add tst-posix_memalign.
27637         * malloc/tst-posix_memalign.c: New file.
27639 2013-10-01  Eric Blake  <eblake@redhat.com>
27641         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27642         Use __THROWNL rather than __THROW on static functions.
27644 2013-09-30  Petr Machata  <pmachata@redhat.com>
27646         * elf/elf.h (R_AARCH64_ABS16): New macro.
27647         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27648         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27649         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27650         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27651         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27652         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27653         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27654         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27655         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27656         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27657         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27658         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27659         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27660         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27661         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27662         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27663         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27664         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27665         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27666         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27667         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27668         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27669         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27670         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27671         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27672         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27673         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27674         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27675         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27676         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27677         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27678         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27679         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27680         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27681         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27682         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27683         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27684         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27685         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27686         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27687         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27688         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27689         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27690         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27691         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27692         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27693         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27694         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27695         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27696         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27697         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27698         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27699         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27700         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27701         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27702         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27703         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27704         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27705         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27706         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27707         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27708         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27709         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27710         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27711         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27712         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27713         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27714         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27715         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27716         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27717         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27718         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27719         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27720         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27721         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27722         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27723         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27724         (R_AARCH64_TLSDESC_LDR): Likewise.
27725         (R_AARCH64_TLSDESC_ADD): Likewise.
27726         (R_AARCH64_TLSDESC_CALL): Likewise.
27728 2013-09-30  Andreas Schwab  <schwab@suse.de>
27730         [BZ #15048]
27731         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27732         the nss database lookup.
27733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27736 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27738         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27740 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27742         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27743         ${Bash-specific parameter/pattern/string} parameter expansion.
27744         * sysdeps/unix/make-syscalls.sh: Likewise.
27746 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27748         * sysdeps/sh/stackguard-macros.h: New file.
27750 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27754         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27755         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27756         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27757         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27759 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27761         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27762         Fix thread ID register.
27764 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27766         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27767         [POSIX || UNIX98]: Require rather than permitting all symbols from
27768         <time.h>.
27769         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27770         element of struct sched_param.
27771         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27772         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27773         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27774         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27775         constant.
27777 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27779         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27780         argument calculation.
27782 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27784         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27785         Expect macro.
27786         [POSIX] (pthread_attr_t): Do not require type.
27787         [POSIX] (pthread_cond_t): Likewise.
27788         [POSIX] (pthread_condattr_t): Likewise.
27789         [POSIX] (pthread_key_t): Likewise.
27790         [POSIX] (pthread_mutex_t): Likewise.
27791         [POSIX] (pthread_mutexattr_t): Likewise.
27792         [POSIX] (pthread_once_t): Likewise.
27793         [POSIX] (pthread_t): Likewise.
27794         [POSIX-based standards] (pthread_atfork): Expect function.
27796 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27797             Richard Sandiford  <richard@codesourcery.com>
27799         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27800         (swap_endianness_p): New extern variable.
27801         (set_big_endian): New inline function.
27802         (maybe_swap_uint32): Likewise.
27803         (maybe_swap_uint32_array): Likewise.
27804         (maybe_swap_uint32_obstack): Likewise.
27805         * locale/programs/locfile.c: Include <stdbool.h>.
27806         (swap_endianness_p): New variable.
27807         (add_locale_uint32): Call maybe_swap_uint32.
27808         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27809         (write_locale_data): Call maybe_swap_uint32_array.
27810         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27811         maybe_swap_uint32.
27812         (obstack_int32_grow_fast): Likewise.
27813         (output_weightwc): Call maybe_swap_uint32_obstack.
27814         (collate_output): Likewise.
27815         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27816         (OPT_LITTLE_ENDIAN): Likewise.
27817         (options): Add --little-endian and --big-endian options.
27818         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27819         * locale/programs/locarchive.c: Include "locfile.h".
27820         (GET): New macro.
27821         (SET): Likewise.
27822         (INC): Likewise.
27823         (create_archive): Use the new macros to access fields of
27824         structures directly mapped from or written to locale archives.
27825         (oldlocrecentcmp): Likewise.
27826         (enlarge_archive): Likewise.
27827         (insert_name): Likewise.
27828         (add_alias): Likewise.
27829         (add_locale): Likewise.
27830         (delete_locales_from_archive): Likewise.
27831         (show_archive_content): Likewise.
27832         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27833         locale data.
27835 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27837         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27838         http://www.gnu.org/doc/freemanuals.texi.
27839         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27841 2013-09-24  Will Newton  <will.newton@linaro.org>
27843         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27844         macro.
27846 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27848         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27849         unsigned char.
27851 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27853         * manual/threads.texi (POSIX Threads): Fix a typo.
27855 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27857         [BZ #14547]
27858         * string/tst-strcoll-overflow.c: New test case.
27859         * string/Makefile (xtests): Add tst-strcoll-overflow.
27860         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27861         cache if string sizes may cause integer overflow.
27863         [BZ #14547]
27864         * string/strcoll_l.c (coll_seq): New members rule, idx,
27865         save_idx and back_us.
27866         (get_next_seq_nocache): New function.
27867         (do_compare_nocache): New function.
27868         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27869         when malloc fails.
27871 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27873         [BZ #15754]
27874         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27875         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27876         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27878         [BZ #15754]
27879         * elf/Makefile (tests): Add tst-ptrguard1.
27880         (tests-static): Add tst-ptrguard1-static.
27881         (tst-ptrguard1-ARGS): Define.
27882         (tst-ptrguard1-static-ARGS): Define.
27883         * elf/tst-ptrguard1.c: New file.
27884         * elf/tst-ptrguard1-static.c: New file.
27885         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27886         * sysdeps/i386/stackguard-macros.h: Likewise.
27887         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27888         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27889         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27890         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27891         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27892         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27894 2013-09-23  Hector Marco  <hecmargi@upv.es>
27895             Ismael Ripoll  <iripoll@disca.upv.es>
27896             Carlos O'Donell  <carlos@redhat.com>
27898         [BZ #15754]
27899         * sysdeps/generic/stackguard-macros.h: Define
27900         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27901         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27902         Define __pointer_chk_guard_local.
27903         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27904         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27906 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27908         [BZ #15859]
27909         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27911 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27913         * include/string.h (__ffs): Declare as hidden.
27914         * string/ffs.c (__ffs): Define as hidden.
27915         * sysdeps/i386/ffs.c (__ffs): Likewise.
27916         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27917         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27918         * sysdeps/s390/ffs.c (__ffs): Likewise.
27919         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27921 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27923         * NEWS: Mention malloc probes.
27925         * malloc/arena.c (new_heap): New memory_heap_new probe.
27926         (grow_heap): New memory_heap_more probe.
27927         (shrink_heap): New memory_heap_less probe.
27928         (heap_trim): New memory_heap_free probe.
27929         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27930         (systrim): New memory_sbrk_less probe.
27931         * manual/probes.texi: Document them.
27933         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27934         * manual/probes.texi: Document it.
27936         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27937         (__libc_realloc): Add memory_realloc_retry probe.
27938         (__libc_memalign): Add memory_memalign_retry probe.
27939         (__libc_valloc): Add memory_valloc_retry probe.
27940         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27941         (__libc_calloc): Add memory_calloc_retry probe.
27942         * manual/probes.texi: Document them.
27944         * malloc/arena.c (get_free_list): Add probe
27945         memory_arena_reuse_free_list.
27946         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27947         and memory_arena_reuse.
27948         (arena_get2) [!PER_THREAD]: Likewise.
27949         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27950         memory_arena_reuse_realloc.
27951         * manual/probes.texi: Document them.
27953         * malloc/malloc.c (__libc_free): Add
27954         memory_mallopt_free_dyn_thresholds probe.
27955         (__libc_mallopt): Add multiple memory_mallopt probes.
27956         * manual/probes.texi: Document them.
27958         * malloc/malloc.c: Include stap-probe.h.
27959         (__libc_mallopt): Add memory_mallopt probe.
27960         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27961         * manual/probes.texi: New.
27962         * manual/Makefile (chapters): Add probes.
27963         * manual/threads.texi: Set next node.
27965 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27967         [BZ #15963, #13985]
27968         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27969         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27970         Add `Chinese' to `nan' entry name.
27972 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27974         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27975         (POLYNOMIAL): Likewise.
27976         (TAYLOR_SINCOS): Likewise.
27977         (TAYLOR_SLOW): Likewise.
27978         (__sin): Use TAYLOR_SINCOS.
27979         (__cos): Likewise.
27980         (slow): Use TAYLOR_SLOW.
27981         (sloww): Likewise.
27982         (bsloww): Likewise.
27983         (csloww): Likewise.
27985 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27987         * stdlib/strtod_l.c: Fix buffer overrun.
27989 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * benchtests/Makefile (bench): Add sincos.
27992         * benchtests/bench-sincos.c: New file.
27994         * math/libm-test.inc (cos_test_data): New test inputs.
27995         (sin_test_data): Likewise.
27997         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27998         macro.
27999         (__sin): Use it.
28000         (__cos): Likewise.
28001         (slow1): Likewise.
28002         (slow2): Likewise.
28003         (sloww1): Likewise.
28004         (sloww2): Likewise.
28005         (bsloww1): Likewise.
28006         (bsloww2): Likewise.
28007         (cslow2): Likewise.
28008         (csloww1): Likewise.
28009         (csloww2): Likewise.
28011         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28012         function.
28013         (__sin): Use it.
28014         (__cos): Likewise.
28016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28017         gotos.
28018         (__cos): Likewise.
28020 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28022         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28023         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28024         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28025         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28026         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28027         * elf/cache.c (print_entry): Handle the new cache flags.
28029 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28030             Aldy Hernandez  <aldyh@redhat.com>
28032         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28033         Change condition to [_SOFT_FLOAT].
28034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28037         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28046         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28049         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28050         declaration.
28052 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28054         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28055         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28056         (__longjmp): Use LOAD_GP to load saved GPRs.
28057         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28058         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28059         (__sigsetjmp): Use SAVE_GP to save GPRs.
28061         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28062         Do not append -msoft-float.
28063         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28065 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28067         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28069 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28071         [BZ #15966]
28072         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28073         (_FPU_GETCW): Use initial "__" on variable and field names but not
28074         on macro parameter name.
28075         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28076         parentheses around reference to macro parameter.
28078 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28080         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28081         prototype.
28082         (ctype_startup): Use uint32_t in cast and sizeof for
28083         ctype->charnames.
28085 2013-09-11  Jia Liu  <proljc@gmail.com>
28087         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28088         __daddr_t_defined.
28089         [__FreeBSD__]: Likewise.
28091 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28094         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28095         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28096         (strchr): Remove __strchr_sse42 ifunc selection.
28097         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28098         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28100 2013-09-11  Will Newton  <will.newton@linaro.org>
28102         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28103         parameter to RES. Remove hardcoded 1000 value.
28104         * benchtests/bench-skeleton.c (main): Pass RES parameter
28105         to TIMING_INIT and multiply result by 1000.
28107 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28111 2013-09-11  Andreas Schwab  <schwab@suse.de>
28113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28114         if not defined.
28115         (O_TMPFILE) [__USE_GNU]: Define.
28116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28117         Define.
28119 2013-09-11  Will Newton  <will.newton@linaro.org>
28121         [BZ #15857]
28122         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28123         does not overflow.
28125 2013-09-11  Will Newton  <will.newton@linaro.org>
28127         [BZ #15856]
28128         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28129         does not overflow.
28131 2013-09-11  Will Newton  <will.newton@linaro.org>
28133         [BZ #15855]
28134         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28135         does not overflow.
28137 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28139         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28140         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28141         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28142         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28143         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28145 2013-09-10  Allan McRae  <allan@archlinux.org>
28147         [BZ #15748]
28148         * manual/arith.texi (Parsing of Floats): Clarify
28149         cross-reference.
28151         [BZ #15849]
28152         * manual/install.texi (Running make install): Mention
28153         --enable-pt-chown.
28154         * INSTALL: Regenerated.
28156 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28158         * csu/init-first.c (_init): Remove the !SHARED condition around
28159         FPU control word initialization.
28160         * elf/dl-support.c (_dl_fpu_control): New variable.
28161         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28162         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28163         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28164         * math/test-fpucw-static.c: New file.
28165         * math/test-fpucw-ieee.c: New file.
28166         * math/test-fpucw-ieee-static.c: New file.
28167         * math/Makefile (tests): Add `test-fpucw-ieee' and
28168         `$(tests-static)'.
28169         (tests-static): New variable.
28170         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28171         dependency to...
28172         [($(build-shared),yes)]
28173         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28174         ... this.
28175         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28176         New dependency.
28178 2013-09-09  Allan McRae  <allan@archlinux.org>
28180         [BZ #15939]
28181         * manual/string.texi (Collation Functions): Fix typo in
28182         strcoll example.
28183         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28185         [BZ #15893]
28186         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28188         [BZ #15892]
28189         * libio/memstream.c (open_memstream): Fix memory leak.
28190         * libio/wmemstream.c (open_wmemstream): Likewise.
28192         [BZ #15895]
28193         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28195 2013-09-09  Will Newton  <will.newton@linaro.org>
28197         * malloc/Makefile: Add tst-realloc to tests.
28198         * malloc/tst-realloc.c: New file.
28200 2013-09-09  Allan McRae  <allan@archlinux.org>
28202         [BZ #15844]
28203         * COPYING: Update from GNU website to fix FSF address.
28204         * COPYING.LIB: Likewise.
28206 2013-09-06  David S. Miller  <davem@davemloft.net>
28208         * po/zh_TW.po: Update Chinese (traditional) translation from
28209         translation project.
28211 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28212             Joseph Myers  <joseph@codesourcery.com>
28214         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28215         "localeinfo.h".
28216         (obstack_chunk_alloc): New macro.
28217         (obstack_chunk_free): Likewise.
28218         (record_offset): New function.
28219         (init_locale_data): Likewise.
28220         (align_locale_data): Likewise.
28221         (add_locale_empty): Likewise.
28222         (add_locale_raw_data): Likewise.
28223         (add_locale_raw_obstack): Likewise.
28224         (add_locale_string): Likewise.
28225         (add_locale_wstring): Likewise.
28226         (add_locale_uint32): Likewise.
28227         (add_locale_uint32_array): Likewise.
28228         (add_locale_char): Likewise.
28229         (start_locale_structure): Likewise.
28230         (end_locale_structure): Likewise.
28231         (start_locale_prelude): Likewise.
28232         (end_locale_prelude): Likewise.
28233         (write_locale_data): Take locale_file structure rather than an
28234         iovec.
28235         * locale/programs/locfile.h: Include "obstack.h".
28236         (struct locale_file): Change to store locale file contents instead
28237         of header.
28238         (init_locale_data): New prototype.
28239         (align_locale_data): Likewise.
28240         (add_locale_empty): Likewise.
28241         (add_locale_raw_data): Likewise.
28242         (add_locale_raw_obstack): Likewise.
28243         (add_locale_string): Likewise.
28244         (add_locale_wstring): Likewise.
28245         (add_locale_uint32): Likewise.
28246         (add_locale_uint32_array): Likewise.
28247         (add_locale_char): Likewise.
28248         (start_locale_structure): Likewise.
28249         (end_locale_structure): Likewise.
28250         (start_locale_prelude): Likewise.
28251         (end_locale_prelude): Likewise.
28252         (write_locale_data): Update prototype.
28253         * locale/programs/3level.h (struct TABLE): Remove result field.
28254         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28255         Use new locale_file interface.
28256         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28257         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28258         * locale/programs/ld-address.c (address_output): Use new
28259         locale_file interface.
28260         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28261         NO_ADD_LOCALE.
28262         (collate_finish): Don't call collseq_table_finalize.
28263         (collate_output): Use new locale_file interface.
28264         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28265         in file.
28266         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28267         (TABLE): Move defines earlier in file.
28268         (ELEMENT): Likewise.
28269         (DEFAULT): Likewise.
28270         (wctrans_table_add): Move macro and inline function earlier in
28271         file.
28272         (struct wctype_table): Move type earlier in file.
28273         (add_locale_wctype_table): New static prototype.
28274         (struct locale_ctype_t): Use logical types instead of struct iovec
28275         pointers for members.
28276         (ctype_output): Use new locale_file interface.
28277         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28278         new locale_file interface.
28279         (allocate_arrays): Update for use of new locale_file interface.
28280         * locale/programs/ld-identification.c (identification_output): Use
28281         new locale_file interface.
28282         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28283         * locale/programs/ld-messages.c (messages_output): Likewise.
28284         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28285         * locale/programs/ld-name.c (name_output): Likewise.
28286         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28287         * locale/programs/ld-paper.c (paper_output): Likewise.
28288         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28289         * locale/programs/ld-time.c (time_output): Likewise.
28291 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28293         * benchtests/Makefile: Add memrchr benchmark.
28294         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28295         benchmark as memrchr.
28296         * benchtests/bench-memrchr-ifunc.c: New file.
28297         * benchtests/bench-memrchr.c: New file.
28299 2013-09-06   Will Newton  <will.newton@linaro.org>
28301         * benchtests/Makefile (string-bench): Add memcpy.
28303 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28304             Cong Wang  <amwang@redhat.com>
28306         [BZ #15850]
28307         * sysdeps/unix/sysv/linux/bits/in.h
28308         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28309         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28310         before __USE_KERNEL_IPV6_DEFS uses.
28311         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28312         IPPROTO_BEETPH.
28313         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28314         sockaddr_in6, or ipv6_mreq.
28316 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28318         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28319         memory access for final bytes in some large inputs.
28320         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28322 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28324         * string/test-memrchr.c: New file.
28325         * string/test-memrchr-ifunc.c: New file.
28326         * string/Makefile: Add new memrchr testcase.
28328 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28330         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28331         fanotify_init returns EPERM.
28333 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28335         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28336         errors.
28337         (top level): Treat second token from macro or constant entries for
28338         allowed headers as allowed.
28339         * include/complex.h: Condition internal declarations on
28340         [!_ISOMAC].
28341         * include/fenv.h: Condition include of <stdbool.h> and internal
28342         declarations on [!_ISOMAC].
28344 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28346         [BZ #15923]
28347         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28349 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28351         * configure.in (--enable-versioning): Remove configure option.
28352         (libc_cv_asm_symver_directive): Remove configure test.
28353         (libc_cv_ld_version_script_option): Likewise.
28354         (VERSIONING): Remove variable and AC_SUBST.
28355         (DO_VERSIONING): Remove AC_DEFINE.
28356         * configure: Regenerated.
28357         * config.h.in (DO_VERSIONING): Remove macro.
28358         * Makerules [$(versioning) = yes]: Change conditionals to
28359         [$(build-shared) = yes].
28360         * config.make.in (versioning): Remove variable.
28361         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28362         [$(build-shared) = yes].
28363         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28364         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28365         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28366         [$(build-shared) = yes].
28367         * extra-lib.mk [$(versioning) = yes]: Likewise.
28368         * hurd/Makefile [$(versioning) = yes]: Likewise.
28369         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28370         [SHARED].
28371         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28372         [SHARED].
28373         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28374         [SHARED && !NO_HIDDEN].
28375         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28376         [SHARED].
28377         [SHARED && DO_VERSIONING]: Likewise..
28378         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28379         [$(build-shared) = yes].
28380         * manual/install.texi (--disable-versioning): Remove
28381         documentation.
28382         * INSTALL: Regenerated.
28383         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28384         to [SHARED].
28385         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28386         [$(build-shared) = yes].
28387         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28388         * sysdeps/i386/i686/multiarch/strstr-c.c
28389         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28390         [SHARED && !NO_HIDDEN].
28391         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28392         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28393         * sysdeps/powerpc/powerpc32/dl-machine.c
28394         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28395         * sysdeps/powerpc/powerpc32/sysdep.h
28396         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28397         to [SHARED && PIC && !NO_HIDDEN].
28398         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28399         conditional to [SHARED].
28401 2013-09-04   Will Newton  <will.newton@linaro.org>
28403         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28404         * benchtests/bench-string.h: Include bench-timing.h instead
28405         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28406         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28407         call to HP_TIMING_DIFF_INIT.
28408         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28409         instead of hp-timing.h macros.
28410         * benchtests/bench-memchr.c: Likewise.
28411         * benchtests/bench-memcmp.c: Likewise.
28412         * benchtests/bench-memcpy.c: Likewise.
28413         * benchtests/bench-memmem.c: Likewise.
28414         * benchtests/bench-memmove.c: Likewise.
28415         * benchtests/bench-memset.c: Likewise.
28416         * benchtests/bench-rawmemchr.c: Likewise.
28417         * benchtests/bench-strcasecmp.c: Likewise.
28418         * benchtests/bench-strcasestr.c: Likewise.
28419         * benchtests/bench-strcat.c: Likewise.
28420         * benchtests/bench-strchr.c: Likewise.
28421         * benchtests/bench-strcmp.c: Likewise.
28422         * benchtests/bench-strcpy.c: Likewise.
28423         * benchtests/bench-strcpy_chk.c: Likewise.
28424         * benchtests/bench-strlen.c: Likewise.
28425         * benchtests/bench-strncasecmp.c: Likewise.
28426         * benchtests/bench-strncat.c: Likewise.
28427         * benchtests/bench-strncmp.c: Likewise.
28428         * benchtests/bench-strncpy.c: Likewise.
28429         * benchtests/bench-strnlen.c: Likewise.
28430         * benchtests/bench-strpbrk.c: Likewise.
28431         * benchtests/bench-strrchr.c: Likewise.
28432         * benchtests/bench-strspn.c: Likewise.
28433         * benchtests/bench-strstr.c: Likewise.
28435 2013-09-04  Will Newton  <will.newton@linaro.org>
28437         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28439 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28441         [BZ #15427]
28442         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28443         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28444         * math/libm-test.inc (lgamma_test_data): Add more tests.
28445         * sysdeps/i386/fpu/libm-test-ulps: Update.
28446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28448 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28450         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28452         Add ifunc.
28453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28454         Add strcmp-sse2-unaligned
28455         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28457 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28459         * Versions.def (libc): Add GLIBC_2.19.
28461 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28463         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28464         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28466 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28468         [BZ #14155]
28469         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28470         intermediate calculations in recurrence.
28471         (__ieee754_ynf): Likewise.
28472         * math/libm-test.inc (jn_test_data): Do not allow spurious
28473         underflow exception.  Add more tests.
28474         (yn_test_data): Add more tests.
28475         * sysdeps/i386/fpu/libm-test-ulps: Update.
28476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28478 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28482 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28484         * csu/init-first.c: Fix then/than typos.
28485         * locale/programs/ld-collate.c: Likewise.
28486         * locale/programs/linereader.h: Likewise.
28487         * manual/charset.texi: Likewise.
28488         * manual/filesys.texi: Likewise.
28489         * manual/stdio.texi: Likewise.
28490         * manual/string.texi: Likewise.
28491         * stdlib/fmtmsg.c: Likewise.
28492         * sysdeps/i386/stpncpy.S: Likewise.
28493         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28494         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28496         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28498 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28500         * elf/dl-open.c: Fix typos.
28501         * iconvdata/gbbig5.c: Likewise.
28502         * iconvdata/iso-2022-jp.c: Likewise.
28503         * iconv/gconv_int.h: Likewise.
28504         * iconv/loop.c: Likewise.
28505         * nis/rpcsvc/nis.h: Likewise.
28506         * resolv/ns_name.c: Likewise.
28507         * stdio-common/vfscanf.c: Likewise.
28508         * streams/stropts.h: Likewise.
28509         * sunrpc/rpc_thread.c: Likewise.
28510         * sysdeps/i386/strpbrk.S: Likewise.
28511         * sysdeps/ieee754/k_standard.c: Likewise.
28512         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28513         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28514         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28515         * sysdeps/mach/hurd/profil.c: Likewise.
28516         * sysdeps/s390/dl-procinfo.h: Likewise.
28517         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28518         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28519         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28520         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28521         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28523 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28525         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28528 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28530         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28531         aix specific files.
28532         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28533         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28534         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28535         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28536         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28539         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28541 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28542             Roland McGrath  <roland@hack.frob.com>
28544         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28545         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28547 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28549         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28550         __executable_start symbol instead of _start.
28552 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28554         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28555         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28556         Move macros to...
28557         * sysdeps/gnu/ldsodefs.h: ... this new file.
28559         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28560         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28561         instead of ELFOSABI_LINUX.
28563         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28564         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28565         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28566         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28567         Likewise.
28568         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28569         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28570         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28571         Likewise.
28572         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28573         (ibm_extended_long_double): Add ieee_nan member.
28574         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28575         (do_test): New function.
28577         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28578         TEST_TRUNC.
28579         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28580         functions, renamed from truncdfsf_test, trunctfsf_test,
28581         trunctfdf_test.
28582         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28583         functions.
28584         (do_test): Run all these.
28586 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28588         * argp/argp-help.c: Fix typos.
28589         * argp/argp-parse.c: Likewise.
28590         * debug/backtracesyms.c: Likewise.
28591         * elf/elf.h: Likewise.
28592         * malloc/malloc.c: Likewise.
28593         * nis/nis_print.c: Likewise.
28594         * resolv/res_comp.c: Likewise.
28595         * stdlib/stdlib.h: Likewise.
28596         * sunrpc/clnt_tcp.c: Likewise.
28597         * sunrpc/clnt_udp.c: Likewise.
28598         * sunrpc/clnt_unix.c: Likewise.
28599         * sysdeps/unix/bsd/ptsname.c: Likewise.
28600         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28603         Likewise.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28605         Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28607         Likewise.
28608         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28610 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28612         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28615 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28617         [BZ #15897]
28618         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28619         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28620         ($(objpfx)bug-dl-leaf): New rule.
28621         ($(objpfx)bug-dl-leaf.so): Likewise.
28622         ($(objpfx)bug-dl-leaf.out): Likewise.
28623         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28624         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28625         * dlfcn/bug-dl-leaf.c: New test.
28626         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28627         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28628         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28629         (dlclose): Likewise.
28630         (dlmopen): Likewise.
28632 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28634         * include/netdb.h [!_ISOMAC]:
28635         Don't include <tls.h>.
28636         (h_errno, __libc_h_errno): Move declaration and macros out of
28637         [_LIBC_REENTRANT].
28639         * include/resolv.h [_RESOLV_H_]:
28640         Don't include <tls.h>.
28641         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28642         * resolv/res_libc.c: Don't include <tls.h>.
28643         (_res): Use __attribute__ ((nocommon)) in place of
28644         __attribute__ ((section (".bss"))).
28646         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28647         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28649         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28651         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28652         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28654         * resolv/res_mkquery.c: Include <sys/time.h>.
28656         * inet/ifreq.c: Moved to ...
28657         * sysdeps/unix/ifreq.c: ... here.
28658         * inet/ifreq.c: New file, true stub version.
28660         * socket/sa_len.c: New file.
28661         * socket/Makefile (aux): Add it.
28662         * sysdeps/unix/sysv/linux/Makefile
28663         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28664         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28665         and #include <socket/sa_len.c>.
28666         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28667         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28669         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28670         * bits/socket.h: ... here.
28672         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28673         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28674         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28676 2013-08-27  Andreas Schwab  <schwab@suse.de>
28678         [BZ #15736]
28679         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28680         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28681         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28682         * string/test-strcasecmp.c (test_main): Run tests in several
28683         locales.
28684         * string/test-strncasecmp.c (test_main): Likewise.
28686         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28687         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28688         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28690         (__strncasecmp_ssse3) [PIC]: Likewise.
28692 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28694         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28696         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28697         instead of explicitly declaring xdecrypt.
28698         * nis/nss_nis/nis-publickey.c: Likewise.
28700 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28702         [BZ #15890]
28703         * nscd/aicache.c: Include res_hconf.h.
28704         (addhstaiX): Initialize res_hconf.
28706 2013-08-26  Andreas Schwab  <schwab@suse.de>
28708         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28709         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28711 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28713         * nscd/aicache.c (addhstaiX): Fix indentation.
28715 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28717         * configure.ac: Quote $build_pt_chown test.
28718         * configure: Regenerated.
28720 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28722         [BZ #15532]
28723         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28724         * math/s_cexpf.c (__cexpf): Likewise.
28725         * math/s_cexpl.c (__cexpl): Likewise.
28726         * math/libm-test.inc (cexp_test_data): Correct expected return
28727         value for NaN + i0.  Add another test.
28729 2013-08-22  David S. Miller  <davem@davemloft.net>
28731         * po/ca.po: Update Catalan translation from translation project.
28732         * po/uk.po: Add Ukrainian translations from translation project.
28734 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28736         [BZ #15797]
28737         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28738         is infinite, not alongside NaN test.
28739         * math/s_fdimf.c (__fdimf): Likewise.
28740         * math/s_fdiml.c (__fdiml): Likewise.
28741         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28742         errno is unchanged.
28744 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28746         * argp/argp-help.c: Fix typos.
28747         * crypt/speeds.c: Likewise.
28748         * csu/check_fds.c: Likewise.
28749         * elf/dl-load.c: Likewise.
28750         * elf/dl-open.c: Likewise.
28751         * elf/reldep3.c: Likewise.
28752         * elf/reldep.c: Likewise.
28753         * elf/sprof.c: Likewise.
28754         * iconv/iconv_charmap.c: Likewise.
28755         * iconv/skeleton.c: Likewise.
28756         * iconv/strtab.c: Likewise.
28757         * io/lockf64.c: Likewise.
28758         * libio/libioP.h: Likewise.
28759         * resolv/gai_notify.c: Likewise.
28760         * resolv/ns_name.c: Likewise.
28761         * resolv/ns_samedomain.c: Likewise.
28762         * resolv/res_send.c: Likewise.
28763         * stdlib/random.c: Likewise.
28764         * sunrpc/rpc/xdr.h: Likewise.
28765         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28766         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28767         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28768         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28771         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28772         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28773         * sysdeps/mach/hurd/check_fds.c: Likewise.
28774         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28775         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28776         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28777         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28778         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28779         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28780         * sysdeps/pthread/aio_notify.c: Likewise.
28781         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28782         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28783         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28784         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28785         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28787 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28789         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28790         version if bit_Slow_SSE4_2 is set.
28791         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28792         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28794 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28796         [BZ #15867]
28797         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28798         trampoline stack frame information.
28799         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28800         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28801         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28802         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28803         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28804         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28805         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28806         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28807         sa_flags value.
28808         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28809         interrupting a syscall and set with option SA_SIGINFO.
28811 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28813         [BZ #15531]
28814         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28815         argument is infinite.
28816         * math/s_cprojf.c (__cprojf): Likewise.
28817         * math/s_cprojl.c (__cprojl): Likewise.
28818         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28819         * math/libm-test.inc (cproj_test_data): Add more tests.
28821         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28823         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28824         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28825         size.  Use __ffs to determine corresponding shift.
28827 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28828             Roland McGrath  <roland@hack.frob.com>
28830         * Makefile (INSTALL): Remove trailing blank lines from output of
28831         makeinfo.
28833 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28835         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28836         Align 32 bit compat elf_greg to 8 bytes.
28838 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28840         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28842 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28844         * string/strcoll_l.c (coll_seq): New structure.
28845         (get_next_seq_cached): New function.
28846         (get_next_seq): New function.
28847         (do_compare): New function.
28848         (STRCOLL): Use GNU style definition.  Simplify implementation
28849         by using get_next_seq, get_next_seq_cached and do_compare.
28851 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28853         [BZ #14699]
28854         CVE-2013-4237
28855         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28856         member.
28857         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28858         member.
28859         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28860         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28861         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28862         conditional.
28863         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28864         GETDENTS_64BIT_ALIGNED.
28865         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28866         * manual/filesys.texi (Reading/Closing Directory): Document
28867         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28868         strongly.
28869         * manual/conf.texi (Limits for Files): Add portability note to
28870         NAME_MAX, PATH_MAX.
28871         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28873 2013-08-13  Andreas Schwab  <schwab@suse.de>
28875         [BZ #15749]
28876         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28877         of fabs.
28878         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28879         LDBL_MAX_EXP >= 16384]: Add tests for it.
28881 2013-08-12  David S. Miller  <davem@davemloft.net>
28883         * version.h (RELEASE): Set to "development".
28884         (VERSION): Set to "2.18.90".
28885         * NEWS: Add 2.19 section.
28887 2013-08-03  David S. Miller  <davem@davemloft.net>
28889         * po/ko.po: Update Korean translation from translation project.
28891 2013-08-01  David S. Miller  <davem@davemloft.net>
28893         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28894         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28895         Bilka.
28897 2013-07-30  David S. Miller  <davem@davemloft.net>
28899         * po/fr.po: Update French translation from translation project.
28901 2013-07-28  David S. Miller  <davem@davemloft.net>
28903         * po/cs.po: Update Czech translation from translation project.
28905         * po/sv.po: Update Swedish translation from translation project.
28907 2013-07-27  David S. Miller  <davem@davemloft.net>
28909         * po/eo.po: Update Esperanto translation from translation project.
28911         * po/vi.po: Update Vietnamese translation from translation project.
28913         * po/de.po: Update German translation from translation project.
28915 2013-07-26  David S. Miller  <davem@davemloft.net>
28917         * po/bg.po: Update Bulgarian translation from translation project.
28919         * po/nl.po: Update Dutch translation from translation project.
28920         * po/pl.po: Update Polish translation from translation project.
28921         * po/ru.po: Update Russian translation from translation project.
28923 2013-07-24  David S. Miller  <davem@davemloft.net>
28925         * po/libc.pot: Update.
28927 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28929         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28930         variable page size.
28931         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28932         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28933         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28935 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28937         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28939 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28940             Andreas Schwab  <schwab@suse.de>
28941             Roland McGrath  <roland@hack.frob.com>
28942             Joseph Myers  <joseph@codesourcery.com>
28943             Carlos O'Donell  <carlos@redhat.com>
28945         [BZ #15755]
28946         * config.h.in: Define HAVE_PT_CHOWN.
28947         * config.make.in (build-pt-chown): New variable.
28948         * configure.in (--enable-pt_chown): New configure option.
28949         * configure: Regenerate.
28950         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28951         build-pt-chown is enabled.
28952         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28953         pt_chown to fix pty ownership.
28954         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28955         CLOSE_ALL_FDS.
28956         * manual/install.texi (Configuring and compiling): Mention
28957         --enable-pt_chown. Add @findex for grantpt.
28958         * INSTALL: Regenerate.
28960 2013-07-20  David S. Miller  <davem@davemloft.net>
28962         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28963         difference between 32-bit and 64-bit.
28965 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28967         [BZ #15711]
28968         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28969         Avoid system header dependency with -ffreestanding.
28970         ($(objpfx)bits/syscall%d): Likewise.
28972 2013-07-13  David S. Miller  <davem@davemloft.net>
28974         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28975         underflows from atanl/atan2l due to bug 15319.
28976         (casinh_test_data): Likewise.
28978 2013-07-07  David S. Miller  <davem@davemloft.net>
28980         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28982 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28984         * sysdeps/i386/fpu/libm-test-ulps: Update.
28985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28987 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28989         * configure.in (--enable-lock-elision): Fix message text.
28990         * INSTALL: Regenerate.
28991         * configure: Regenerate.
28993 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28997 2013-07-03  Andreas Jaeger  <aj@suse.de>
28999         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29000         define.
29001         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29002         (ptrace_peeksiginfo_args): Add.
29003         (__ptrace_peeksiginfo_flags): Add.
29004         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29008 2013-07-03  Allan McRae  <allan@archlinux.org>
29010         * sysdeps/i386/fpu/libm-test-ulps: Update.
29012 2013-07-02  David S. Miller  <davem@davemloft.net>
29014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29016 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29020 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29025 2013-07-02  Andi Kleen <ak@linux.intel.com>
29027         * config.h.in (ENABLE_LOCK_ELISION): Add.
29028         * configure.in (--enable-lock-elision): Add option.
29029         * manual/install.texi: Document --enable lock elision.
29030         * configure: Regenerate
29031         * INSTALL: Regenerate.
29033 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29035         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29036         SSE4.2 strcasecmp for libc.a.
29037         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29039 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29041         [BZ #13304]
29042         * soft-fp/op-common.h (_FP_FMA): New macro.
29043         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29044         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29045         (_FP_MUL_MEAT_1_imm): ... here.
29046         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29047         (_FP_MUL_MEAT_1_wide): ... here.
29048         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29049         (_FP_MUL_MEAT_1_hard): ... here.
29050         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29051         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29052         (_FP_MUL_MEAT_2_wide): ... here.
29053         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29054         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29055         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29056         (_FP_MUL_MEAT_2_gmp): ... here.
29057         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29058         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29059         (_FP_MUL_MEAT_4_wide): ... here.
29060         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29061         (_FP_MUL_MEAT_4_gmp): ... here.
29062         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29063         (_FP_WFRACBITS_DW_S): Likewise.
29064         (_FP_WFRACXBITS_DW_S): Likewise.
29065         (_FP_HIGHBIT_DW_S): Likewise.
29066         (FP_FMA_S): Likewise.
29067         (_FP_FRAC_HIGH_DW_S): Likewise.
29068         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29069         (_FP_WFRACBITS_DW_D): Likewise.
29070         (_FP_WFRACXBITS_DW_D): Likewise.
29071         (_FP_HIGHBIT_DW_D): Likewise.
29072         (FP_FMA_D): Likewise.
29073         (_FP_FRAC_HIGH_DW_D): Likewise.
29074         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29075         (_FP_WFRACBITS_DW_E): Likewise.
29076         (_FP_WFRACXBITS_DW_E): Likewise.
29077         (_FP_HIGHBIT_DW_E): Likewise.
29078         (FP_FMA_E): Likewise.
29079         (_FP_FRAC_HIGH_DW_E): Likewise.
29080         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29081         (_FP_WFRACBITS_DW_Q): Likewise.
29082         (_FP_WFRACXBITS_DW_Q): Likewise.
29083         (_FP_HIGHBIT_DW_Q): Likewise.
29084         (FP_FMA_Q): Likewise.
29085         (_FP_FRAC_HIGH_DW_Q): Likewise.
29086         * soft-fp/fmasf4.c: New file.
29087         * soft-fp/fmadf4.c: Likewise.
29088         * soft-fp/fmatf4.c: Likewise.
29090 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29093         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29094         Silvermont.
29095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29096         macro.
29097         (index_Slow_SSE4_2): Likewise.
29098         (index_Prefer_PMINUB_for_stringop): Likewise.
29099         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29100         bit_Slow_SSE4_2 is set.
29101         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29102         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29104 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29106         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29107         rtld_global._dl_hwcap2.
29108         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29109         POWER8.
29110         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29111         POWER8 feature descriptions defined in _dl_hwcap2.
29112         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29113         string handling for POWER8 feature bits.
29114         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29115         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29116         _dl_powerpc_cap_flags.
29117         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29118         * sysdeps/powerpc/rtld-global-offsets.sym
29119         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29120         _dl_hwcap2 in the rtld_global_ro structure.
29122 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29124         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29125         hardware capabilities in support of AT_HWCAP2.
29126         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29127         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29128         GLRO(dl_hwcap2).
29129         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29130         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29131         explicitly the unknown a_type display mechanism is used.
29132         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29133         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29134         struct member.
29135         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29136         to macro prototype for AT_HWCAP2 support.
29137         * sysdeps/i386/dl-procinfo.h: Likewise.
29138         * sysdeps/s390/dl-procinfo.h: Likewise.
29139         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29140         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29141         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29142         return -1 for unknown a_type display fallback.
29143         * sysdeps/sparc/dl-procinfo.h: Likewise.
29144         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29145         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29147 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29150         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29152 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29154         [BZ #12492]
29155         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29156         mprotect making __stack_prot writable.
29158 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29159             Joseph Myers  <joseph@codesourcery.com>
29161         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29162         as being properly aligned.
29164 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29166         * dlfcn/modstatic5.c: New file.
29167         * dlfcn/tststatic5.c: New file.
29168         * dlfcn/Makefile (tests): Add tststatic5.
29169         (tests-static): Likewise.
29170         (modules-names): Add modstatic5.
29171         (tststatic5-ENV): New variable.
29172         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29174         [BZ #15022]
29175         * elf/dl-support.c (_dl_main_map): New variable.
29176         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29177         (_dl_nns, _dl_load_adds): Set to 1.
29178         (_dl_initial_searchlist): Refer to _dl_main_map.
29179         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29180         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29181         call to _dl_get_origin.
29182         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29183         around call_map.
29184         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29185         * dlfcn/modstatic3.c: New file.
29186         * dlfcn/tststatic3.c: New file.
29187         * dlfcn/tststatic4.c: New file.
29188         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29189         (tests-static): Likewise.
29190         (modules-names): Add modstatic3.
29191         (tststatic3-ENV, tststatic4-ENV): New variables.
29192         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29193         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29195 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29197         * configure.in (CC): Require GCC version 4.4 or later.
29198         * configure: Regenerated.
29199         * manual/install.texi (Tools for Compilation): Update GCC version
29200         requirement.
29201         * INSTALL: Regenerated.
29203 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29205         [BZ #15674]
29206         * string/test-memcmp.c (check2): New.
29207         (main): Call check2.
29209         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29211 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29213         [BZ #15022]
29214         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29215         over to...
29216         (dl_open_worker) [!SHARED]: ... here.
29218 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29220         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29222 2013-06-25  Richard Henderson  <rth@redhat.com>
29224         * locale/programs/locarchive.c: Include <libc-internal.h>
29226 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29228         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29229         trailing whitespace removed.
29231 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29233         [BZ #10283]
29234         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29235         * locale/programs/locarchive.c: Include libc-mmap.h.
29236         (prepare_address_space): Take two new outputs (the mmap base and len).
29237         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29238         values.
29239         (create_archive): Declare new mmap base and len values for
29240         prepare_address_space, and store the result in ah.
29241         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29242         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29243         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29244         Declare new mmap base and len values for
29245         prepare_address_space, and store the result in new_ah.
29246         (open_archive): Declare new mmap base and len values for
29247         prepare_address_space, and store the result in ah.
29248         (close_archive): If ah->mmap_base is not NULL, use that and
29249         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29250         * sysdeps/generic/libc-mmap.h: New file.
29252 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29254         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29255         (ALIGN_UP): Likewise.
29256         (PTR_ALIGN_DOWN): Likewise.
29257         (PTR_ALIGN_UP): Likewise.
29259 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29261         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29262         entry mapped to PPC_PLATFORM_POWER8.
29263         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29264         POWER8.
29265         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29266         (_dl_string_platform): Add case for exporting platform position for
29267         POWER8.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29269         search path to sysdeps/powerpc/powerpc32/power8 directory.
29270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29271         search path to sysdeps/powerpc/powerpc64/power8 directory.
29272         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29273         power7 directories.
29274         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29275         power7 directories.
29277 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29279         * INSTALL: Regenerate.
29281         * nscd/connections.c (nscd_init): Fix comment.
29283 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29285         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29287         [BZ #15667]
29288         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29289         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29291 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29293         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29294         DL_DST_REQ_STATIC.
29295         (DL_DST_REQ_STATIC): Remove macro.
29297 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29299         [BZ #7006]
29300         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29301         with a shift of 0 bits.
29303 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29305         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29306         $(tststatic-ENV).
29308 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29310         [BZ #15655]
29311         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29313 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29315         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29316         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29317         accepts -fno-tree-loop-distribute-patterns.
29318         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29319         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29320         recursive call.
29321         * string/memset.c (memset): Likewise.
29322         * string/test-memmove.c (simple_memmove): Disable loop transformation
29323         to library calls.
29324         * string/test-memset.c (simple_memset): Likewise.
29325         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29326         * benchtests/bench-memset.c (simple_memset): Likewise.
29327         * configure: Regenerated.
29329 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29331         * math/test-misc.c (main): Ignore fesetround failure when failures
29332         of subsequent rounding tests would be ignored.
29334         [BZ #15654]
29335         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29336         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29337         * math/fegetenv.c (__fegetenv): Return 0.
29338         * math/fegetexcept.c (fegetexcept): Return 0.
29339         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29340         FE_TONEAREST.
29341         * math/feholdexcpt.c (feholdexcept): Return 0.
29342         * math/fesetenv.c (__fesetenv): Return 0.
29343         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29344         argument FE_TONEAREST.
29345         * math/feupdateenv.c (__feupdateenv): Return 0.
29346         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29348 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29350         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29351         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29352         ($(objpfx)rtld-%.os rules): Use them.
29354 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29356         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29357         fields.
29359 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29361         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29362         length of target pattern, then descending length of dependency pattern.
29363         * configure.in (AWK): Require gawk 3.1.2 or newer.
29364         * manual/install.texi (Tools for Compilation): Say that we do.
29365         * configure: Regenerated.
29367         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29368         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29369         * scripts/sysd-rules.awk: ... this new script.
29370         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29371         than a glob-style pattern.
29373 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29375         * math/test-misc.c (main): Do not treat incorrectly rounded
29376         conversions as failure unless ROUNDING_TESTS passes.
29378 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #15631]
29381         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29382         restore exception state around main square root computation, then
29383         check for inexactness explicitly.
29385         * math/libm-test.inc (fma_test_data): Add another test.
29387 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29389         * manual/threads.texi (Non-POSIX Extensions): New document
29390         node.  Document pthread_getattr_default_np and
29391         pthread_setattr_default_np.
29393         * Versions.def (libpthread): Add GLIBC_2.18.
29394         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29396         Likewise.
29397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29398         Likewise.
29399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29400         Likewise.
29401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29402         Likewise.
29403         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29404         Likewise.
29405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29406         Likewise.
29407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29408         Likewise.
29409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29410         Likewise.
29411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29412         Likewise.
29414 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29417         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29419 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29420             H.J. Lu  <hjl.tools@gmail.com>
29422         [BZ #15627]
29423         * sysdeps/x86_64/rtld-memset.c: Remove file.
29424         * sysdeps/x86_64/rtld-memset.S: New file.
29426 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29428         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29429         (test_in_one_mode): Take arguments for whether the rounding mode
29430         is supported for each floating-point type.
29431         (do_test): Pass new arguments to test_in_one_mode using
29432         ROUNDING_TESTS.
29434 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29436         * posix/tst-waitid.c (do_test): Distinguish different instances of
29437         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29438         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29439         before entering the kernel for waitpid.
29441 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29443         * NEWS: Fix note on clock function precision.  Text by Roland
29444         McGrath.
29446 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29448         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29449         it into place only when and if the sanity check passes.
29451 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29453         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29454         output for whether conversion result is exact.  Take argument
29455         indicating whether type is IBM long double.
29456         (round_for_all): Change need_exact field to ibm_ld.
29457         * stdlib/tst-strtod-round.c (struct exactness): New type.
29458         (struct test): Change bool ld_ok field to struct exactness exact.
29459         (TEST): Update all definitions for change to field.
29460         (tests): Regenerate array contents.
29461         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29462         field value.  Check for IBM long double here.
29463         (do_test): Update calls to test_in_one_mode.
29465 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29467         [BZ #12515]
29468         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29469         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29471 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29473         [BZ #15605]
29474         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29475         generated by the compiler on loop optimizations.
29476         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29477         general definitions.
29479 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29481         * math/bug-nextafter.c: Include <math-tests.h>.
29482         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29483         the relevant type.
29484         * math/bug-nexttoward.c: Include <math-tests.h>.
29485         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29486         the relevant type.
29487         * math/test-misc.c: Include <math-tests.h>.
29488         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29489         the relevant type.
29491 2013-06-12  Andreas Jaeger  <aj@suse.de>
29493         * po/ia.po: Update Interlingua translation from translation
29494         project.
29496 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29498         * include/fenv.h: Include stdbool.h.
29499         (struct rm_ctx): New structure.
29500         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29501         Define macro.
29502         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29503         (SET_RESTORE_ROUNDF): Likewise.
29504         (SET_RESTORE_ROUNDL): Likewise.
29505         (SET_RESTORE_ROUND_NOEX): Likewise.
29506         (SET_RESTORE_ROUND_NOEXF): Likewise.
29507         (SET_RESTORE_ROUND_NOEXL): Likewise.
29508         (SET_RESTORE_ROUND_53BIT): Likewise.
29509         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29510         (libc_feresetround_noexf_ctx): Likewise.
29511         (libc_feresetround_noexl_ctx): Likewise.
29512         (libc_feholdsetround_53bit_ctx): Likewise.
29513         (libc_feresetround_53bit_ctx): Likewise.
29514         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29515         (libc_feholdexcept_setround_sse_ctx): New function.
29516         (libc_fesetenv_sse_ctx): Likewise.
29517         (libc_feupdateenv_sse_ctx): Likewise.
29518         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29519         (libc_feholdexcept_setround_387_ctx): Likewise.
29520         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29521         (libc_feholdsetround_387_prec_ctx): Likewise.
29522         (libc_feholdsetround_387_ctx): Likewise.
29523         (libc_feholdsetround_387_53bit_ctx): Likewise.
29524         (libc_feholdsetround_sse_ctx): Likewise.
29525         (libc_feresetround_sse_ctx): Likewise.
29526         (libc_feresetround_387_ctx): Likewise.
29527         (libc_feupdateenv_387_ctx): Likewise.
29528         (libc_feholdexcept_setroundf_ctx): Define macro.
29529         (libc_fesetenvf_ctx): Likewise.
29530         (libc_feupdateenvf_ctx): Likewise.
29531         (libc_feholdsetroundf_ctx): Likewise.
29532         (libc_feresetroundf_ctx): Likewise.
29533         (libc_feholdexcept_setround_ctx): Likewise.
29534         (libc_fesetenv_ctx): Likewise.
29535         (libc_feupdateenv_ctx): Likewise.
29536         (libc_feholdsetround_ctx): Likewise.
29537         (libc_feresetround_ctx): Likewise.
29538         (libc_feholdexcept_setroundl_ctx): Likewise.
29539         (libc_feupdateenvl_ctx): Likewise.
29540         (libc_feholdsetroundl_ctx): Likewise.
29541         (libc_feresetroundl_ctx): Likewise.
29542         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29543         (libc_feresetround_53bit_ctx): Likewise.
29545 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29547         * locale/iso-639.def: Convert to UTF-8.
29549 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29551         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29552         (EXCEPTION_TESTS_double): Likewise.
29553         (EXCEPTION_TESTS_long_double): Likewise.
29554         (EXCEPTION_TESTS): Likewise.
29555         * math/libm-test.inc (test_exceptions): Only test exceptions if
29556         EXCEPTION_TESTS (FLOAT).
29558 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29560         * benchtests/Makefile (string-bench): Add strcpy_chk and
29561         stpcpy_chk.
29562         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29563         * benchtests/bench-stpcpy_chk.c: New file.
29564         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29565         * benchtests/bench-strcpy_chk.c: New file.
29566         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29567         code.
29568         (do_test): Likewise.
29570 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29572         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29573         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29574         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29575         with tabs where appropriate.
29576         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29577         dl-procinfo.h.
29578         [PPC_PLATFORM_PPC440]: Likewise.
29579         [PPC_PLATFORM_PPC464]: Likewise.
29580         [PPC_PLATFORM_PPC476]: Likewise.
29581         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29582         ppc464, and ppc476 platform strings merging from ports/
29583         dl-procinfo.h.
29585 2013-06-11  Andreas Schwab  <schwab@suse.de>
29587         [BZ #14991]
29588         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29589         (from_ucs4_idx): Regenerate.
29590         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29591         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29592         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29593         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29594         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29595         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29596         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29597         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29598         from FROM_LOOP and TO_LOOP specific macros.
29599         (BODY): Handle combining characters.
29600         * iconvdata/BIG5HKSCS.irreversible: Update.
29601         * iconvdata/BIG5HKSCS.precomposed: New file.
29602         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29603         characters.
29604         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29606 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29608         * include/sys/time.h: Fix indentation and add copyright header.
29610         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29611         (do_test): Likewise.
29612         * string/test-memchr.c (do_one_test): Likewise.
29613         (do_test): Likewise.
29614         * string/test-memcmp.c (do_one_test): Likewise.
29615         (do_test): Likewise.
29616         * string/test-memcpy.c (do_one_test): Likewise.
29617         (do_test): Likewise.
29618         * string/test-memmem.c (do_one_test): Likewise.
29619         (do_test): Likewise.
29620         (do_random_tests): Likewise.
29621         * string/test-memmove.c (do_one_test): Likewise.
29622         (do_test): Likewise.
29623         * string/test-memset.c (do_one_test): Likewise.
29624         (do_test): Likewise.
29625         * string/test-rawmemchr.c (do_one_test): Likewise.
29626         (do_test): Likewise.
29627         * string/test-strcasecmp.c (do_one_test): Likewise.
29628         (do_test): Likewise.
29629         * string/test-strcasestr.c (do_one_test): Likewise.
29630         (do_test): Likewise.
29631         * string/test-strcat.c (do_one_test): Likewise.
29632         (do_test): Likewise.
29633         * string/test-strchr.c (do_one_test): Likewise.
29634         (do_test): Likewise.
29635         * string/test-strcmp.c (do_one_test): Likewise.
29636         (do_test): Likewise.
29637         * string/test-strcpy.c (do_one_test): Likewise.
29638         (do_test): Likewise.
29639         * string/test-string.h: Likewise.
29640         (test_init): Likewise.
29641         * string/test-strlen.c (do_one_test): Likewise.
29642         (do_test): Likewise.
29643         * string/test-strncasecmp.c (do_one_test): Likewise.
29644         (do_test): Likewise.
29645         * string/test-strncat.c (do_one_test): Likewise.
29646         (do_test): Likewise.
29647         * string/test-strncmp.c (do_one_test): Likewise.
29648         (do_test_limit): Likewise.
29649         (do_test): Likewise.
29650         * string/test-strncpy.c (do_one_test): Likewise.
29651         (do_test): Likewise.
29652         * string/test-strnlen.c (do_one_test): Likewise.
29653         (do_test): Likewise.
29654         * string/test-strpbrk.c (do_one_test): Likewise.
29655         (do_test): Likewise.
29656         * string/test-strrchr.c (do_one_test): Likewise.
29657         (do_test): Likewise.
29658         * string/test-strspn.c (do_one_test): Likewise.
29659         (do_test): Likewise.
29660         * string/test-strstr.c (do_one_test): Likewise.
29661         (do_test): Likewise.
29663         * benchtests/Makefile (string-bench): Add string benchmarks.
29664         * benchtests/bench-bcopy-ifunc.c: New file.
29665         * benchtests/bench-bcopy.c: New file.
29666         * benchtests/bench-bzero-ifunc.c: New file.
29667         * benchtests/bench-bzero.c: New file.
29668         * benchtests/bench-memccpy-ifunc.c: New file.
29669         * benchtests/bench-memccpy.c: New file.
29670         * benchtests/bench-memchr-ifunc.c: New file.
29671         * benchtests/bench-memchr.c: New file.
29672         * benchtests/bench-memcmp-ifunc.c: New file.
29673         * benchtests/bench-memcmp.c: New file.
29674         * benchtests/bench-memmem-ifunc.c: New file.
29675         * benchtests/bench-memmem.c: New file.
29676         * benchtests/bench-memmove-ifunc.c: New file.
29677         * benchtests/bench-memmove.c: New file.
29678         * benchtests/bench-mempcpy-ifunc.c: New file.
29679         * benchtests/bench-mempcpy.c: New file.
29680         * benchtests/bench-memset-ifunc.c: New file.
29681         * benchtests/bench-memset.c: New file.
29682         * benchtests/bench-rawmemchr-ifunc.c: New file.
29683         * benchtests/bench-rawmemchr.c: New file.
29684         * benchtests/bench-stpcpy-ifunc.c: New file.
29685         * benchtests/bench-stpcpy.c: New file.
29686         * benchtests/bench-stpncpy-ifunc.c: New file.
29687         * benchtests/bench-stpncpy.c: New file.
29688         * benchtests/bench-strcasecmp-ifunc.c: New file.
29689         * benchtests/bench-strcasecmp.c: New file.
29690         * benchtests/bench-strcasestr-ifunc.c: New file.
29691         * benchtests/bench-strcasestr.c: New file.
29692         * benchtests/bench-strcat-ifunc.c: New file.
29693         * benchtests/bench-strcat.c: New file.
29694         * benchtests/bench-strchr-ifunc.c: New file.
29695         * benchtests/bench-strchr.c: New file.
29696         * benchtests/bench-strchrnul-ifunc.c: New file.
29697         * benchtests/bench-strchrnul.c: New file.
29698         * benchtests/bench-strcmp-ifunc.c: New file.
29699         * benchtests/bench-strcmp.c: New file.
29700         * benchtests/bench-strcpy-ifunc.c: New file.
29701         * benchtests/bench-strcpy.c: New file.
29702         * benchtests/bench-strcspn-ifunc.c: New file.
29703         * benchtests/bench-strcspn.c: New file.
29704         * benchtests/bench-strlen-ifunc.c: New file.
29705         * benchtests/bench-strlen.c: New file.
29706         * benchtests/bench-strncasecmp-ifunc.c: New file.
29707         * benchtests/bench-strncasecmp.c: New file.
29708         * benchtests/bench-strncat-ifunc.c: New file.
29709         * benchtests/bench-strncat.c: New file.
29710         * benchtests/bench-strncmp-ifunc.c: New file.
29711         * benchtests/bench-strncmp.c: New file.
29712         * benchtests/bench-strncpy-ifunc.c: New file.
29713         * benchtests/bench-strncpy.c: New file.
29714         * benchtests/bench-strnlen-ifunc.c: New file.
29715         * benchtests/bench-strnlen.c: New file.
29716         * benchtests/bench-strpbrk-ifunc.c: New file.
29717         * benchtests/bench-strpbrk.c: New file.
29718         * benchtests/bench-strrchr-ifunc.c: New file.
29719         * benchtests/bench-strrchr.c: New file.
29720         * benchtests/bench-strspn-ifunc.c: New file.
29721         * benchtests/bench-strspn.c: New file.
29722         * benchtests/bench-strstr-ifunc.c: New file.
29723         * benchtests/bench-strstr.c: New file.
29725         * benchtests/Makefile: Disable parallel execution of targets.
29726         (string-bench): Add memcpy.
29727         (benchset): New variable to store a list of benchmark sets.
29728         (bench-func): Renamed from bench.
29729         (bench-set): New target.
29730         (bench): Depend on bench-func and bench-set.
29731         * benchtests/README: Add section on benchmark sets.
29732         * benchtests/bench-memcpy-ifunc.c: New file.
29733         * benchtests/bench-memcpy.c: New file.
29734         * benchtests/bench-string.h: New file.
29736 2013-06-11  Andreas Schwab  <schwab@suse.de>
29738         [BZ #15577]
29739         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29740         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29741         values in the triple.
29742         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29743         terminator in the group key.
29745 2013-06-11  Andreas Jaeger  <aj@suse.de>
29747         * po/zh_TW.po: Update Chinese (traditional) translation from
29748         translation project.
29750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29752         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29753         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29754         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29755         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29756         (clock_getcpuclockid): Likewise.
29757         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29758         Add weak_alias and libc_hidden_def.
29759         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29760         * rt/clock_gettime.c (clock_gettime): Rename to
29761         __clock_gettime.  Add weak_alias and libc_hidden_def.
29762         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29763         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29764         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29765         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29766         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29767         Likewise.
29768         * rt/clock_settime.c (clock_settime): Rename to
29769         __clock_settime.  Add weak_alias and libc_hidden_def.
29770         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29772 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29774         * mach/err_boot.sub: Remove trailing whitespace.
29775         * mach/err_ipc.sub: Likewise.
29776         * mach/err_mach.sub: Likewise.
29778         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29779         (ROUNDING_TESTS_double): Likewise.
29780         (ROUNDING_TESTS_long_double): Likewise.
29781         (ROUNDING_TESTS): Likewise.
29782         * math/libm-test.inc: Include <math-tests.h>.
29783         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29784         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29785         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29786         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29788 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29790         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29791         of assigning.
29793 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29795         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29796         otherwise empty TRANS lines.
29797         * sysdeps/gnu/errlist.c: Regenerated.
29799         * catgets/gencat.c (error_print): Use (void) in function
29800         definition.
29801         * crypt/crypt_util.c (__init_des): Likewise.
29802         * crypt/speeds.c (Stop): Likewise.
29803         (main): Likewise.
29804         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29805         * inet/ruserpass.c (token): Likewise.
29806         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29807         * intl/localealias.c (extend_alias_table): Likewise.
29808         * intl/plural-exp.c (init_germanic_plural): Likewise.
29809         * libio/fcloseall.c (__fcloseall): Likewise.
29810         * libio/genops.c (_IO_flush_all): Likewise.
29811         (_IO_flush_all_linebuffered): Likewise.
29812         (_IO_cleanup): Likewise.
29813         (_IO_iter_begin): Likewise.
29814         (_IO_iter_end): Likewise.
29815         (_IO_list_lock): Likewise.
29816         (_IO_list_unlock): Likewise.
29817         (_IO_list_resetlock): Likewise.
29818         * libio/getchar.c (getchar): Likewise.
29819         * libio/getchar_u.c (getchar_unlocked): Likewise.
29820         * libio/getwchar.c (getwchar): Likewise.
29821         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29822         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29823         * login/getpt.c (__getpt): Likewise.
29824         * login/tst-utmp.c (main): Likewise.
29825         * malloc/hooks.c (__malloc_check_init): Likewise.
29826         * malloc/malloc.c (__malloc_stats): Likewise.
29827         * malloc/mtrace.c (tr_break): Likewise.
29828         (mtrace): Likewise.
29829         (muntrace): Likewise.
29830         * misc/fstab.c (endfsent): Likewise.
29831         * misc/getclktck.c (__getclktck): Likewise.
29832         * misc/getdtsz.c (__getdtablesize): Likewise.
29833         * misc/gethostid.c (gethostid): Likewise.
29834         * misc/getpagesize.c (__getpagesize): Likewise.
29835         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29836         (__get_nprocs): Likewise.
29837         (__get_phys_pages): Likewise.
29838         (__get_avphys_pages): Likewise.
29839         * misc/getttyent.c (getttyent): Likewise.
29840         (setttyent): Likewise.
29841         (endttyent): Likewise.
29842         * misc/getusershell.c (getusershell): Likewise.
29843         (endusershell): Likewise.
29844         (setusershell): Likewise.
29845         (initshells): Likewise.
29846         * misc/hsearch.c (__hdestroy): Likewise.
29847         * misc/sync.c (sync): Likewise.
29848         * misc/syslog.c (closelog_internal): Likewise.
29849         (closelog): Likewise.
29850         * misc/ttyslot.c (ttyslot): Likewise.
29851         * misc/vhangup.c (vhangup): Likewise.
29852         * posix/fork.c (__fork): Likewise.
29853         * posix/getegid.c (__getegid): Likewise.
29854         * posix/geteuid.c (__geteuid): Likewise.
29855         * posix/getgid.c (__getgid): Likewise.
29856         * posix/getpid.c (__getpid): Likewise.
29857         * posix/getppid.c (__getppid): Likewise.
29858         * posix/getuid.c (__getuid): Likewise.
29859         * posix/pause.c (pause): Likewise.
29860         * posix/setpgrp.c (setpgrp): Likewise.
29861         * posix/setsid.c (__setsid): Likewise.
29862         * posix/test-vfork.c (noop): Likewise.
29863         * resolv/gethnamaddr.c (_endhtent): Likewise.
29864         (_gethtent): Likewise.
29865         (ht_endhostent): Likewise.
29866         (gethostent): Likewise.
29867         (dns_service): Likewise.
29868         * stdlib/drand48.c (drand48): Likewise.
29869         * stdlib/lrand48.c (lrand48): Likewise.
29870         * stdlib/mrand48.c (mrand48): Likewise.
29871         * stdlib/rand.c (rand): Likewise.
29872         * stdlib/random.c (__random): Likewise.
29873         * stdlib/setenv.c (clearenv): Likewise.
29874         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29875         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29876         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29877         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29878         (__get_nprocs): Likewise.
29879         (__get_phys_pages): Likewise.
29880         (__get_avphys_pages): Likewise.
29881         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29882         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29883         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29884         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29885         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29886         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29887         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29888         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29889         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29890         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29891         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29892         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29893         * sysdeps/posix/clock.c (clock): Likewise.
29894         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29895         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29896         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29897         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29898         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29899         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29900         (__get_nprocs_conf): Likewise.
29901         (__get_phys_pages): Likewise.
29902         (__get_avphys_pages): Likewise.
29903         * time/clock.c (clock): Likewise.
29904         * time/tzset.c (__tzname_max): Likewise.
29906 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29908         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29909         (__bswap_32): Do not use "register".
29910         * crypt/crypt.c (_ufc_doit_r): Likewise.
29911         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29912         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29913         * gmon/gmon.c (__monstartup): Likewise.
29914         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29915         * hurd/hurdmalloc.c (more_memory): Likewise.
29916         (malloc): Likewise.
29917         (free): Likewise.
29918         (realloc): Likewise.
29919         (malloc_fork_prepare): Likewise.
29920         (malloc_fork_parent): Likewise.
29921         (malloc_fork_child): Likewise.
29922         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29923         (_svcauth_des): Likewise.
29924         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29925         * inet/inet_net.c (inet_network): Likewise.
29926         * inet/inet_netof.c (inet_netof): Likewise.
29927         * inet/rcmd.c (__validuser2_sa): Likewise.
29928         * io/fts.c (fts_open): Likewise.
29929         (fts_load): Likewise.
29930         (fts_close): Likewise.
29931         (fts_read): Likewise.
29932         (fts_children): Likewise.
29933         (fts_build): Likewise.
29934         (fts_stat): Likewise.
29935         (fts_sort): Likewise.
29936         (fts_alloc): Likewise.
29937         (fts_lfree): Likewise.
29938         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29939         (_IO_file_xsgetn): Likewise.
29940         (_IO_file_xsgetn_mmap): Likewise.
29941         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29942         (_IO_cookie_write): Likewise.
29943         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29944         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29945         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29946         * malloc/obstack.c (_obstack_begin): Likewise.
29947         (_obstack_begin_1): Likewise.
29948         (_obstack_newchunk): Likewise.
29949         (_obstack_allocated_p): Likewise.
29950         (obstack_free): Likewise.
29951         (_obstack_memory_used): Likewise.
29952         * misc/getttyent.c (getttynam): Likewise.
29953         (getttyent): Likewise.
29954         (skip): Likewise.
29955         (value): Likewise.
29956         * misc/getusershell.c (initshells): Likewise.
29957         * misc/syslog.c (__vsyslog_chk): Likewise.
29958         * misc/ttyslot.c (ttyslot): Likewise.
29959         * nis/nis_hash.c (__nis_hash): Likewise.
29960         * posix/fnmatch_loop.c (FCT): Likewise.
29961         * posix/getconf.c (print_all): Likewise.
29962         (main): Likewise.
29963         * posix/getopt.c (exchange): Likewise.
29964         * posix/glob.c (globfree): Likewise.
29965         (prefix_array): Likewise.
29966         (__glob_pattern_type): Likewise.
29967         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29968         (NS_GET32): Likewise.
29969         (NS_PUT16): Likewise.
29970         (NS_PUT32): Likewise.
29971         * resolv/gethnamaddr.c (getanswer): Likewise.
29972         (gethostbyname2): Likewise.
29973         (gethostbyaddr): Likewise.
29974         (_gethtent): Likewise.
29975         (_gethtbyname2): Likewise.
29976         (_gethtbyaddr): Likewise.
29977         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29978         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29979         * resolv/res_init.c (__res_vinit): Likewise.
29980         (net_mask): Likewise.
29981         * resolv/res_mkquery.c (outchar): Likewise.
29982         (PRINT): Likewise.
29983         * stdio-common/printf_fp.c (outchar): Likewise.
29984         (PRINT): Likewise.
29985         * stdio-common/printf_fphex.c (outchar): Likewise.
29986         (PRINT): Likewise.
29987         * stdio-common/printf_size.c (outchar): Likewise.
29988         (PRINT): Likewise.
29989         * stdio-common/test_rdwr.c (main): Likewise.
29990         * stdio-common/tfformat.c (matches): Likewise.
29991         * stdio-common/vfprintf.c (outchar): Likewise.
29992         (printf_unknown): Likewise.
29993         (buffered_vfprintf): Likewise.
29994         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29995         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29996         (ReadFile): Likewise.
29997         * stdlib/qsort.c (SWAP): Likewise.
29998         (_quicksort): Likewise.
29999         * stdlib/setenv.c (__add_to_environ): Likewise.
30000         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30001         * stdlib/strtol_l.c (__strtol_l): Likewise.
30002         * stdlib/tst-strtod.c (main): Likewise.
30003         * stdlib/tst-strtol.c (main): Likewise.
30004         * stdlib/tst-strtoll.c (main): Likewise.
30005         * string/bits/string2.h (__strcmp_cc): Likewise.
30006         (__strcmp_cg): Likewise.
30007         (__strcspn_c1): Likewise.
30008         (__strcspn_c2): Likewise.
30009         (__strcspn_c3): Likewise.
30010         (__strspn_c1): Likewise.
30011         (__strspn_c2): Likewise.
30012         (__strspn_c3): Likewise.
30013         (__strsep_1c): Likewise.
30014         (__strsep_2c): Likewise.
30015         (__strsep_3c): Likewise.
30016         * string/memccpy.c (__memccpy): Likewise.
30017         * string/stpcpy.c (__stpcpy): Likewise.
30018         * string/strcmp.c (strcmp): Likewise.
30019         * string/strrchr.c (strrchr): Likewise.
30020         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30021         Likewise.
30022         * sysdeps/mach/hurd/getcwd.c
30023         (_hurd_canonicalize_directory_name_internal): Likewise.
30024         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30025         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30026         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30027         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30028         Likewise, in both definitions.
30029         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30030         definitions.
30031         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30032         64] (__bswap_64): Likewise.
30033         * time/test_time.c (main): Likewise.
30034         * time/tzfile.c (__tzfile_read): Likewise.
30035         (__tzfile_compute): Likewise.
30036         * time/tzset.c (__tzset_parse_tz): Likewise.
30037         (tzset_internal): Likewise.
30038         (compute_change): Likewise.
30039         * wcsmbs/wcscat.c (__wcscat): Likewise.
30040         * wcsmbs/wcschr.c (wcschr): Likewise.
30041         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30042         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30043         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30044         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30045         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30046         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30047         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30048         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30049         * wcsmbs/wmemset.c (wmemset): Likewise.
30051 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30053         * scripts/config.guess: Update to version 2013-05-16.
30054         * scripts/config.sub: Update to version 2013-04-24.
30055         * scripts/install-sh: Update to version 2011-11-20.07.
30056         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30057         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30059 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30061         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30062         * elf/sln.c: Likewise.
30063         * hurd/hurd/ioctl.h: Likewise.
30064         * hurd/hurdmalloc.c: Likewise.
30065         * hurd/xattr.c: Likewise.
30066         * include/shlib-compat.h: Likewise.
30067         * inet/ruserpass.c: Likewise.
30068         * libio/iofgets_u.c: Likewise.
30069         * libio/iofgetws_u.c: Likewise.
30070         * locale/programs/ld-identification.c: Likewise.
30071         * locale/programs/ld-time.c: Likewise.
30072         * mach/msg-destroy.c: Likewise.
30073         * nss/nss_files/files-netgrp.c: Likewise.
30074         * resolv/res_data.c: Likewise.
30075         * soft-fp/op-1.h: Likewise.
30076         * soft-fp/op-2.h: Likewise.
30077         * soft-fp/op-4.h: Likewise.
30078         * soft-fp/op-common.h: Likewise.
30079         * stdio-common/printf_fphex.c: Likewise.
30080         * stdlib/strtod_l.c: Likewise.
30081         * sunrpc/rpc/clnt.h: Likewise.
30082         * sysdeps/generic/framestate.c: Likewise.
30083         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30084         * sysdeps/i386/bsd-setjmp.S: Likewise.
30085         * sysdeps/i386/__longjmp.S: Likewise.
30086         * sysdeps/i386/setjmp.S: Likewise.
30087         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30088         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30089         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30105         * sysdeps/ieee754/support.c: Likewise.
30106         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30107         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30108         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30109         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30110         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30111         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30112         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30113         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30114         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30115         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30116         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30117         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30118         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30119         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30120         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30121         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30122         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30125 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30127         * posix/transbug.c: Remove executable mode.
30129 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30131         * crypt/speeds.c: Remove trailing whitespace.
30132         * dlfcn/default.c: Likewise.
30133         * elf/ifuncdep2.c: Likewise.
30134         * elf/ifuncmain1.c: Likewise.
30135         * elf/ifuncmain1vis.c: Likewise.
30136         * elf/testobj.h: Likewise.
30137         * elf/tst-stackguard1.c: Likewise.
30138         * gmon/sys/gmon.h: Likewise.
30139         * hurd/hurdmsg.c: Likewise.
30140         * hurd/new-fd.c: Likewise.
30141         * hurd/ports-get.c: Likewise.
30142         * iconvdata/ibm1008_420.c: Likewise.
30143         * inet/tst-getni1.c: Likewise.
30144         * inet/tst-getni2.c: Likewise.
30145         * libio/ioungetc.c: Likewise.
30146         * libio/wfiledoalloc.c: Likewise.
30147         * manual/libm-err-tab.pl: Likewise.
30148         * math/w_dremf.c: Likewise.
30149         * misc/ftruncate.c: Likewise.
30150         * posix/bug-glob2.c: Likewise.
30151         * posix/tst-pcre.c: Likewise.
30152         * posix/wait4.c: Likewise.
30153         * resolv/README: Likewise.
30154         * resolv/res_debug.h: Likewise.
30155         * resolv/tst-inet_ntop.c: Likewise.
30156         * setjmp/bug269-setjmp.c: Likewise.
30157         * soft-fp/extended.h: Likewise.
30158         * soft-fp/op-1.h: Likewise.
30159         * soft-fp/op-2.h: Likewise.
30160         * soft-fp/op-4.h: Likewise.
30161         * soft-fp/op-8.h: Likewise.
30162         * soft-fp/testit.c: Likewise.
30163         * stdio-common/bug16.c: Likewise.
30164         * stdlib/random.c: Likewise.
30165         * sunrpc/rpcsvc/rquota.x: Likewise.
30166         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30167         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30169         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30170         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30171         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30172         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30173         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30174         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30175         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30176         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30177         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30178         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30179         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30180         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30181         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30182         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30184         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30187         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30188         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30189         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30190         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30192         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30193         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30194         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30195         * sysdeps/ieee754/s_lib_version.c: Likewise.
30196         * sysdeps/mach/hurd/check_fds.c: Likewise.
30197         * sysdeps/mach/hurd/getsockname.c: Likewise.
30198         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30199         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30200         * sysdeps/powerpc/bits/link.h: Likewise.
30201         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30202         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30203         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30204         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30205         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30206         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30207         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30208         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30209         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30210         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30211         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30213         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30219         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30222         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30223         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30225         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30226         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30227         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30228         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30230         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30233         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30235         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30240         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30241         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30242         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30243         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30244         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30246         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30247         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30248         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30249         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30250         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30253         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30254         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30255         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30256         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30257         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30259         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30262         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30265         * sysdeps/powerpc/sysdep.h: Likewise.
30266         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30267         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30268         * sysdeps/sh/dl-trampoline.S: Likewise.
30269         * sysdeps/sh/memset.S: Likewise.
30270         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30271         * sysdeps/sh/strlen.S: Likewise.
30272         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30273         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30274         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30275         * sysdeps/sparc/sparc32/rem.S: Likewise.
30276         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30277         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30278         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30279         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30280         * sysdeps/sparc/sparc32/urem.S: Likewise.
30281         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30282         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30283         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30284         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30286         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30287         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30288         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30289         * sysdeps/unix/bsd/times.c: Likewise.
30290         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30291         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30295         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30296         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30297         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30298         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30299         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30300         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30301         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30302         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30303         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30304         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30305         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30306         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30307         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30308         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30309         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30310         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30311         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30312         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30313         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30314         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30315         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30316         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30317         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30318         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30319         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30320         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30321         * sysdeps/x86_64/strcspn.S: Likewise.
30323 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30325         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30326         generated file.  Regenerate properly from gen-translit.pl.
30327         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30328         locale/C-translit.h.
30330 2013-06-05  Andreas Schwab  <schwab@suse.de>
30332         [BZ #15100]
30333         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30334         week as 6 instead of -1.
30335         * time/tst-strptime.c (day_tests): Add test case.
30337 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30339         * sysdeps/generic/math_private.h
30340         (libc_feholdexcept_setround_53bit): Replace with
30341         libc_feholdsetround_53bit.
30342         (libc_feupdateenv_53bit): Replace with
30343         libc_feresetround_53bit.
30344         (SET_RESTORE_ROUND_53BIT): Adjust.
30346 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30348         * string/test-strchrnul.c: Add copyright header.
30350         * posix/tst-getaddrinfo4.c: Increase test timeout.
30352 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30354         [BZ #15536]
30355         * math/libm-test.inc (MAX_EXP): Remove
30356         (MIN_EXP): Define.
30357         (ulp): Use MIN_EXP - MANT_DIG.
30358         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30360 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30362         * po/be.po: Revert last change.
30363         * po/zh_CN.po: Likewise.
30364         * po/header.pot: Likewise.
30366 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30368         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30369         link-libc-deps to empty as target-specific variable.
30370         * Makerules (link-libc-args): New variable.
30371         (libc-for-link): Likewise.
30372         (link-libc-deps): Likewise.
30373         (lib%.so): Depend on $(link-libc-deps).  Link with
30374         $(link-libc-args).
30375         (build-module): Link with $(link-libc-args).
30376         (build-module-asneeded): Likewise.
30377         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30378         list of objects.
30379         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30380         target-specific variable.
30381         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30382         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30383         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30384         libc.
30385         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30386         libc and ld.so.
30387         ($(objpfx)libpcprofile.so): Likewise.
30388         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30389         libc_nonshared.a.
30390         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30391         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30392         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30393         $(link-libc-deps).
30394         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30395         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30396         * login/Makefile ($(objpfx)libutil.so): Likewise.
30397         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30398         * math/Makefile ($(objpfx)libm.so): Likewise.
30399         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30400         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30401         variable instead of depending directly on libc.
30402         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30403         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30404         $(link-libc-deps).
30405         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30406         libc.
30407         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30408         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30409         ($(objpfx)libanl.so): Likewise.
30410         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30411         ld.so.
30412         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30413         $(link-libc-deps).
30414         * sysdeps/i386/fpu/Makefile: Remove file.
30415         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30416         ($(objpfx)libm.so): Remove dependency on ld.so.
30418 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30420         [BZ # 15553]
30421         * nis/yp_xdr.c (XDRMAXNAME): Define.
30422         (XDRMAXRECORD): Define.
30423         (xdr_domainname): Use XDRMAXNAME.
30424         (xdr_mapname): Likewise.
30425         (xdr_peername): Likewise.
30426         (xdr_keydat): Use XDRMAXRECORD.
30427         (xdr_valdat): Likewise.
30429 2013-05-30  Jeff Law  <law@redhat.com>
30431         [BZ #14256]
30432         * manual/errno.texi (ESTALE): Update to account for more than
30433         just NFS file systems.
30434         * sysdeps/gnu/errlist.c: Regenerated.
30436 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30438         [BZ #15465]
30439         * elf/Makefile (tests): Add tst-null-argv.
30440         (modules-names):  Add tst-null-argv-lib.
30441         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30442         (tst-null-argv-ENV): Set environment for tst-null-argv.
30443         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30444         (RTLD_PROGNAME): New macro.
30445         * elf/tst-null-argv.c: New test case.
30446         * elf/tst-null-argv-lib.c: Library for test case.
30447         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30448         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30449         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30450         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30451         * elf/dl-init.c (call_init): Likewise.
30452         (_dl_init): Likewise.
30453         * elf/dl-load.c (print_search_path): Likewise.
30454         (_dl_map_object): Likewise.
30455         * elf/dl-lookup.c (do_lookup_x): Likewise.
30456         (add_dependency): Likewise.
30457         (_dl_lookup_symbol_x): Likewise.
30458         (_dl_debug_bindings): Likewise.
30459         * elf/dl-open.c (_dl_show_scope): Likewise.
30460         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30461         * elf/dl-version.c (match_symbol): Likewise.
30462         (_dl_check_map_versions): Likewise.
30463         * elf/rtld.c (dl_main): Likewise.
30464         (print_unresolved): Use RTLD_PROGNAME.
30465         (print_missing_version): Likewise.
30466         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30467         (elf_machine_rela): Likewise.
30468         * sysdeps/powerpc/powerpc32/dl-machine.c
30469         (__process_machine_rela): Likewise.
30470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30471         Likewise.
30472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30473         Likewise.
30474         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30475         Likewise.
30476         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30478         Likewise.
30479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30480         Likewise.
30481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30483 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30485         * po/be.po: Add descriptive title.
30486         * po/zh_CN.po: Likewise.
30487         * po/header.pot: Likewise.
30489 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30491         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30492         error message.
30493         (enlarge_archive): Likewise.
30495 2013-05-28  Ben North  <ben@redfrontdoor.org>
30497         * manual/arith.texi (frexp): It is the magnitude of the return
30498         value which lies in [0.5, 1), not the return value itself.
30500 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30504 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30506         * stdio-common/bug26.c (main): Correct fscanf template.
30508         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30509         declare _dl_skip_args.
30511         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30512         Don't declare.
30514         * manual/platform.texi: Add missing @end deftypefun.
30516 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30518         [BZ #15529]
30519         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30520         bit of mantissa of 2^16382.
30521         * math/libm-test.inc (hypot_test_data): Add more tests.
30523         * math/libm-test.inc: Add drem and pow10 to list of tested
30524         functions.
30525         (pow10_test): New function.
30526         (drem_test): Likewise.
30527         (drem_test_tonearest): Likewise.
30528         (drem_test_towardzero): Likewise.
30529         (drem_test_downward): Likewise.
30530         (drem_test_upward): Likewise.
30531         (main): Call the new functions.
30533         * math/libm-test.inc (finite_test_data): Remove.
30534         (finite_test): Run tests from isfinite_test_data.
30535         (gamma_test_data): Remove.
30536         (gamma_test): Run tests from lgamma_test_data.
30537         * sysdeps/i386/fpu/libm-test-ulps: Update.
30538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30542         * manual/platform.texi: Add PowerPC PPR function set documentation.
30543         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30544         implementation.
30546 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30548         * math/libm-test.inc (MAX_EXP): Define.
30549         (ULPDIFF): Define.
30550         (ulp): New function.
30551         (check_float_internal): Use ULPDIFF.
30552         (cpow_test): Disable failing test.
30553         (check_ulp): Test ulp() implemetnation.
30554         (main): Call check_ulp before starting tests.
30556 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30558         * math/gen-libm-test.pl (generate_testfile): Do not handle
30559         START_DATA and END_DATA.
30560         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30561         END_DATA.
30562         (acos_tonearest_test_data): Likewise.
30563         (acos_towardzero_test_data): Likewise.
30564         (acos_downward_test_data): Likewise.
30565         (acos_upward_test_data): Likewise.
30566         (acosh_test_data): Likewise.
30567         (asin_test_data): Likewise.
30568         (asin_tonearest_test_data): Likewise.
30569         (asin_towardzero_test_data): Likewise.
30570         (asin_downward_test_data): Likewise.
30571         (asin_upward_test_data): Likewise.
30572         (asinh_test_data): Likewise.
30573         (atan_test_data): Likewise.
30574         (atanh_test_data): Likewise.
30575         (atan2_test_data): Likewise.
30576         (cabs_test_data): Likewise.
30577         (cacos_test_data): Likewise.
30578         (cacosh_test_data): Likewise.
30579         (carg_test_data): Likewise.
30580         (casin_test_data): Likewise.
30581         (casinh_test_data): Likewise.
30582         (catan_test_data): Likewise.
30583         (catanh_test_data): Likewise.
30584         (cbrt_test_data): Likewise.
30585         (ccos_test_data): Likewise.
30586         (ccosh_test_data): Likewise.
30587         (ceil_test_data): Likewise.
30588         (cexp_test_data): Likewise.
30589         (cimag_test_data): Likewise.
30590         (clog_test_data): Likewise.
30591         (clog10_test_data): Likewise.
30592         (conj_test_data): Likewise.
30593         (copysign_test_data): Likewise.
30594         (cos_test_data): Likewise.
30595         (cos_tonearest_test_data): Likewise.
30596         (cos_towardzero_test_data): Likewise.
30597         (cos_downward_test_data): Likewise.
30598         (cos_upward_test_data): Likewise.
30599         (cosh_test_data): Likewise.
30600         (cosh_tonearest_test_data): Likewise.
30601         (cosh_towardzero_test_data): Likewise.
30602         (cosh_downward_test_data): Likewise.
30603         (cosh_upward_test_data): Likewise.
30604         (cpow_test_data): Likewise.
30605         (cproj_test_data): Likewise.
30606         (creal_test_data): Likewise.
30607         (csin_test_data): Likewise.
30608         (csinh_test_data): Likewise.
30609         (csqrt_test_data): Likewise.
30610         (ctan_test_data): Likewise.
30611         (ctan_tonearest_test_data): Likewise.
30612         (ctan_towardzero_test_data): Likewise.
30613         (ctan_downward_test_data): Likewise.
30614         (ctan_upward_test_data): Likewise.
30615         (ctanh_test_data): Likewise.
30616         (ctanh_tonearest_test_data): Likewise.
30617         (ctanh_towardzero_test_data): Likewise.
30618         (ctanh_downward_test_data): Likewise.
30619         (ctanh_upward_test_data): Likewise.
30620         (erf_test_data): Likewise.
30621         (erfc_test_data): Likewise.
30622         (exp_test_data): Likewise.
30623         (exp_tonearest_test_data): Likewise.
30624         (exp_towardzero_test_data): Likewise.
30625         (exp_downward_test_data): Likewise.
30626         (exp_upward_test_data): Likewise.
30627         (exp10_test_data): Likewise.
30628         (exp2_test_data): Likewise.
30629         (expm1_test_data): Likewise.
30630         (fabs_test_data): Likewise.
30631         (fdim_test_data): Likewise.
30632         (finite_test_data): Likewise.
30633         (floor_test_data): Likewise.
30634         (fma_test_data): Likewise.
30635         (fma_towardzero_test_data): Likewise.
30636         (fma_downward_test_data): Likewise.
30637         (fma_upward_test_data): Likewise.
30638         (fmax_test_data): Likewise.
30639         (fmin_test_data): Likewise.
30640         (fmod_test_data): Likewise.
30641         (fpclassify_test_data): Likewise.
30642         (frexp_test_data): Likewise.
30643         (gamma_test_data): Likewise.
30644         (hypot_test_data): Likewise.
30645         (ilogb_test_data): Likewise.
30646         (isfinite_test_data): Likewise.
30647         (isgreater_test_data): Likewise.
30648         (isgreaterequal_test_data): Likewise.
30649         (isinf_test_data): Likewise.
30650         (isless_test_data): Likewise.
30651         (islessequal_test_data): Likewise.
30652         (islessgreater_test_data): Likewise.
30653         (isnan_test_data): Likewise.
30654         (isnormal_test_data): Likewise.
30655         (issignaling_test_data): Likewise.
30656         (isunordered_test_data): Likewise.
30657         (j0_test_data): Likewise.
30658         (j1_test_data): Likewise.
30659         (jn_test_data): Likewise.
30660         (ldexp_test_data): Likewise.
30661         (lgamma_test_data): Likewise.
30662         (lrint_test_data): Likewise.
30663         (lrint_tonearest_test_data): Likewise.
30664         (lrint_towardzero_test_data): Likewise.
30665         (lrint_downward_test_data): Likewise.
30666         (lrint_upward_test_data): Likewise.
30667         (llrint_test_data): Likewise.
30668         (llrint_tonearest_test_data): Likewise.
30669         (llrint_towardzero_test_data): Likewise.
30670         (llrint_downward_test_data): Likewise.
30671         (llrint_upward_test_data): Likewise.
30672         (log_test_data): Likewise.
30673         (log10_test_data): Likewise.
30674         (log1p_test_data): Likewise.
30675         (log2_test_data): Likewise.
30676         (logb_test_data): Likewise.
30677         (logb_downward_test_data): Likewise.
30678         (lround_test_data): Likewise.
30679         (llround_test_data): Likewise.
30680         (modf_test_data): Likewise.
30681         (nearbyint_test_data): Likewise.
30682         (nextafter_test_data): Likewise.
30683         (nexttoward_test_data): Likewise.
30684         (pow_test_data): Likewise.
30685         (pow_tonearest_test_data): Likewise.
30686         (pow_towardzero_test_data): Likewise.
30687         (pow_downward_test_data): Likewise.
30688         (pow_upward_test_data): Likewise.
30689         (remainder_test_data): Likewise.
30690         (remainder_tonearest_test_data): Likewise.
30691         (remainder_towardzero_test_data): Likewise.
30692         (remainder_downward_test_data): Likewise.
30693         (remainder_upward_test_data): Likewise.
30694         (remquo_test_data): Likewise.
30695         (rint_test_data): Likewise.
30696         (rint_tonearest_test_data): Likewise.
30697         (rint_towardzero_test_data): Likewise.
30698         (rint_downward_test_data): Likewise.
30699         (rint_upward_test_data): Likewise.
30700         (round_test_data): Likewise.
30701         (scalb_test_data): Likewise.
30702         (scalbn_test_data): Likewise.
30703         (scalbln_test_data): Likewise.
30704         (signbit_test_data): Likewise.
30705         (sin_test_data): Likewise.
30706         (sin_tonearest_test_data): Likewise.
30707         (sin_towardzero_test_data): Likewise.
30708         (sin_downward_test_data): Likewise.
30709         (sin_upward_test_data): Likewise.
30710         (sincos_test_data): Likewise.
30711         (sinh_test_data): Likewise.
30712         (sinh_tonearest_test_data): Likewise.
30713         (sinh_towardzero_test_data): Likewise.
30714         (sinh_downward_test_data): Likewise.
30715         (sinh_upward_test_data): Likewise.
30716         (sqrt_test_data): Likewise.
30717         (tan_test_data): Likewise.
30718         (tan_tonearest_test_data): Likewise.
30719         (tan_towardzero_test_data): Likewise.
30720         (tan_downward_test_data): Likewise.
30721         (tan_upward_test_data): Likewise.
30722         (tanh_test_data): Likewise.
30723         (tgamma_test_data): Likewise.
30724         (trunc_test_data): Likewise.
30725         (y0_test_data): Likewise.
30726         (y1_test_data): Likewise.
30727         (yn_test_data): Likewise.
30728         (significand_test_data): Likewise.
30730         * math/gen-libm-test.pl (@functions): Remove variable.
30731         (generate_testfile): Don't handle START and END lines.
30732         * math/libm-test.inc (START): New macro.
30733         (END): Likewise.
30734         (END_COMPLEX): Likewise.
30735         (acos_test): Use END macro without arguments.
30736         (acos_test_tonearest): Likewise.
30737         (acos_test_towardzero): Likewise.
30738         (acos_test_downward): Likewise.
30739         (acos_test_upward): Likewise.
30740         (acosh_test): Likewise.
30741         (asin_test): Likewise.
30742         (asin_test_tonearest): Likewise.
30743         (asin_test_towardzero): Likewise.
30744         (asin_test_downward): Likewise.
30745         (asin_test_upward): Likewise.
30746         (asinh_test): Likewise.
30747         (atan_test): Likewise.
30748         (atanh_test): Likewise.
30749         (atan2_test): Likewise.
30750         (cabs_test): Likewise.
30751         (cacos_test): Use END_COMPLEX macro without arguments.
30752         (cacosh_test): Likewise.
30753         (carg_test): Use END macro without arguments.
30754         (casin_test): Use END_COMPLEX macro without arguments.
30755         (casinh_test): Likewise.
30756         (catan_test): Likewise.
30757         (catanh_test): Likewise.
30758         (cbrt_test): Use END macro without arguments.
30759         (ccos_test): Use END_COMPLEX macro without arguments.
30760         (ccosh_test): Likewise.
30761         (ceil_test): Use END macro without arguments.
30762         (cexp_test): Use END_COMPLEX macro without arguments.
30763         (cimag_test): Use END macro without arguments.
30764         (clog_test): Use END_COMPLEX macro without arguments.
30765         (clog10_test): Likewise.
30766         (conj_test): Likewise.
30767         (copysign_test): Use END macro without arguments.
30768         (cos_test): Likewise.
30769         (cos_test_tonearest): Likewise.
30770         (cos_test_towardzero): Likewise.
30771         (cos_test_downward): Likewise.
30772         (cos_test_upward): Likewise.
30773         (cosh_test): Likewise.
30774         (cosh_test_tonearest): Likewise.
30775         (cosh_test_towardzero): Likewise.
30776         (cosh_test_downward): Likewise.
30777         (cosh_test_upward): Likewise.
30778         (cpow_test): Use END_COMPLEX macro without arguments.
30779         (cproj_test): Likewise.
30780         (creal_test): Use END macro without arguments.
30781         (csin_test): Use END_COMPLEX macro without arguments.
30782         (csinh_test): Likewise.
30783         (csqrt_test): Likewise.
30784         (ctan_test): Likewise.
30785         (ctan_test_tonearest): Likewise.
30786         (ctan_test_towardzero): Likewise.
30787         (ctan_test_downward): Likewise.
30788         (ctan_test_upward): Likewise.
30789         (ctanh_test): Likewise.
30790         (ctanh_test_tonearest): Likewise.
30791         (ctanh_test_towardzero): Likewise.
30792         (ctanh_test_downward): Likewise.
30793         (ctanh_test_upward): Likewise.
30794         (erf_test): Use END macro without arguments.
30795         (erfc_test): Likewise.
30796         (exp_test): Likewise.
30797         (exp_test_tonearest): Likewise.
30798         (exp_test_towardzero): Likewise.
30799         (exp_test_downward): Likewise.
30800         (exp_test_upward): Likewise.
30801         (exp10_test): Likewise.
30802         (exp2_test): Likewise.
30803         (expm1_test): Likewise.
30804         (fabs_test): Likewise.
30805         (fdim_test): Likewise.
30806         (finite_test): Likewise.
30807         (floor_test): Likewise.
30808         (fma_test): Likewise.
30809         (fma_test_towardzero): Likewise.
30810         (fma_test_downward): Likewise.
30811         (fma_test_upward): Likewise.
30812         (fmax_test): Likewise.
30813         (fmin_test): Likewise.
30814         (fmod_test): Likewise.
30815         (fpclassify_test): Likewise.
30816         (frexp_test): Likewise.
30817         (gamma_test): Likewise.
30818         (hypot_test): Likewise.
30819         (ilogb_test): Likewise.
30820         (isfinite_test): Likewise.
30821         (isgreater_test): Likewise.
30822         (isgreaterequal_test): Likewise.
30823         (isinf_test): Likewise.
30824         (isless_test): Likewise.
30825         (islessequal_test): Likewise.
30826         (islessgreater_test): Likewise.
30827         (isnan_test): Likewise.
30828         (isnormal_test): Likewise.
30829         (issignaling_test): Likewise.
30830         (isunordered_test): Likewise.
30831         (j0_test): Likewise.
30832         (j1_test): Likewise.
30833         (jn_test): Likewise.
30834         (ldexp_test): Likewise.
30835         (lgamma_test): Likewise.
30836         (lrint_test): Likewise.
30837         (lrint_test_tonearest): Likewise.
30838         (lrint_test_towardzero): Likewise.
30839         (lrint_test_downward): Likewise.
30840         (lrint_test_upward): Likewise.
30841         (llrint_test): Likewise.
30842         (llrint_test_tonearest): Likewise.
30843         (llrint_test_towardzero): Likewise.
30844         (llrint_test_downward): Likewise.
30845         (llrint_test_upward): Likewise.
30846         (log_test): Likewise.
30847         (log10_test): Likewise.
30848         (log1p_test): Likewise.
30849         (log2_test): Likewise.
30850         (logb_test): Likewise.
30851         (logb_test_downward): Likewise.
30852         (lround_test): Likewise.
30853         (llround_test): Likewise.
30854         (modf_test): Likewise.
30855         (nearbyint_test): Likewise.
30856         (nextafter_test): Likewise.
30857         (nexttoward_test): Likewise.
30858         (pow_test): Likewise.
30859         (pow_test_tonearest): Likewise.
30860         (pow_test_towardzero): Likewise.
30861         (pow_test_downward): Likewise.
30862         (pow_test_upward): Likewise.
30863         (remainder_test): Likewise.
30864         (remainder_test_tonearest): Likewise.
30865         (remainder_test_towardzero): Likewise.
30866         (remainder_test_downward): Likewise.
30867         (remainder_test_upward): Likewise.
30868         (remquo_test): Likewise.
30869         (rint_test): Likewise.
30870         (rint_test_tonearest): Likewise.
30871         (rint_test_towardzero): Likewise.
30872         (rint_test_downward): Likewise.
30873         (rint_test_upward): Likewise.
30874         (round_test): Likewise.
30875         (scalb_test): Likewise.
30876         (scalbn_test): Likewise.
30877         (scalbln_test): Likewise.
30878         (signbit_test): Likewise.
30879         (sin_test): Likewise.
30880         (sin_test_tonearest): Likewise.
30881         (sin_test_towardzero): Likewise.
30882         (sin_test_downward): Likewise.
30883         (sin_test_upward): Likewise.
30884         (sincos_test): Likewise.
30885         (sinh_test): Likewise.
30886         (sinh_test_tonearest): Likewise.
30887         (sinh_test_towardzero): Likewise.
30888         (sinh_test_downward): Likewise.
30889         (sinh_test_upward): Likewise.
30890         (sqrt_test): Likewise.
30891         (tan_test): Likewise.
30892         (tan_test_tonearest): Likewise.
30893         (tan_test_towardzero): Likewise.
30894         (tan_test_downward): Likewise.
30895         (tan_test_upward): Likewise.
30896         (tanh_test): Likewise.
30897         (tgamma_test): Likewise.
30898         (trunc_test): Likewise.
30899         (y0_test): Likewise.
30900         (y1_test): Likewise.
30901         (yn_test): Likewise.
30902         (significand_test): Likewise.
30904 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30906         [BZ #15381]
30907         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30909 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30911         [BZ #14894]
30912         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30913         __ppc_mdoio and __ppc_mdoom.
30914         * manual/platform.texi: Document new functions __ppc_yield,
30915         __ppc_mdoio and __ppc_mdoom.
30917 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30919         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30920         (main): Mention "tls" pseudo-hwcap is legacy.
30921         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30923 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30925         * math/gen-libm-test.pl (parse_args): Output only string of
30926         arguments as text for test name, not full call or descriptions of
30927         tests for extra outputs.
30928         (generate_testfile): Do not pass function name to parse_args.
30929         Generate this_func variable from START.
30930         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30931         field to arg_str.
30932         (struct test_ff_f_data): Likewise.
30933         (test_ff_f_data_nexttoward): Likewise.
30934         (struct test_fi_f_data): Likewise.
30935         (struct test_fl_f_data): Likewise.
30936         (struct test_if_f_data): Likewise.
30937         (struct test_fff_f_data): Likewise.
30938         (struct test_c_f_data): Likewise.
30939         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30940         (struct test_fF_f1_data): Likewise.
30941         (struct test_ffI_f1_data): Likewise.
30942         (struct test_c_c_data): Rename test_name field to arg_str.
30943         (struct test_cc_c_data): Likewise.
30944         (struct test_f_i_data): Likewise.
30945         (struct test_ff_i_data): Likewise.
30946         (struct test_f_l_data): Likewise.
30947         (struct test_f_L_data): Likewise.
30948         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30949         and extra2_name.
30950         (COMMON_TEST_SETUP): New macro.
30951         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30952         (COMMON_TEST_CLEANUP): Likewise.
30953         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30954         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30955         macros.
30956         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30957         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30958         macros.
30959         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30960         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30961         cleanup macros.
30962         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30963         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30964         macros.
30965         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30966         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30967         macros.
30968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30969         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30970         cleanup macros.
30971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30972         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30973         cleanup macros.
30974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30975         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30976         cleanup macros.
30977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30978         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30979         macros.
30980         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30981         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30982         macros.
30983         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30984         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30985         macros.
30986         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30987         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30988         cleanup macros.
30989         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30990         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30991         cleanup macros.
30992         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30993         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30994         macros.
30995         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30996         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30997         cleanup macros.
30998         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30999         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31000         macros.
31001         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31002         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31003         macros.
31004         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31005         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31006         cleanup macros.
31007         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31009 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31011         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31012         to _sifields.sigfault.
31013         (si_addr_lsb): Define new macro.
31014         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31016         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31018 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31020         [BZ #15441]
31021         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31022         returns -1.
31023         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31024         null return -1.
31025         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31026         loading the domain.
31028 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31030         * math/gen-libm-test.pl (parse_args): Do not include expected
31031         result in test name.
31032         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31034         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31035         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31036         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31039 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31041         * benchtests/Makefile: Sort function entries.
31043         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31044         tanh, asinh, acosh, atanh.
31045         * benchtests/acos-inputs: New file.
31046         * benchtests/acosh-inputs: New file.
31047         * benchtests/asin-inputs: New file.
31048         * benchtests/asinh-inputs: New file.
31049         * benchtests/atanh-inputs: New file.
31050         * benchtests/cosh-inputs: New file.
31051         * benchtests/log-inputs: New file.
31052         * benchtests/sinh-inputs: New file.
31053         * benchtests/tanh-inputs: New file.
31055 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31057         [BZ #15339]
31058         * posix/tst-getaddrinfo4.c: New test.
31059         * posix/Makefile (tests): Add it.
31061 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31063         [BZ #15339]
31064         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31065         when no services were used.
31066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31067         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31069 2013-05-21  Andreas Schwab  <schwab@suse.de>
31071         [BZ #15014]
31072         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31073         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31074         successful.
31075         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31076         redundant variable declarations and reallocation of buffer when
31077         parsing as IPv6 address.  Always set NSS status when called from
31078         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31079         buffer too small.  Correct computation of needed size.
31080         * nss/Makefile (tests): Add test-digits-dots.
31081         * nss/test-digits-dots.c: New test.
31083 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31085         * benchtests/Makefile: Remove instructions for adding
31086         benchmark tests.
31087         * benchtests/README: New file to explain how to execute and
31088         enhance the benchmark tests.
31090 2013-05-21  Andreas Schwab  <schwab@suse.de>
31092         [BZ #15493]
31093         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31094         * setjmp/tst-sigsetjmp.c: New test.
31096 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31098         * sysdeps/x86_64/memset.S (memset): New implementation.
31099         (__bzero): Likewise.
31100         (__memset_tail): New function.
31102 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31104         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31105         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31106         __memcpy_sse2_unaligned ifunc selection.
31107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31108         Add memcpy-sse2-unaligned.S.
31109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31110         Add: __memcpy_sse2_unaligned.
31112 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31114         [BZ #15490]
31115         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31116         math_force_eval before restoring floating-point envrionment.
31117         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31118         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31119         Likewise.
31120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31121         <math_private.h>.
31122         (__nearbyintl): Use math_force_eval before restoring
31123         floating-point environment.
31124         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31126         * math/gen-libm-test.pl (special_functions): Remove.
31127         (parse_args): Don't handle TEST_extra.  Handle functions with no
31128         return value.
31129         * math/libm-test.inc (struct test_sincos_data): Replace with
31130         struct test_fFF_11_data.
31131         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31132         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31133         (sincos_test_data): Change element type to struct
31134         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31135         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31136         RUN_TEST_LOOP_sincos.
31137         * math/README.libm-test: Don't mention special handling of
31138         individual functions.
31139         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31140         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31141         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31142         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31143         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31146         * math/gen-libm-test.pl (get_variable): Remove function.
31147         (parse_args): Don't show pointer parameters to call in test
31148         names.  Use "extra output N" in test names for extra outputs
31149         rather than naming variables.
31151 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31153         [BZ #15488]
31154         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31155         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31156         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31157         double tests.
31158         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31159         disable.
31160         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31161         check_long_double.
31163         * math/gen-libm-test.pl (@tests): Remove variable.
31164         ($count): Likewise.
31165         (new_test): Remove function.
31166         (show_exceptions): New function.
31167         (special_functions): Use show_exceptions instead of new_test.
31168         (parse_args): Likewise.
31169         (generate_testfile): Pass only function name in generated call to
31170         print_max_error or print_complex_max_error.
31171         (get_ulps): Do not handle complex tests specially.
31172         (output_test): Rename to ...
31173         (get_all_ulps_for_test): ... this.  Return a string rather than
31174         printing to a file.  Require ulps to be present.
31175         (output_ulps): Generate arrays rather than #defines.
31176         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31177         (struct ulp_data): New type.
31178         (BUILD_COMPLEX_ULP): Remove macro.
31179         (compare_ulp_data): New function.
31180         (find_ulps): Likewise.
31181         (find_test_ulps): Likewise.
31182         (find_function_ulps): Likewise.
31183         (find_complex_function_ulps): Likewise.
31184         (print_max_error): Determine allowed ulps using
31185         find_function_ulps.
31186         (print_complex_max_error): Determine allowed ulps using
31187         find_complex_function_ulps.
31188         (check_float_internal): Determine max ulps using find_test_ulps.
31189         (check_float): Do not take max_ulp parameter.  Update call to
31190         check_float_internal.
31191         (check_complex): Likewise.
31192         (check_int): Do not take max_ulp parameter.
31193         (check_long): Likewise.
31194         (check_bool): Likewise.
31195         (check_longlong): Likewise.
31196         (struct test_f_f_data): Remove max_ulp field.
31197         (struct test_ff_f_data): Likewise.
31198         (struct test_ff_f_data_nexttoward): Likewise.
31199         (struct test_fi_f_data): Likewise.
31200         (struct test_fl_f_data): Likewise.
31201         (struct test_if_f_data): Likewise.
31202         (struct test_fff_f_data): Likewise.
31203         (struct test_c_f_data): Likewise.
31204         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31205         (struct test_fF_f1_data): Likewise.
31206         (struct test_ffI_f1_data): Likewise.
31207         (struct test_c_c_data): Remove max_ulp field.
31208         (struct test_cc_c_data): Likewise.
31209         (struct test_f_i_data): Likewise.
31210         (struct test_ff_i_data): Likewise.
31211         (struct test_f_l_data): Likewise.
31212         (struct test_f_L_data): Likewise.
31213         (struct test_sincos_data): Likewise.
31214         (RUN_TEST_f_f): Do not handle ulps.
31215         (RUN_TEST_LOOP_f_f): Likewise.
31216         (RUN_TEST_2_f): Likewise.
31217         (RUN_TEST_LOOP_2_f): Likewise.
31218         (RUN_TEST_fff_f): Likewise.
31219         (RUN_TEST_LOOP_fff_f): Likewise.
31220         (RUN_TEST_c_f): Likewise.
31221         (RUN_TEST_LOOP_c_f): Likewise.
31222         (RUN_TEST_f_f1): Likewise.
31223         (RUN_TEST_LOOP_f_f1): Likewise.
31224         (RUN_TEST_fF_f1): Likewise.
31225         (RUN_TEST_LOOP_fF_f1): Likewise.
31226         (RUN_TEST_fI_f1): Likewise.
31227         (RUN_TEST_LOOP_fI_f1): Likewise.
31228         (RUN_TEST_ffI_f1): Likewise.
31229         (RUN_TEST_LOOP_ffI_f1): Likewise.
31230         (RUN_TEST_c_c): Likewise.
31231         (RUN_TEST_LOOP_c_c): Likewise.
31232         (RUN_TEST_cc_c): Likewise.
31233         (RUN_TEST_LOOP_cc_c): Likewise.
31234         (RUN_TEST_f_i): Likewise.
31235         (RUN_TEST_LOOP_f_i): Likewise.
31236         (RUN_TEST_f_i_tg): Likewise.
31237         (RUN_TEST_LOOP_f_i_tg): Likewise.
31238         (RUN_TEST_ff_i_tg): Likewise.
31239         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31240         (RUN_TEST_f_b): Likewise.
31241         (RUN_TEST_LOOP_f_b): Likewise.
31242         (RUN_TEST_f_b_tg): Likewise.
31243         (RUN_TEST_LOOP_f_b_tg): Likewise.
31244         (RUN_TEST_f_l): Likewise.
31245         (RUN_TEST_LOOP_f_l): Likewise.
31246         (RUN_TEST_f_L): Likewise.
31247         (RUN_TEST_LOOP_f_L): Likewise.
31248         (RUN_TEST_sincos): Likewise.
31249         (RUN_TEST_LOOP_sincos): Likewise.
31251 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31253         [BZ #15480]
31254         [BZ #15485]
31255         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31256         main case of finite arguments, set rounding mode to FE_TONEAREST
31257         and discard exceptions.
31258         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31259         exceptions.
31260         (remainder_tonearest_test_data): New variable.
31261         (remainder_test_tonearest): New function.
31262         (remainder_towardzero_test_data): New variable.
31263         (remainder_test_towardzero): New function.
31264         (remainder_downward_test_data): New variable.
31265         (remainder_test_downward): New function.
31266         (remainder_upward_test_data): New variable.
31267         (remainder_test_upward): New function.
31268         (main): Call the new test functions.
31270         * math/libm-test.inc (struct test_f_f1_data): Remove field
31271         extra_init.
31272         (struct test_fF_f1_data): Likewise.
31273         (struct test_ffI_f1_data): Likewise.
31274         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31275         based on value of EXTRA_EXPECTED.
31276         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31277         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31278         EXTRA_VAR based on value of EXTRA_EXPECTED.
31279         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31280         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31281         EXTRA_VAR based on value of EXTRA_EXPECTED.
31282         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31283         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31284         EXTRA_VAR based on value of EXTRA_EXPECTED.
31285         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31286         * math/gen-libm-test.pl (parse_args): Don't output initializers
31287         for extra output values.
31289         * math/libm-test.inc (check_int): Expect result to be exactly
31290         equal to expected value and do not handle ulps.
31291         (check_long): Likewise.
31292         (check_longlong): Likewise.
31294         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31295         exceptions.
31296         (cimag_test_data): Likewise.
31297         (conj_test_data): Likewise.
31298         (copysign_test_data): Likewise.
31299         (cproj_test_data): Likewise.
31300         (creal_test_data): Likewise.
31301         (fabs_test_data): Likewise.
31302         (fdim_test_data): Likewise.
31303         (finite_test_data): Likewise.
31304         (floor_test_data): Likewise.
31305         (fmax_test_data): Likewise.
31306         (fmin_test_data): Likewise.
31307         (fmod_test_data): Likewise.
31308         (fpclassify_test_data): Likewise.
31309         (frexp_test_data): Likewise.
31310         (ilogb_test_data): Likewise.
31311         (isfinite_test_data): Likewise.
31312         (isgreater_test_data): Likewise.
31313         (isgreaterequal_test_data): Likewise.
31314         (isinf_test_data): Likewise.
31315         (isless_test_data): Likewise.
31316         (islessequal_test_data): Likewise.
31317         (islessgreater_test_data): Likewise.
31318         (isnan_test_data): Likewise.
31319         (isnormal_test_data): Likewise.
31320         (issignaling_test_data): Likewise.
31321         (isunordered_test_data): Likewise.
31322         (ldexp_test_data): Likewise.
31323         (lrint_test_data): Likewise.
31324         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31325         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31326         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31327         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31328         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31329         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31330         test input.
31331         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31332         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31333         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31334         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31335         that test input.
31336         (lrint_downward_test_data): Test for "inexact" exceptions.
31337         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31338         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31339         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31340         test input.
31341         (lrint_upward_test_data): Test for "inexact" exceptions.
31342         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31343         test input.
31344         (llrint_test_data): Test for "inexact" exceptions.
31345         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31346         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31347         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31348         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31349         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31350         (llrint_downward_test_data): Test for "inexact" exceptions.
31351         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31352         (llrint_upward_test_data): Test for "inexact" exceptions.
31353         (logb_test_data): Likewise.
31354         (logb_downward_test_data): Likewise.
31355         (nextafter_test_data): Likewise.
31356         (nexttoward_test_data): Likewise.
31357         (remainder_test_data): Likewise.
31358         (remquo_test_data): Likewise.
31359         (scalbn_test_data): Likewise.
31360         (scalbln_test_data): Likewise.
31361         (signbit_test_data): Likewise.
31362         (sqrt_test_data): Likewise.
31363         (significand_test_data): Likewise.
31365 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31367         [BZ #15424]
31368         * benchtests/bench-modf.c (struct args): Mark arg0 as
31369         volatile.
31370         * scripts/bench.pl: Mark members of struct args as volatile.
31372 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31374         [BZ # 15497]
31375         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31376         negative infinity on POWER6 or lower.
31377         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31379 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31381         [BZ #15442]
31382         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31383         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31384         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31385         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31386         (_FP_SETQNAN): New macro.
31387         (_FP_SETQNAN_SEMIRAW): Likewise.
31388         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31389         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31390         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31391         (FP_EXTEND): Use _FP_FRAC_SNANP.
31392         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31393         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31394         into account.
31395         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31396         New macro.
31397         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31398         Likewise.
31400 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31402         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31403         with DIVIDE_BY_ZERO_EXCEPTION.
31404         (gamma_test_data): Likewise.
31405         (lgamma_test_data): Likewise.
31406         (log_test_data): Likewise.
31407         (log10_test_data): Likewise.
31408         (log2_test_data): Likewise.
31409         (tgamma_test_data): Likewise.
31411         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31412         (acos_test_tonearest): Likewise.
31413         (acos_test_towardzero): Likewise.
31414         (acos_test_downward): Likewise.
31415         (acos_test_upward): Likewise.
31416         (acosh_test): Likewise.
31417         (asin_test): Likewise.
31418         (asin_test_tonearest): Likewise.
31419         (asin_test_towardzero): Likewise.
31420         (asin_test_downward): Likewise.
31421         (asin_test_upward): Likewise.
31422         (asinh_test): Likewise.
31423         (atan_test): Likewise.
31424         (atanh_test): Likewise.
31425         (atan2_test): Likewise.
31426         (cabs_test): Likewise.
31427         (cacos_test): Likewise.
31428         (cacosh_test): Likewise.
31429         (casin_test): Likewise.
31430         (casinh_test): Likewise.
31431         (catan_test): Likewise.
31432         (catanh_test): Likewise.
31433         (cbrt_test): Likewise.
31434         (ccos_test): Likewise.
31435         (ccosh_test): Likewise.
31436         (cexp_test): Likewise.
31437         (clog_test): Likewise.
31438         (clog10_test): Likewise.
31439         (cos_test): Likewise.
31440         (cos_test_tonearest): Likewise.
31441         (cos_test_towardzero): Likewise.
31442         (cos_test_downward): Likewise.
31443         (cos_test_upward): Likewise.
31444         (cosh_test): Likewise.
31445         (cosh_test_tonearest): Likewise.
31446         (cosh_test_towardzero): Likewise.
31447         (cosh_test_downward): Likewise.
31448         (cosh_test_upward): Likewise.
31449         (cpow_test): Likewise.
31450         (csin_test): Likewise.
31451         (csinh_test): Likewise.
31452         (csqrt_test): Likewise.
31453         (ctan_test): Likewise.
31454         (ctan_test_tonearest): Likewise.
31455         (ctan_test_towardzero): Likewise.
31456         (ctan_test_downward): Likewise.
31457         (ctan_test_upward): Likewise.
31458         (ctanh_test): Likewise.
31459         (ctanh_test_tonearest): Likewise.
31460         (ctanh_test_towardzero): Likewise.
31461         (ctanh_test_downward): Likewise.
31462         (ctanh_test_upward): Likewise.
31463         (erf_test): Likewise.
31464         (erfc_test): Likewise.
31465         (exp_test): Likewise.
31466         (exp_test_tonearest): Likewise.
31467         (exp_test_towardzero): Likewise.
31468         (exp_test_downward): Likewise.
31469         (exp_test_upward): Likewise.
31470         (exp10_test): Likewise.
31471         (exp2_test): Likewise.
31472         (expm1_test): Likewise.
31473         (fmod_test): Likewise.
31474         (gamma_test): Likewise.
31475         (hypot_test): Likewise.
31476         (j0_test): Likewise.
31477         (j1_test): Likewise.
31478         (jn_test): Likewise.
31479         (lgamma_test): Likewise.
31480         (log_test): Likewise.
31481         (log10_test): Likewise.
31482         (log1p_test): Likewise.
31483         (log2_test): Likewise.
31484         (logb_test_downward): Likewise.
31485         (pow_test): Likewise.
31486         (pow_test_tonearest): Likewise.
31487         (pow_test_towardzero): Likewise.
31488         (pow_test_downward): Likewise.
31489         (pow_test_upward): Likewise.
31490         (remainder_test): Likewise.
31491         (remquo_test): Likewise.
31492         (sin_test): Likewise.
31493         (sin_test_tonearest): Likewise.
31494         (sin_test_towardzero): Likewise.
31495         (sin_test_downward): Likewise.
31496         (sin_test_upward): Likewise.
31497         (sincos_test): Likewise.
31498         (sinh_test): Likewise.
31499         (sinh_test_tonearest): Likewise.
31500         (sinh_test_towardzero): Likewise.
31501         (sinh_test_downward): Likewise.
31502         (sinh_test_upward): Likewise.
31503         (sqrt_test): Likewise.
31504         (tan_test): Likewise.
31505         (tan_test_tonearest): Likewise.
31506         (tan_test_towardzero): Likewise.
31507         (tan_test_downward): Likewise.
31508         (tan_test_upward): Likewise.
31509         (tanh_test): Likewise.
31510         (tgamma_test): Likewise.
31511         (y0_test): Likewise.
31512         (y1_test): Likewise.
31513         (yn_test): Likewise.
31515         * math/gen-libm-test.pl (adjust_arg): Remove function.
31516         (special_function): Remove argument $in_func.  Only handle
31517         generating output for tables of tests, not inside functions.
31518         (parse_args): Likewise.
31519         (generate_testfile): Remove variable $in_func.  Update call to
31520         parse_args.
31521         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31522         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31523         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31524         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31525         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31526         (MAX_VALUE_INIT): Rename macro to max_value.
31527         (MIN_VALUE_INIT): Rename macro to min_value.
31528         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31529         (plus_zero): Remove variable.
31530         (minus_zero): Likewise.
31531         (plus_infty): Likewise.
31532         (minus_infty): Likewise.
31533         (qnan_value): Likewise.
31534         (max_value): Likewise.
31535         (min_value): Likewise.
31536         (min_subnorm_value): Likewise.
31538 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31540         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31541         uint64_t or uint32_t usage.
31542         * crypt/sha256-block.c: Likewise.
31543         * crypt/sha256-crypt.c: Likewise.
31544         * crypt/sha256.c: Likewise.
31545         * crypt/sha512-block.c: Likewise.
31546         * crypt/sha512-crypt.c: Likewise.
31547         * crypt/sha512.c: Likewise.
31548         * debug/backtrace-tst.c: Likewise.
31549         * debug/pcprofiledump.c: Likewise.
31550         * elf/cache.c: Likewise.
31551         * elf/dl-cache.c: Likewise.
31552         * elf/dl-misc.c: Likewise.
31553         * elf/dl-profile.c: Likewise.
31554         * elf/dl-support.c: Likewise.
31555         * elf/ldconfig.c: Likewise.
31556         * elf/sprof.c: Likewise.
31557         * iconv/dummy-repertoire.c: Likewise.
31558         * iconv/iconv_charmap.c: Likewise.
31559         * iconv/skeleton.c: Likewise.
31560         * iconvdata/8bit-generic.c: Likewise.
31561         * iconvdata/cp737.h: Likewise.
31562         * iconvdata/cp775.h: Likewise.
31563         * iconvdata/ibm1008.h: Likewise.
31564         * iconvdata/ibm1025.h: Likewise.
31565         * iconvdata/ibm1046.h: Likewise.
31566         * iconvdata/ibm1097.h: Likewise.
31567         * iconvdata/ibm1112.h: Likewise.
31568         * iconvdata/ibm1122.h: Likewise.
31569         * iconvdata/ibm1123.h: Likewise.
31570         * iconvdata/ibm1124.h: Likewise.
31571         * iconvdata/ibm1129.h: Likewise.
31572         * iconvdata/ibm1130.h: Likewise.
31573         * iconvdata/ibm1132.h: Likewise.
31574         * iconvdata/ibm1133.h: Likewise.
31575         * iconvdata/ibm1137.h: Likewise.
31576         * iconvdata/ibm1140.h: Likewise.
31577         * iconvdata/ibm1141.h: Likewise.
31578         * iconvdata/ibm1142.h: Likewise.
31579         * iconvdata/ibm1143.h: Likewise.
31580         * iconvdata/ibm1144.h: Likewise.
31581         * iconvdata/ibm1145.h: Likewise.
31582         * iconvdata/ibm1146.h: Likewise.
31583         * iconvdata/ibm1147.h: Likewise.
31584         * iconvdata/ibm1148.h: Likewise.
31585         * iconvdata/ibm1149.h: Likewise.
31586         * iconvdata/ibm1153.h: Likewise.
31587         * iconvdata/ibm1154.h: Likewise.
31588         * iconvdata/ibm1155.h: Likewise.
31589         * iconvdata/ibm1156.h: Likewise.
31590         * iconvdata/ibm1157.h: Likewise.
31591         * iconvdata/ibm1158.h: Likewise.
31592         * iconvdata/ibm1160.h: Likewise.
31593         * iconvdata/ibm1161.h: Likewise.
31594         * iconvdata/ibm1162.h: Likewise.
31595         * iconvdata/ibm1163.h: Likewise.
31596         * iconvdata/ibm1164.h: Likewise.
31597         * iconvdata/ibm1166.h: Likewise.
31598         * iconvdata/ibm1167.h: Likewise.
31599         * iconvdata/ibm12712.h: Likewise.
31600         * iconvdata/ibm1390.h: Likewise.
31601         * iconvdata/ibm1399.h: Likewise.
31602         * iconvdata/ibm16804.h: Likewise.
31603         * iconvdata/ibm4517.h: Likewise.
31604         * iconvdata/ibm4899.h: Likewise.
31605         * iconvdata/ibm4909.h: Likewise.
31606         * iconvdata/ibm4971.h: Likewise.
31607         * iconvdata/ibm5347.h: Likewise.
31608         * iconvdata/ibm803.h: Likewise.
31609         * iconvdata/ibm856.h: Likewise.
31610         * iconvdata/ibm901.h: Likewise.
31611         * iconvdata/ibm902.h: Likewise.
31612         * iconvdata/ibm9030.h: Likewise.
31613         * iconvdata/ibm9066.h: Likewise.
31614         * iconvdata/ibm921.h: Likewise.
31615         * iconvdata/ibm922.h: Likewise.
31616         * iconvdata/ibm9448.h: Likewise.
31617         * iconvdata/isiri-3342.h: Likewise.
31618         * iconvdata/jis0201.h: Likewise.
31619         * include/link.h: Likewise.
31620         * include/netdb.h: Likewise.
31621         * inet/check_native.c: Likewise.
31622         * inet/check_pf.c: Likewise.
31623         * inet/getipv4sourcefilter.c: Likewise.
31624         * inet/getnameinfo.c: Likewise.
31625         * inet/getsourcefilter.c: Likewise.
31626         * inet/htonl.c: Likewise.
31627         * inet/setipv4sourcefilter.c: Likewise.
31628         * inet/setsourcefilter.c: Likewise.
31629         * inet/test-inet6_opt.c: Likewise.
31630         * inet/tst-network.c: Likewise.
31631         * locale/C-collate.c: Likewise.
31632         * locale/C-ctype.c: Likewise.
31633         * locale/C-time.c: Likewise.
31634         * locale/C-translit.h: Likewise.
31635         * locale/loadarchive.c: Likewise.
31636         * locale/programs/3level.h: Likewise.
31637         * locale/programs/charmap.c: Likewise.
31638         * locale/programs/charmap.h: Likewise.
31639         * locale/programs/ld-address.c: Likewise.
31640         * locale/programs/ld-collate.c: Likewise.
31641         * locale/programs/ld-ctype.c: Likewise.
31642         * locale/programs/ld-identification.c: Likewise.
31643         * locale/programs/ld-measurement.c: Likewise.
31644         * locale/programs/ld-messages.c: Likewise.
31645         * locale/programs/ld-monetary.c: Likewise.
31646         * locale/programs/ld-name.c: Likewise.
31647         * locale/programs/ld-numeric.c: Likewise.
31648         * locale/programs/ld-paper.c: Likewise.
31649         * locale/programs/ld-telephone.c: Likewise.
31650         * locale/programs/ld-time.c: Likewise.
31651         * locale/programs/linereader.c: Likewise.
31652         * locale/programs/locale.c: Likewise.
31653         * locale/programs/locarchive.c: Likewise.
31654         * locale/programs/locfile.h: Likewise.
31655         * locale/programs/repertoire.c: Likewise.
31656         * locale/programs/simple-hash.c: Likewise.
31657         * locale/programs/simple-hash.h: Likewise.
31658         * malloc/memusage.c: Likewise.
31659         * malloc/memusagestat.c: Likewise.
31660         * nis/nis_defaults.c: Likewise.
31661         * nis/nis_hash.c: Likewise.
31662         * nis/nis_print.c: Likewise.
31663         * nis/nis_xdr.c: Likewise.
31664         * nscd/connections.c: Likewise.
31665         * nscd/hstcache.c: Likewise.
31666         * nscd/nscd_gethst_r.c: Likewise.
31667         * nscd/nscd_getserv_r.c: Likewise.
31668         * nscd/nscd_helper.c: Likewise.
31669         * nscd/servicescache.c: Likewise.
31670         * nss/makedb.c: Likewise.
31671         * nss/nss_db/db-XXX.c: Likewise.
31672         * nss/nss_db/db-initgroups.c: Likewise.
31673         * nss/nss_db/db-netgrp.c: Likewise.
31674         * nss/nss_files/files-network.c: Likewise.
31675         * nss/nss_files/files-parse.c: Likewise.
31676         * posix/bug-regex5.c: Likewise.
31677         * posix/fnmatch_loop.c: Likewise.
31678         * posix/regcomp.c: Likewise.
31679         * posix/regexec.c: Likewise.
31680         * posix/tst-rfc3484-2.c: Likewise.
31681         * posix/tst-rfc3484-3.c: Likewise.
31682         * posix/tst-rfc3484.c: Likewise.
31683         * resolv/nss_dns/dns-canon.c: Likewise.
31684         * resolv/nss_dns/dns-network.c: Likewise.
31685         * resolv/res_init.c: Likewise.
31686         * resolv/res_mkquery.c: Likewise.
31687         * resolv/tst-aton.c: Likewise.
31688         * stdlib/cxa_atexit.c: Likewise.
31689         * stdlib/cxa_finalize.c: Likewise.
31690         * stdlib/gen-fpioconst.c: Likewise.
31691         * stdlib/strtol_l.c: Likewise.
31692         * string/tst-endian.c: Likewise.
31693         * sunrpc/auth_des.c: Likewise.
31694         * sunrpc/clnt_udp.c: Likewise.
31695         * sunrpc/rtime.c: Likewise.
31696         * sunrpc/svcauth_des.c: Likewise.
31697         * sunrpc/xdr.c: Likewise.
31698         * sunrpc/xdr_intXX_t.c: Likewise.
31699         * sunrpc/xdr_rec.c: Likewise.
31700         * sysdeps/generic/ldconfig.h: Likewise.
31701         * sysdeps/generic/ldsodefs.h: Likewise.
31702         * sysdeps/generic/memusage.h: Likewise.
31703         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31706         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31710         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31711         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31713         * sysdeps/posix/getaddrinfo.c: Likewise.
31714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31718         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31720         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31721         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31722         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31723         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31724         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31725         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31726         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31727         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31728         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31729         * sysdeps/x86_64/dl-tls.h: Likewise.
31730         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31731         * time/alt_digit.c: Likewise.
31732         * time/era.c: Likewise.
31733         * wcsmbs/tst-c16c32-1.c: Likewise.
31735 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31737         * math/libm-test.inc (struct test_sincos_data): New type.
31738         (RUN_TEST_LOOP_sincos): New macro.
31739         (sincos_test_data): New variable.
31740         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31742 2013-05-16  Richard Henderson  <rth@redhat.com>
31744         * math/atest-exp2.c (LIMB64): New macro.
31745         (CONSTSZ): New macro.
31746         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31747         (hexdig): Move ...
31748         (print_mpn_fp): ... to function scope.
31749         (read_mpn_hex): Remove.
31750         (get_log2): Remove.
31751         (exp2_mpn): Use mp_log2.
31752         (main): Use mp_exp1.
31754 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31756         * math/libm-test.inc: Remove comment about not testing "inexact"
31757         exceptions.
31758         (INEXACT_EXCEPTION): New macro.
31759         (NO_INEXACT_EXCEPTION): Likewise.
31760         (INVALID_EXCEPTION_OK): Update value.
31761         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31762         (OVERFLOW_EXCEPTION_OK): Likewise.
31763         (UNDERFLOW_EXCEPTION_OK): Likewise.
31764         (IGNORE_ZERO_INF_SIGN): Likewise.
31765         (ERRNO_UNCHANGED): Likewise.
31766         (ERRNO_EDOM): Likewise.
31767         (ERRNO_ERANGE): Likewise.
31768         (test_exceptions): Handle testing "inexact" exceptions.
31769         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31770         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31771         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31772         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31773         INEXACT_EXCEPTION.
31774         (rint_towardzero_test_data): Likewise.
31775         (rint_downward_test_data): Likewise.
31776         (rint_upward_test_data): Likewise.
31778         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31779         with OVERFLOW_EXCEPTION.
31780         (exp10_test_data): Likewise.
31781         (exp2_test_data): Likewise.
31782         (expm1_test_data): Likewise.
31783         (lgamma_test_data): Likewise.
31784         (pow_test_data): Likewise.
31785         (tgamma_test_data): Likewise.
31786         (yn_test_data): Remove duplicate test of overflow.
31788         * math/libm-test.inc (struct test_cc_c_data): New type.
31789         (RUN_TEST_LOOP_cc_c): New macro.
31790         (cpow_test_data): New variable.
31791         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31793         * math/libm-test.inc (struct test_f_L_data): New type.
31794         (RUN_TEST_LOOP_f_L): New macro.
31795         (llrint_test_data): New variable.
31796         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31797         (llrint_tonearest_test_data): New variable.
31798         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31799         (llrint_towardzero_test_data): New variable.
31800         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31801         (llrint_downward_test_data): New variable.
31802         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31803         (llrint_upward_test_data): New variable.
31804         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31805         (llround_test_data): New variable.
31806         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31808 2013-05-13  Peter Collingbourne  <pcc@google.com>
31810         * math/atest-exp2.c (get_log2): Remove const attribute.
31812 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31814         * math/libm-test.inc (struct test_f_l_data): New type.
31815         (RUN_TEST_LOOP_f_l): New macro.
31816         (lrint_test_data): New variable.
31817         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31818         (lrint_tonearest_test_data): New variable.
31819         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31820         (lrint_towardzero_test_data): New variable.
31821         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31822         (lrint_downward_test_data): New variable.
31823         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31824         (lrint_upward_test_data): New variable.
31825         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31826         (lround_test_data): New variable.
31827         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31829 2013-05-15  Peter Collingbourne  <pcc@google.com>
31831         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31832         (EXTRACT_WORDS64) Use where appropriate.
31833         (INSERT_WORDS64) Likewise.
31835         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31836         constraints with x constraints.
31837         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31839         * malloc/obstack.c (_obstack_compat): Add initializer.
31841 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31844         si_trapno and add si_addr_lsb to _sifields.sigfault.
31845         (si_trapno): Remove macro.
31846         (si_addr_lsb): Define new macro.
31847         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31849 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31851         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31852         instead of TEST_f_l.
31853         (llrint_test_tonearest): Likewise.
31854         (llrint_test_towardzero): Likewise.
31855         (llrint_test_downward): Likewise.
31856         (llrint_test_upward): Likewise.
31857         (llround_test): Likewise.
31859         * math/libm-test.inc (struct test_f_i_data): Add comment.
31860         (RUN_TEST_LOOP_f_b): New macro.
31861         (RUN_TEST_LOOP_f_b_tg): Likewise.
31862         (finite_test_data): New variable.
31863         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31864         (isfinite_test_data): New variable.
31865         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31866         (isinf_test_data): New variable.
31867         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31868         (isnan_test_data): New variable.
31869         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31870         (isnormal_test_data): New variable.
31871         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31872         (issignaling_test_data): New variable.
31873         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31874         (signbit_test_data): New variable.
31875         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31877         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31878         with INVALID_EXCEPTION.
31879         (acosh_test_data): Likewise.
31880         (asin_test_data): Likewise.
31881         (atanh_test_data): Likewise.
31882         (fmod_test_data): Likewise.
31883         (log_test_data): Likewise.
31884         (log10_test_data): Likewise.
31885         (log2_test_data): Likewise.
31886         (pow_test_data): Likewise.
31887         (sqrt_test_data): Likewise.
31888         (y0_test_data): Likewise.
31889         (y1_test_data): Likewise.
31890         (yn_test_data): Likewise.
31892         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31893         function contents.
31895         * math/libm-test.inc (struct test_ff_i_data): New type.
31896         (RUN_TEST_LOOP_ff_i_tg): New macro.
31897         (isgreater_test_data): New variable.
31898         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31899         (isgreaterequal_test_data): New variable.
31900         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31901         (isless_test_data): New variable.
31902         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31903         (islessequal_test_data): New variable.
31904         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31905         (islessgreater_test_data): New variable.
31906         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31907         (isunordered_test_data): New variable.
31908         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31910 2013-05-14  David S. Miller  <davem@davemloft.net>
31912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31914 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31916         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31918         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31919         extra_test to int.
31920         (struct test_f_i_data): Change type of max_ulp to int.
31922         * math/libm-test.inc (test_ffI_f1_data): New type.
31923         (RUN_TEST_LOOP_ffI_f1): New macro.
31924         (remquo_test_data): New variable.
31925         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31927         * setjmp/tst-setjmp-fp.c: New file.
31928         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31929         (link-libm): New variable.
31930         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31932         * math/libm-test.inc (struct test_f_i_data): New type.
31933         (RUN_TEST_LOOP_f_i): New macro.
31934         (RUN_TEST_LOOP_f_i_tg): Likewise.
31935         (fpclassify_test_data): New variable.
31936         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31937         (ilogb_test_data): New variable.
31938         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31940         * math/libm-test.inc (scalbln_test): Correct function name in END
31941         call.
31943         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31944         (RUN_TEST_LOOP_fI_f1): New macro.
31945         (frexp_test_data): New variable.
31946         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31948         * math/libm-test.inc (struct test_fF_f1_data): New type.
31949         (RUN_TEST_LOOP_fF_f1): New macro.
31950         (modf_test_data): New variable.
31951         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31953         * math/libm-test.inc (struct test_f_f1_data): New type.
31954         (RUN_TEST_LOOP_f_f1): New macro.
31955         (gamma_test_data): New variable.
31956         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31957         (lgamma_test_data): New variable.
31958         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31960 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31963         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31964         (main): Comment "tls" pseudo-hwcap.
31966 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31968         * math/libm-test.inc (struct test_fl_f_data): New type.
31969         (RUN_TEST_LOOP_fl_f): New variable.
31970         (scalbln_test_data): New variable.
31971         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31973         * math/libm-test.inc (struct test_fi_f_data): New type.
31974         (RUN_TEST_LOOP_fi_f): New macro.
31975         (ldexp_test_data): New variable.
31976         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31977         (scalbn_test_data): New variable.
31978         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31980         * math/libm-test.inc (struct test_c_f_data): New type.
31981         (RUN_TEST_LOOP_c_f): New macro.
31982         (cabs_test_data): New variable.
31983         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31984         (carg_test_data): New variable.
31985         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31986         (cimag_test_data): New variable.
31987         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31988         (creal_test_data): New variable.
31989         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31991         * math/libm-test.inc (struct test_if_f_data): New type.
31992         (RUN_TEST_LOOP_if_f): New macro.
31993         (jn_test_data): New variable.
31994         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31995         (yn_test_data): New variable.
31996         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31998         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32000 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32002         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32003         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32005 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32007         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32008         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32009         (bench-deps): Add bench-timing.h.
32010         * benchtests-bench-skeleton.c: Include bench-timing.h.
32011         (main): Use TIMING_* macros instead of clock_gettime.
32012         * benchtests/bench-timing.h: New file.
32014         [BZ #14582]
32015         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32016         Renamed from _LIB_VERSION.
32017         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32019 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32021         * math/libm-test.inc (struct test_fff_f_data): New type.
32022         (RUN_TEST_LOOP_fff_f): New macro.
32023         (fma_test_data): New variable.
32024         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32025         (fma_towardzero_test_data): New variable.
32026         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32027         (fma_downward_test_data): New variable.
32028         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32029         (fma_upward_test_data): New variable.
32030         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32032         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32033         (struct test_c_c_data): New type.
32034         (RUN_TEST_LOOP_c_c): New macro.
32035         (cacos_test_data): New variable.
32036         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32037         (cacosh_test_data): New variable.
32038         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32039         (casin_test_data): New variable.
32040         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32041         (casinh_test_data): New variable.
32042         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32043         (catan_test_data): New variable.
32044         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32045         (catanh_test_data): New variable.
32046         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32047         (ccos_test_data): New variable.
32048         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32049         (ccosh_test_data): New variable.
32050         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32051         (cexp_test_data): New variable.
32052         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32053         (clog_test_data): New variable.
32054         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32055         (clog10_test_data): New variable.
32056         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32057         (conj_test_data): New variable.
32058         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32059         (cproj_test_data): New variable.
32060         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32061         (csin_test_data): New variable.
32062         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32063         (csinh_test_data): New variable.
32064         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32065         (csqrt_test_data): New variable.
32066         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32067         (ctan_test_data): New variable.
32068         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32069         (ctan_tonearest_test_data): New variable.
32070         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32071         (ctan_towardzero_test_data): New variable.
32072         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32073         (ctan_downward_test_data): New variable.
32074         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32075         (ctan_upward_test_data): New variable.
32076         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32077         (ctanh_test_data): New variable.
32078         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32079         (ctanh_tonearest_test_data): New variable.
32080         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32081         (ctanh_towardzero_test_data): New variable.
32082         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32083         (ctanh_downward_test_data): New variable.
32084         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32085         (ctanh_upward_test_data): New variable.
32086         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32087         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32088         of BUILD_COMPLEX.
32090         * math/libm-test.inc (struct test_ff_f_data): New type.
32091         (struct test_ff_f_data_nexttoward): Likewise.
32092         (RUN_TEST_LOOP_2_f): New macro.
32093         (RUN_TEST_LOOP_ff_f): Likewise.
32094         (atan2_test_data): New variable.
32095         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32096         (copysign_test_data): New variable.
32097         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32098         (fdim_test_data): New variable.
32099         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32100         (fmax_test_data): New variable.
32101         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32102         (fmin_test_data): New variable.
32103         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32104         (fmod_test_data): New variable.
32105         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32106         (hypot_test_data): New variable.
32107         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32108         (nextafter_test_data): New variable.
32109         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32110         (nexttoward_test_data): New variable.
32111         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32112         (pow_test_data): New variable.
32113         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32114         (pow_tonearest_test_data): New variable.
32115         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32116         (pow_towardzero_test_data): New variable.
32117         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32118         (pow_downward_test_data): New variable.
32119         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32120         (pow_upward_test_data): New variable.
32121         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32122         (remainder_test_data): New variable.
32123         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32124         (scalb_test_data): New variable.
32125         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32126         * sysdeps/i386/fpu/libm-test-ulps: Update.
32128 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32130         * math/libm-test.inc (fma_test): Use max_value instead of local
32131         variable fltmax.
32132         (nextafter_test): Likewise.
32134         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32135         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32136         (acos_downward_test_data): New variable.
32137         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32138         (acos_upward_test_data): New variable.
32139         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32140         (acosh_test_data): New variable.
32141         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32142         (asin_test_data): New variable.
32143         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32144         (asin_tonearest_test_data): New variable.
32145         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32146         (asin_towardzero_test_data): New variable.
32147         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32148         (asin_downward_test_data): New variable.
32149         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32150         (asin_upward_test_data): New variable.
32151         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32152         (asinh_test_data): New variable.
32153         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32154         (atan_test_data): New variable.
32155         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32156         (atanh_test_data): New variable.
32157         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32158         (cbrt_test_data): New variable.
32159         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32160         (ceil_test_data): New variable.
32161         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32162         (cos_test_data): New variable.
32163         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32164         (cos_tonearest_test_data): New variable.
32165         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32166         (cos_towardzero_test_data): New variable.
32167         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32168         (cos_downward_test_data): New variable.
32169         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32170         (cos_upward_test_data): New variable.
32171         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32172         (cosh_test_data): New variable.
32173         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32174         (cosh_tonearest_test_data): New variable.
32175         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32176         (cosh_towardzero_test_data): New variable.
32177         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32178         (cosh_downward_test_data): New variable.
32179         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32180         (cosh_upward_test_data): New variable.
32181         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32182         (erf_test_data): New variable.
32183         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32184         (erfc_test_data): New variable.
32185         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32186         (exp_test_data): New variable.
32187         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32188         (exp_tonearest_test_data): New variable.
32189         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32190         (exp_towardzero_test_data): New variable.
32191         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32192         (exp_downward_test_data): New variable.
32193         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32194         (exp_upward_test_data): New variable.
32195         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32196         (exp10_test_data): New variable.
32197         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32198         (exp2_test_data): New variable.
32199         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32200         (expm1_test_data): New variable.
32201         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32202         (fabs_test_data): New variable.
32203         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32204         (floor_test_data): New variable.
32205         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32206         (j0_test_data): New variable.
32207         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32208         (j1_test_data): New variable.
32209         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32210         (log_test_data): New variable.
32211         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32212         (log10_test_data): New variable.
32213         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32214         (log1p_test_data): New variable.
32215         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32216         (log2_test_data): New variable.
32217         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32218         (logb_test_data): New variable.
32219         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32220         (logb_downward_test_data): New variable.
32221         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32222         (nearbyint_test_data): New variable.
32223         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32224         (rint_test_data): New variable.
32225         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32226         (rint_tonearest_test_data): New variable.
32227         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32228         (rint_towardzero_test_data): New variable.
32229         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32230         (rint_downward_test_data): New variable.
32231         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32232         (rint_upward_test_data): New variable.
32233         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32234         (round_test_data): New variable.
32235         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32236         (sin_test_data): New variable.
32237         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32238         (sin_tonearest_test_data): New variable.
32239         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32240         (sin_towardzero_test_data): New variable.
32241         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32242         (sin_downward_test_data): New variable.
32243         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32244         (sin_upward_test_data): New variable.
32245         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32246         (sinh_test_data): New variable.
32247         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32248         (sinh_tonearest_test_data): New variable.
32249         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32250         (sinh_towardzero_test_data): New variable.
32251         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32252         (sinh_downward_test_data): New variable.
32253         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32254         (sinh_upward_test_data): New variable.
32255         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32256         (sqrt_test_data): New variable.
32257         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32258         (tan_test_data): New variable.
32259         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32260         (tan_tonearest_test_data): New variable.
32261         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32262         (tan_towardzero_test_data): New variable.
32263         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32264         (tan_downward_test_data): New variable.
32265         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32266         (tan_upward_test_data): New variable.
32267         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32268         (tanh_test_data): New variable.
32269         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32270         (tgamma_test_data): New variable.
32271         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32272         (trunc_test_data): New variable.
32273         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32274         (y0_test_data): New variable.
32275         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32276         (y1_test_data): New variable.
32277         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32278         (significand_test_data): New variable.
32279         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32281 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32283         [BZ #12387]
32284         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32286 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32288         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32290 2013-05-10  Andreas Jaeger  <aj@suse.de>
32292         [BZ #15448]
32293         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32294         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32296 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32298         * math/gen-libm-test.pl (adjust_arg): New function.
32299         (special_functions): Handle generating output in both functions
32300         and arrays.
32301         (parse_args): Likewise.
32302         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32303         $in_func argument to parse_args.
32304         * math/libm-test.inc (struct test_f_f_data): New type.
32305         (IF_ROUND_INIT_): New macro.
32306         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32307         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32308         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32309         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32310         (ROUND_RESTORE_): Likewise.
32311         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32312         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32313         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32314         (ROUND_RESTORE_FE_UPWARD): Likewise.
32315         (RUN_TEST_LOOP_f_f): New macro.
32316         (acos_test_data): New variable.
32317         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32318         (acos_tonearest_test_data): New variable.
32319         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32321 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32323         * benchtests/bench-skeleton.c (startup): Fix coding style.
32325 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32327         [BZ #6809]
32328         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32329         negative infinity argument.
32330         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32331         negative infinity argument.
32332         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32333         negative infinity argument.
32334         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32335         domain errors.
32337 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32339         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32340         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32341         * iconv/iconv_prog.c (main): Likewise.
32342         * locale/programs/charmap-dir.c (charmap_readdir)
32343         (fopen_uncompressed): Likewise.
32344         * locale/programs/locfile.c (siblings_uncached)
32345         (write_locale_data): Use lstat64 instead of lstat.
32346         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32347         stat.
32349 2013-05-10  Andreas Jaeger  <aj@suse.de>
32351         [BZ #15395]
32352         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32353         localization.
32354         Include <locale.h>.
32356 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32358         * elf/dl-close.c (_dl_close_worker): Add comments.
32360 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32362         [BZ #15359]
32363         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32364         high part of pi/2.
32365         (__ieee754_rem_pio2l): Update comments.
32367         [BZ #15429]
32368         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32369         high part of pi/2.
32370         (__ieee754_rem_pio2l): Update comments.
32372         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32373         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32375         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32376         M_PI_4l.
32378         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32379         (M_PI_34_LOG10El): Likewise.
32380         (M_PI2_LOG10El): Likewise.
32381         (M_PI4_LOG10El): Likewise.
32382         (M_PI_LOG10El): Likewise.
32384 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32388 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32390         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32391         (MINUS_ZERO_INIT): Likewise.
32392         (PLUS_INFTY_INIT): Likewise.
32393         (MINUS_INFTY_INIT): Likewise.
32394         (QNAN_VALUE_INIT): Likewise.
32395         (MAX_VALUE_INIT): Likewise.
32396         (MIN_VALUE_INIT): Likewise.
32397         (MIN_SUBNORM_VALUE_INIT): Likewise.
32398         (plus_zero): Initialize with PLUS_ZERO_INIT.
32399         (minus_zero): Initialize with MINUS_ZERO_INIT.
32400         (plus_infty): Initialize with PLUS_INFTY_INIT.
32401         (minus_infty): Initialize with MINUS_INFTY_INIT.
32402         (qnan_value): Initialize with QNAN_VALUE_INIT.
32403         (max_value): Initialize with MAX_VALUE_INIT.
32404         (min_value): Initialize with MIN_VALUE_INIT.
32405         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32407         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32408         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32409         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32410         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32412         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32413         (RUN_TEST_2_f): Likewise.
32414         (RUN_TEST_ff_f): Likewise.
32415         (RUN_TEST_fi_f): Likewise.
32416         (RUN_TEST_fl_f): Likewise.
32417         (RUN_TEST_fff_f): Likewise.
32418         (RUN_TEST_c_f): Likewise.
32419         (RUN_TEST_f_f1): Likewise.
32420         (RUN_TEST_fF_f1): Likewise.
32421         (RUN_TEST_fI_f1): Likewise.
32422         (RUN_TEST_ffI_f1): Likewise.
32423         (RUN_TEST_c_c): Likewise.
32424         (RUN_TEST_cc_c): Likewise.
32425         (RUN_TEST_f_i): Likewise.
32426         (RUN_TEST_f_i_tg): Likewise.
32427         (RUN_TEST_ff_i_tg): Likewise.
32428         (RUN_TEST_f_b): Likewise.
32429         (RUN_TEST_f_b_tg): Likewise.
32430         (RUN_TEST_f_l): Likewise.
32431         (RUN_TEST_f_L): Likewise.
32432         (RUN_TEST_sincos): Likewise.
32433         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32434         whether to show exceptions.  Do not include ");\n" in return
32435         value.
32436         (special_functions): Output call to RUN_TEST_sincos instead of
32437         check_float calls.  Update calls to new_test.
32438         (parse_args): Output call to single RUN_TEST_* macro instead of
32439         check_* calls and other assignments.  Update calls to new_test.
32441         [BZ #2546]
32442         [BZ #2560]
32443         [BZ #5159]
32444         [BZ #15426]
32445         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32446         input to result for tgamma overflow.
32447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32448         (gamma_coeff): New variable.
32449         (NCOEFF): New macro.
32450         (gamma_positive): New function.
32451         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32452         underflow here.  Use gamma_positive instead of exp (lgamma) for
32453         other arguments.
32454         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32455         (gamma_coeff): New variable.
32456         (NCOEFF): New macro.
32457         (gammaf_positive): New function.
32458         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32459         underflow here.  Use gamma_positive instead of exp (lgamma) for
32460         other arguments.
32461         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32462         (gamma_coeff): New variable.
32463         (NCOEFF): New macro.
32464         (gammal_positive): New function.
32465         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32466         underflow here.  Use gamma_positive instead of exp (lgamma) for
32467         other arguments.
32468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32469         (gamma_coeff): New variable.
32470         (NCOEFF): New macro.
32471         (gammal_positive): New function.
32472         (__ieee754_gammal_r): Handle positive infinity, overflow and
32473         underflow here.  Handle NaN the same as positive infinity.  Remove
32474         check x < 0xffffffff for negative integers.  Use gamma_positive
32475         instead of exp (lgamma) for other arguments.
32476         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32477         (gamma_coeff): New variable.
32478         (NCOEFF): New macro.
32479         (gammal_positive): New function.
32480         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32481         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32484         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32485         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32486         * sysdeps/generic/math_private.h (__gamma_productf): New
32487         prototype.
32488         (__gamma_product): Likewise.
32489         (__gamma_productl): Likewise.
32490         * math/Makefile (libm-calls): Add gamma_product.
32491         * math/libm-test.inc (tgamma_test): Add more tests.
32492         * sysdeps/i386/fpu/libm-test-ulps: Update.
32493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32495 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32497         * benchtests/bench-skeleton.c (main): Preheat CPU.
32499 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32501         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32503 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32505         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32506         and _dl_skip_args_internal.
32508 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32510         * manual/message.texi (Message Translation): Talk about users.
32511         Message to key mapping impacts design.
32513 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32515         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32517         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32519         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32520         * sysdeps/wordsize-64/glob64.c: ... here.
32522         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32523         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32524         New macros.
32526         * debug/getlogin_r_chk.c: Moved to ...
32527         * login/getlogin_r_chk.c: ... here.
32528         * debug/Makefile (routines): Move getlogin_r_chk to ...
32529         * login/Makefile (routines): ... here.
32530         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32531         * login/Versions (libc: GLIBC_2.4): ... here.
32533         * io/poll.c (__poll): Renamed from poll.
32534         Add libc_hidden_def.
32535         (poll): Define as weak alias.
32537         * debug/ptsname_r_chk.c: Moved to ...
32538         * login/ptsname_r_chk.c: ... here.
32539         * debug/Makefile (routines): Move ptsname_r_chk to ...
32540         * login/Makefile (routines): ... here.
32541         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32542         * login/Versions (libc: GLIBC_2.4): ... here.
32544         * posix/getlogin.c: Moved to ...
32545         * login/getlogin.c: ... here.
32546         * posix/getlogin_r.c: Moved to ...
32547         * login/getlogin_r.c: ... here.
32548         * posix/getlogin_r.c: Moved to ...
32549         * login/getlogin_r.c: ... here.
32550         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32551         * login/Makefile (routines): ... here.
32552         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32553         * login/Versions (libc: GLIBC_2.0): ... here.
32555         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32556         (setrlimit): Define as weak alias.
32558         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32559         Call __ names for open, ftruncate, and close.
32560         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32561         (truncate): Define as weak alias.
32563 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32565         * math/gen-libm-test.pl (parse_args): Initialize x before each
32566         test of frexp, modf and remquo.
32568         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32569         test signgam value.
32571 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32573         [BZ #15418]
32574         [BZ #15419]
32575         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32576         internal tests.
32577         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32579 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32581         * elf/dl-writev.h: New file.
32582         * elf/dl-misc.c: Include it.
32583         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32584         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32586 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32588         * math/libm-test.inc (noXFails): Remove variable.
32589         (noXPasses): Likewise.
32590         (BUILD_COMPLEX_INT): Remove macro.
32591         (print_screen): Remove xfail argument.
32592         (print_screen_max_error): Likewise.
32593         (update_stats): Likewise.
32594         (print_max_error): Likewise.  Update calls to other affected
32595         functions.
32596         (print_complex_max_error): Likewise.
32597         (test_single_exception): Update calls to print_screen.
32598         (test_single_errno): Likewise.
32599         (check_float_internal): Remove xfail argument.  Update calls to
32600         other affected functions.
32601         (check_float): Likewise.
32602         (check_complex): Likewise.
32603         (check_int): Likewise.
32604         (check_long): Likewise.
32605         (check_bool): Likewise.
32606         (check_longlong): Likewise.
32607         (main): Don't print noXFails and noXPasses.
32608         * math/gen-libm-test.pl (top level): Don't mention expected
32609         failure handling in comment.
32610         (new_test): Don't handle expected failures.
32611         (parse_args): Don't mention expected failure handling in comment.
32612         (generate_testfile): Don't handle expected failures.
32613         (parse_ulps): Likewise.
32614         (print_ulps_file): Likewise.
32615         (get_failure): Remove function.
32616         (output_test): Don't handle expected failures.
32617         * make/README.libm-test: Don't mention expected failure handling.
32619         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32620         (minus_zero): Likewise.
32621         (plus_infty): Likewise.
32622         (minus_infty): Likewise.
32623         (qnan_value): Likewise.
32624         (max_value): Likewise.
32625         (min_value): Likewise.
32626         (min_subnorm_value): Likewise.
32627         (initialize): Do not initialize those variables dynamically.
32629 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32631         * io/open.c (__open_2): Moved to ...
32632         * io/open_2.c: ... this new file.
32633         * io/open64.c (__open64_2): Moved to ...
32634         * io/open64_2.c: ... this new file.
32635         * io/openat.c (__openat_2): Moved to ...
32636         * io/openat_2.c: ... this new file.
32637         * io/openat64.c (__openat64_2): Moved to ...
32638         * io/openat64_2.c: ... this new file.
32639         * io/Makefile (routines): Add them.
32640         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32641         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32642         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32643         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32644         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32645         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32646         (__openat64): Add hidden_ver.
32647         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32648         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32650         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32651         Separately conditionalize setting of GLRO(dl_sysinfo) so
32652         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32653         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32655 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32657         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32658         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32659         definition.
32660         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32661         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32662         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32663         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32664         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32666 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32668         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32669         test signgam value.
32671         * math/libm-test.inc (hypot_test): Do not use
32672         IGNORE_ZERO_INF_SIGN.
32674 2013-05-03  Andreas Jaeger  <aj@suse.de>
32676         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32677         Linux 3.9.
32678         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32679         (PF_MAX): Adjust for VSOCK change.
32681 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32685 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32687         [BZ #15264]
32688         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32689         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32690         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32692 2013-05-02  David S. Miller  <davem@davemloft.net>
32694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32696 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32698         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32700 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32702         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32704 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32706         [BZ #14952]
32707         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32708         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32709         Use __attribute__ ((__gnu_inline__)).
32710         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32711         Don't use __attribute__ ((__gnu_inline__)).
32713 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32715         [BZ #15423]
32716         * math/s_catan.c (__catan): Handle small real or imaginary part of
32717         input specially to avoid spurious underflow.
32718         * math/s_catanf.c (__catanf): Likewise.
32719         * math/s_catanh.c (__catanh): Likewise.
32720         * math/s_catanhf.c (__catanhf): Likewise.
32721         * math/s_catanhl.c (__catanhl): Likewise.
32722         * math/s_catanl.c (__catanl): Likewise.
32723         * math/libm-test.inc (catan_test): Add more tests.
32724         (catanh_test): Likewise.
32725         * sysdeps/i386/fpu/libm-test-ulps: Update.
32726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32728 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32732 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32734         [BZ #15416]
32735         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32736         accurately for denominator in atan2.
32737         * math/s_catanf.c (__catanf): Likewise.
32738         * math/s_catanh.c (__catanh): Likewise.
32739         * math/s_catanhf.c (__catanhf): Likewise.
32740         * math/s_catanhl.c (__catanhl): Likewise.
32741         * math/s_catanl.c (__catanl): Likewise.
32742         * math/libm-test.inc (catan_test): Add more tests.
32743         (catanh_test): Likewise.
32744         * sysdeps/i386/fpu/libm-test-ulps: Update.
32745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32747 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32749         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32751         * benchtests/Makefile (bench): Remove slow benchmarks.
32752         * benchtests/atan-inputs: Add slow benchmark inputs.
32753         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32754         (BENCH_FUNC): Accept variant offset.
32755         (VARIANT): Define.
32756         * benchtests/bench-skeleton.c (main): Run benchmark for each
32757         variant.
32758         * benchtests/cos-inputs: Add slow benchmark inputs.
32759         * benchtests/exp-inputs: Likewise.
32760         * benchtests/pow-inputs: Likewise.
32761         * benchtests/sin-inputs: Likewise.
32762         * benchtests/slowatan-inputs: Remove.
32763         * benchtests/slowatan.c: Remove.
32764         * benchtests/slowcos-inputs: Remove.
32765         * benchtests/slowcos.c: Remove.
32766         * benchtests/slowexp-inputs: Remove.
32767         * benchtests/slowexp.c: Remove.
32768         * benchtests/slowpow-inputs: Remove.
32769         * benchtests/slowpow.c: Remove.
32770         * benchtests/slowsin-inputs: Remove.
32771         * benchtests/slowsin.c: Remove.
32772         * benchtests/slowtan-inputs: Remove.
32773         * benchtests/slowtan.c: Remove.
32774         * benchtests/tan-inputs: Add slow benchmark inputs.
32775         * scripts/bench.pl: Parse comments and directives.
32777         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32778         in CPPFLAGS.
32779         ($(objpfx)bench-%.c): Remove *-ITER.
32780         * benchtests/bench-modf.c: Remove definition of ITER.
32781         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32782         (main): Loop for DURATION seconds instead of fixed number of
32783         iterations.
32784         * scripts/bench.pl: Don't expect iterations in parameters.
32786 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32788         * io/fchdir.c (__fchdir): Renamed from fchdir.
32789         (fchdir): Define as weak alias.
32791 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32793         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32794         (ERRNO_EDOM): Likewise.
32795         (ERRNO_ERANGE): Likewise.
32796         (noErrnoTests): New variable.
32797         (init_max_error): Set errno to 0.
32798         (test_single_errno): New function.
32799         (test_errno): Likewise.
32800         (check_float_internal): Call test_errno.  Set errno to 0.
32801         (check_complex): Refer to errno tests in comment.
32802         (check_int): Call test_errno.  Set errno to 0.
32803         (check_long): Likewise.
32804         (check_bool): Likewise.
32805         (check_longlong): Likewise.
32806         (cos_test): Use ERRNO_* flags for errno tests instead of
32807         check_int.
32808         (expm1_test): Likewise.
32809         (fmod_test): Likewise.
32810         (ilogb_test): Likewise.
32811         (lgamma_test): Likewise.
32812         (pow_test): Likewise.
32813         (remainder_test): Likewise.
32814         (sin_test): Likewise.
32815         (tan_test): Likewise.
32816         (yn_test): Likewise.
32817         (initialize): Set errno to 0.
32818         (main): Print number of errno tests.
32819         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32821 2013-04-29  Andreas Jaeger  <aj@suse.de>
32823         [BZ #15084]
32824         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32825         and RES_USEVC.
32827         [BZ #15085]
32828         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32829         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32830         unimplemented.
32832         [BZ #15380]
32833         * stdlib/random.c (__initstate): Return NULL if
32834         __initstate fails.
32836         [BZ #15086]
32837         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32838         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32839         RES_SNGLKUPREOP.
32841 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32847         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32848         of individual tests.
32849         (casin_test): Likewise.
32850         (casinh_test): Likewise.
32852 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32854         [BZ #15409]
32855         * math/s_catan.c (__catan): Handle arguments with large real or
32856         imaginary part separately without squaring.
32857         * math/s_catanf.c (__catanf): Likewise.
32858         * math/s_catanh.c (__catanh): Likewise.
32859         * math/s_catanhf.c (__catanhf): Likewise.
32860         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32861         and redefine.
32862         (__catanhl): Handle arguments with large real or imaginary part
32863         separately without squaring.
32864         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32865         and redefine.
32866         (__catanl): Handle arguments with large real or imaginary part
32867         separately without squaring.
32868         * math/libm-test.inc (catan_test): Add more tests.
32869         (catanh_test): Likewise.
32870         * sysdeps/i386/fpu/libm-test-ulps: Update.
32871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32873 2013-04-27  Andreas Jaeger  <aj@suse.de>
32875         [BZ #15007]
32876         * stdlib/stdlib.h: Update guards for qecvt.
32877         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32878         <stdlib.h>.
32880 2013-04-27  Allan McRae  <allan@archlinux.org>
32882         * sysdeps/i386/fpu/libm-test-ulps: Update.
32884 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32886         [BZ #15406]
32887         * math/s_catan.c: Include <float.h>.
32888         (__catan): Ensure underflow exception occurs for underflowed
32889         result.
32890         * math/s_catanf.c: Include <float.h>.
32891         (__catanf): Ensure underflow exception occurs for underflowed
32892         result.
32893         * math/s_catanh.c: Include <float.h>.
32894         (__catanh): Ensure underflow exception occurs for underflowed
32895         result.
32896         * math/s_catanhf.c: Include <float.h>.
32897         (__catanhf): Ensure underflow exception occurs for underflowed
32898         result.
32899         * math/s_catanhl.c: Include <float.h>.
32900         (__catanhl): Ensure underflow exception occurs for underflowed
32901         result.
32902         * math/s_catanl.c: Include <float.h>.
32903         (__catanl): Ensure underflow exception occurs for underflowed
32904         result.
32905         * math/libm-test.inc (catan_test): Add more tests.
32906         (catanh_test): Likewise.
32908         [BZ #15405]
32909         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32910         underflowed result.
32911         * math/s_ccoshf.c (__ccoshf): Likewise.
32912         * math/s_ccoshl.c (__ccoshl): Likewise.
32913         * math/s_csin.c (__csin): Likewise.
32914         * math/s_csinf.c (__csinf): Likewise.
32915         * math/s_csinh.c (__csinh): Likewise.
32916         * math/s_csinhf.c (__csinhf): Likewise.
32917         * math/s_csinhl.c (__csinhl): Likewise.
32918         * math/s_csinl.c (__csinl): Likewise.
32919         * math/libm-test.inc (ccos_test): Add more tests.
32920         (ccosh_test): Likewise.
32921         (csin_test): Likewise.
32922         (csinh_test): Likewise.
32924 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32926         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32927         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32928         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32929         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32930         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32931         powerpc/power5+/fpu folders.
32932         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32935 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32939 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32941         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32942         additions to variable.
32943         [$(config-machine) = x86_64] (modules-names): Likewise.
32944         ($(objpfx)tst-audit3): Remove dependency.
32945         ($(objpfx)tst-audit3.out): Likewise.
32946         ($(objpfx)tst-audit4): Likewise.
32947         ($(objpfx)tst-audit4.out): Likewise.
32948         ($(objpfx)tst-audit5): Likewise.
32949         ($(objpfx)tst-audit5.out): Likewise.
32950         ($(objpfx)tst-audit6): Likewise.
32951         ($(objpfx)tst-audit6.out): Likewise.
32952         ($(objpfx)tst-audit7): Likewise.
32953         ($(objpfx)tst-audit7.out): Likewise.
32954         (tst-audit3-ENV): Remove variable.
32955         (tst-audit4-ENV): Likewise.
32956         (tst-audit5-ENV): Likewise.
32957         (tst-audit6-ENV): Likewise.
32958         (tst-audit7-ENV): Likewise.
32959         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32960         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32961         addition to variable.
32962         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32963         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32964         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32965         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32966         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32967         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32968         tst-audit3, tst-audit4 and tst-audit5.
32969         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32970         tst-audit6 and tst-audit7.
32971         [$(subdir) = elf] (modules-names): Add audit modules for those
32972         tests.
32973         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32974         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32975         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32976         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32977         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32978         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32979         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32980         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32981         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32982         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32983         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32984         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32985         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32986         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32987         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32988         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32989         Likewise.
32990         [$(subdir) = elf && $(config-cflags-avx) = yes]
32991         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32992         [$(subdir) = elf && $(config-cflags-avx) = yes]
32993         (CFLAGS-tst-auditmod4a.c): Likewise.
32994         [$(subdir) = elf && $(config-cflags-avx) = yes]
32995         (CFLAGS-tst-auditmod4b.c): Likewise.
32996         [$(subdir) = elf && $(config-cflags-avx) = yes]
32997         (CFLAGS-tst-auditmod6b.c): Likewise.
32998         [$(subdir) = elf && $(config-cflags-avx) = yes]
32999         (CFLAGS-tst-auditmod6c.c): Likewise.
33000         [$(subdir) = elf && $(config-cflags-avx) = yes]
33001         (CFLAGS-tst-auditmod7b.c): Likewise.
33002         * elf/tst-audit3.c: Move to ...
33003         * sysdeps/x86_64/tst-audit3.c: ... here.
33004         * elf/tst-audit4.c: Move to ...
33005         * sysdeps/x86_64/tst-audit4.c: ... here.
33006         * elf/tst-audit5.c: Move to ...
33007         * sysdeps/x86_64/tst-audit5.c: ... here.
33008         * elf/tst-audit6.c: Move to ...
33009         * sysdeps/x86_64/tst-audit6.c: ... here.
33010         * elf/tst-audit7.c: Move to ...
33011         * sysdeps/x86_64/tst-audit7.c: ... here.
33012         * elf/tst-auditmod3a.c: Move to ...
33013         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33014         * elf/tst-auditmod3b.c: Move to ...
33015         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33016         * elf/tst-auditmod4a.c: Move to ...
33017         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33018         * elf/tst-auditmod4b.c: Move to ...
33019         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33020         * elf/tst-auditmod5a.c: Move to ...
33021         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33022         * elf/tst-auditmod5b.c: Move to ...
33023         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33024         * elf/tst-auditmod6a.c: Move to ...
33025         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33026         * elf/tst-auditmod6b.c: Move to ...
33027         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33028         * elf/tst-auditmod6c.c: Move to ...
33029         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33030         * elf/tst-auditmod7a.c: Move to ...
33031         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33032         * elf/tst-auditmod7b.c: Move to ...
33033         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33035 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33037         [BZ #15366]
33038         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33039         define unconditionally.
33040         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33041         define unconditionally.
33042         (INT8_C, INT16_C, etc.): Likewise.
33044 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33046         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33047         __ehdr_start with hidden visibility.
33049         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33051 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33053         * math/libm-test.inc (cos_test): Use accurate hex constants.
33054         (sincost_test): Likewise.
33056 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33058         * math/libm-test.inc (catan_test): Add more tests.
33059         (catanh_test): Likewise.
33061         * math/s_catanf.c (__catanf): Use suffixed floating-point
33062         constants.
33063         * math/s_catanhf.c (__catanhf): Likewise.
33064         * math/s_catanhl.c (__catanhl): Likewise.
33065         * math/s_catanl.c (__catanl): Likewise.
33067         [BZ #15394]
33068         * math/s_catan.c (__catan): Calculate imaginary part of result
33069         with log1p not log unless computing log of number close to 0.
33070         * math/s_catanf.c (__catanf): Likewise.
33071         * math/s_catanl.c (__catanl): Likewise.
33072         * math/s_catanh.c (__catanh): Calculate real part of result with
33073         log1p not log unless computing log of number close to 0.
33074         * math/s_catanhf.c (__catanhf): Likewise.
33075         * math/s_catanhl.c (__catanhl): Likewise.
33076         * math/libm-test.inc (catan_test): Add more tests.
33077         (catanh_test): Likewise.
33078         * sysdeps/i386/fpu/libm-test-ulps: Update.
33079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33081 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33083         * benchtests/Makefile: Mention files in which fast and slow
33084         paths of math functions are implemented.
33086 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33088         * sysdeps/posix/timespec_get.c: New file.
33090 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33092         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33093         POWER.
33094         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33095         for POWER.
33096         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33097         powerpc/power5/fpu folders.
33098         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33099         * benchtests/Makefile: Add modf testcase.
33100         * benchtests/bench-modf.c: New file: Benchmark test for mo
33102 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33104         [BZ #14888]
33105         * time/Makefile (tests): Add tst-strptime-whitespace.
33106         * time/strptime_l.c (get_number): Use ISSPACE.
33107         (__strptime_internal): Likewise.
33108         * time/tst-strptime-whitespace.c: New test case.
33110 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33112         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33113         member.
33114         (_nss_files_init): Set it here.
33116 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33118         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33119         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33120         unsigned.
33122 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33124         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33126 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33129         size just once.
33131 2013-04-21  David S. Miller  <davem@davemloft.net>
33133         * po/ru.po: Update Russion translation from translation project.
33135 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33137         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33138         and setfsgid.
33140 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33142         * configure.in: Remove i386 configure warning. Remove i386 case.
33143         * configure: Regenerate.
33144         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33145         Add example to error message.
33146         * sysdeps/i386/configure: Regenerate.
33148 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33150         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33151         slowtan.
33152         * benchtests/cos-inputs: New file.
33153         * benchtests/slowcos-inputs: New file.
33154         * benchtests/slowcos.c: New file.
33155         * benchtests/slowtan-inputs: New file.
33156         * benchtests/slowtan.c: New file.
33157         * benchtests/tan-inputs: New file.
33159 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33161         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33162         considered kosher.
33164 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33166         * benchtests/Makefile: Include cppflags-iterator.mk to add
33167         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33169         * Makefile.in (bench-clean): New target.
33170         * benchtests/Makefile (bench-clean): Likewise.
33172 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33174         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33176 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33178         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33180 2013-04-15  Andreas Schwab  <schwab@suse.de>
33182         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33184         * nscd/pwdcache.c (cache_addpw): Likewise.
33185         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33186         more than recsize.
33188 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33190         * benchtests/Makefile (bench): Write all output to
33191         bench-out.tmp together.
33193 2013-04-15  Andreas Schwab  <schwab@suse.de>
33195         * nscd/nscd.c (main): Don't fork again after closing files.
33197 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33199         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33201         * benchtests/Rules (bench-deps): Collect dependencies into a
33202         single variable.  Add Makefile to dependencies.
33203         ($(objpfx)bench-%.c): Depend on bench-deps.
33205 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33206             Xavier Roche  <roche+kml2@exalead.com>
33208         [BZ #15361]
33209         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33210         just that it's a file descriptor.
33211         * manual/llio.texi (Synchronizing AIO Operations): Update description
33212         for EBADF error from aio_fsync.
33214 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33216         * Rules (bench): Move target definition...
33217         * benchtests/Makefile: ... here.
33219 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33221         * math/libm-test.inc (cos_test): Fix PI/2 test.
33222         (sincos_test): Likewise.
33223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33224         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33226 2013-04-11  Andreas Schwab  <schwab@suse.de>
33228         [BZ #13988]
33229         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33230         accept exponent character only when digits were seen.
33231         * stdio-common/Makefile (tests): Add bug26.
33232         * stdio-common/bug26.c: New file.
33234         [BZ #14293]
33235         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33236         non-freeable.
33238 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33240         * Makeconfig (rtld-prefix): Define built linker prefix.
33241         * Rules (run-bench): Use it.
33242         * math/Makefile (run-regen-ulps): Likewise.
33244         * Rules (bench): Remove eval.
33246 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247             Roland McGrath  <roland@hack.frob.com>
33248             Ondrej Bilka  <neleai@seznam.cz>
33250         [BZ #15346]
33251         * time/getdate.c: Include ctype.h and alloca.h.
33252         (__getdate_r): Trim leading and trailing spaces of input.
33253         * time/tst-getdate.c (tests): Add tests with leading and
33254         trailing spaces.
33256 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33258         [BZ #14280]
33259         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33260         when computing value.
33262 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33264         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33265         Use testrun.sh to run libm tests.
33267         [BZ #15309]
33268         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33270 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33272         [BZ #15264]
33273         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33275 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33277         * Makefile.in (regen-ulps): New target.
33278         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33279         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33280         [ifneq (no,$(PERL)] (regen-ulps): New target.
33281         [ifeq (no,$(PERL)] (regen-ulps): New target.
33282         * math/libm-test.inc (ulps_file_name): Define.
33283         (output_dir): New variable.
33284         (options): Add "output-dir" option.
33285         (parse_opt): Handle 'o' case.
33286         (main): If output_dir is non-NULL use it as a prefix
33287         otherwise use "".
33288         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33290 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33292         [BZ #10060, #10062]
33293         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33294         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33295         fail configure if __sync_val_compare_and_swap is not inlined.
33296         * sysdeps/i386/configure: Regenerate.
33297         * configure.in: Build for i686 when configured for i386.
33298         * configure: Regenerate.
33299         * README: Remove i386 reference.
33301 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33303         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33306 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33308         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33309         (lmsnanval): New variables.
33310         (F): Add conversion tests.
33311         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33312         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33314         * stdio-common/tstdiomisc.c (F): Properly collect individual
33315         tests' results.
33317         [BZ #14686, #15336]
33318         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33319         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33320         Instead, use input NaN values or generate a qNaN by arithmetic
33321         operation.  Also fix bugs to comply with the standard.
33322         * math/libm-test.inc (remainder_test): Add more tests.
33324         [BZ #15335, #15342]
33325         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33327         input NaN values or generate a qNaN by arithmetic operation.
33329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33330         unreachable code.
33332         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33333         definitions.
33335 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33337         [BZ #14478]
33338         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33339         underflowed result.
33340         * math/s_cexpf.c (__cexpf): Likewise.
33341         * math/s_cexpl.c (__cexpl): Likewise.
33342         * math/libm-test.inc (cexp_test): Add more tests.
33344 2013-04-03  Andreas Schwab  <schwab@suse.de>
33346         [BZ #15330]
33347         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33348         order arrays from heap if bigger than alloca cutoff.
33350 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33352         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33353         (SNAN_TESTS_double): Refer to GCC PR56831.
33354         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33355         GCC PR56828.
33357 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33359         * Rules (bench): Move bench.out after the run is complete.
33361         * Rules (bench): Echo currently running benchmark.
33363         * benchtests/Makefile (bench): Add atan and slowatan.
33364         * benchtests/atan-inputs: New file.
33365         * benchtests/slowatan-inputs: New file.
33366         * benchtests/slowatan.c: New file.
33368         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33370         its value.
33372         [BZ #15305]
33373         * sysdeps/unix/sysv/linux/kernel-features.h
33374         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33375         __ASSUME_XFS_RESTRICTED_CHOWN.
33376         * sysdeps/unix/sysv/linux/pathconf.c
33377         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33378         Save and restore errno.
33380 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33382         [BZ #15327]
33383         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33384         arguments using __kernel_casinh.
33385         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33386         arguments using __kernel_casinhf.
33387         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33388         arguments using __kernel_casinhl.
33389         * math/libm-test.inc (cacosh_test): Add more tests.
33390         * sysdeps/i386/fpu/libm-test-ulps: Update.
33391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33393 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33395         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33398         * bench/Makefile (bench): Add sin and slowsin.
33399         * benchtests/sin-inputs: New file.
33400         * benchtests/slowsin-inputs: New file.
33401         * benchtests/slowsin.c: New file.
33403         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33404         (bench): Add slowexp and slowpow.
33405         (exp-ITER): Increase iterations.
33406         (pow-ITER): Likewise.
33407         * benchtests/exp-inputs: Change input.
33408         * benchtests/pow-inputs: Likewise.
33409         * benchtests/slowexp-inputs: New file.
33410         * benchtests/slowexp.c: New file.
33411         * benchtests/slowpow-inputs: New file.
33412         * benchtests/slowpow.c: New file.
33414 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33416         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33417         instructions.
33418         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33419         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33420         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33421         * benchtests/Makefile: Add rint benchtest.
33422         * benchtests/rint-inputs: Input for rint benchtest.
33424 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33426         * Versions.def (libm): Add GLIBC_2.18.
33427         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33428         hidden libm prototypes.
33429         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33430         * math/Makefile (libm-calls): Add s_issignaling.
33431         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33432         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33433         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33434         declaration.
33435         * math/math.h [__USE_GNU] (issignaling): New macro.
33436         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33437         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33438         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33439         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33440         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33441         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33442         * manual/arith.texi (issignaling): New section.
33443         * manual/libm-err-tab.pl (@all_functions): Update comment.
33444         * math/gen-libm-test.pl (parse_args): Apply special handling for
33445         issignaling.
33446         * math/libm-test.inc (print_float, issignaling_test): New
33447         functions.
33448         (check_float_internal): Add issignaling checks.
33449         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33450         default definition.
33451         * sysdeps/powerpc/math-tests.h: New file.
33452         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33453         tests.
33454         * math/test-snan.c (TEST_FUNC): Likewise.
33456 2013-03-30  David S. Miller  <davem@davemloft.net>
33458         * po/de.po: Update from translation team.
33460 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33462         [BZ #10357]
33463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33464         imaginary part less than 1.0 and real part less than 0.5
33465         specially.
33466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33468         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33469         (cacos_test): Add more tests.
33470         (casin_test): Likewise.
33471         (casinh_test): Likewise.
33472         * sysdeps/i386/fpu/libm-test-ulps: Update.
33473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33475 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33477         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33478         ONE with its value.
33480         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33481         (__pow_mp): Replace ONE and MONE with their values.
33482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33484         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33485         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33486         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33487         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33489         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33491         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33492         (__pow_mp): Replace ZERO and MZERO with their values.
33493         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33494         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33495         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33496         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33497         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33498         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33499         (__sqr): Likewise.
33501         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33503         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33505 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33507         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33508         Declare with __attribute__ ((weak)).
33509         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33510         Call __call_tls_dtors only if it's not NULL.
33512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33514         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33515         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33516         magic __ehdr_start linker symbol if it's defined.
33517         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33518         them up here if it was already done.
33520         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33521         (_dl_aux_init): Use const in cast when setting it.
33522         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33523         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33524         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33526         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33527         Declare them here.
33528         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33529         * csu/libc-tls.c: Nor here.
33530         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33532         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33533         (__libc_message): Never call vsyslog.
33535 2013-03-28  Alan Modra  <amodra@gmail.com>
33537         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33538         Define as empty.
33539         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33540         Likewise.
33542 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33544         [BZ #15214]
33545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33546         underflow.
33547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33549 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33551         [BZ #15304]
33552         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33553         Don't add gid passed as argument.
33555         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33557 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33559         [BZ #15307]
33560         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33561         imaginary part between 1.0 and 1.5 and real part less than 0.5
33562         specially.
33563         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33564         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33565         * math/libm-test.inc (cacos_test): Add more tests.
33566         (casin_test): Likewise.
33567         (casinh_test): Likewise.
33568         * sysdeps/i386/fpu/libm-test-ulps: Update.
33569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33571 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33573         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33574         constants.
33575         (norm): Likewise.
33576         (denorm): Likewise.
33577         (__dbl_mp): Likewise.
33578         (add_magnitudes): Likewise.
33579         (sub_magnitudes): Likewise.
33580         (__add): Likewise.
33581         (__sub): Likewise.
33582         (__mul): Likewise.
33583         (__sqr): Likewise.
33584         (__inv): Likewise.
33585         (__dvd): Likewise.
33587         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33588         commented code.
33589         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33590         (__dubcos): Likewise.
33591         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33592         (__ieee754_acos): Likewise.
33593         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33594         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33595         (__exp1): Likewise.
33596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33598         (log1): Likewise.
33599         (my_log2): Likewise.
33600         (checkint): Likewise.
33601         * sysdeps/ieee754/dbl-64/e_remainder.c
33602         (__ieee754_remainder): Likewise.
33603         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33605         (bsloww): Likewise.
33606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33608         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33609         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33610         MANTISSA_STORE_T to store computations on mantissa.  Use
33611         macros for rounding and division.
33612         (denorm): Likewise.
33613         (__dbl_mp): Likewise.
33614         (add_magnitudes): Likewise.
33615         (sub_magnitudes): Likewise.
33616         (__mul): Likewise.
33617         (__sqr): Likewise.
33618         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33619         powers of two in terms of TWOPOW macro.
33620         (mp_no): Make type of mantissa as MANTISSA_T.
33621         [!RADIXI]: Define RADIXI.
33622         [!TWO52]: Define TWO52.
33623         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33625 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33627         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33628         llroundl symbol when building for PPC32.
33630 2013-03-24  Mark H Weaver  <mhw@netris.org>
33632         * manual/arith.texi (Normalization Functions): Fix prototypes for
33633         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33635 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33637         [BZ #13889]
33638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33639         high value to check if expl overflow.
33640         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33641         to check for underflow and overflow.
33642         * math/libm-test.inc: Add exp test.
33644 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33646         [BZ #11120]
33647         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33648         with NOT_IN_libc.
33650 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33652         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33653         symbol.
33655 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33657         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33658         wrap blocks consisting of several statements.
33660         * sysdeps/generic/math-tests.h: New file.
33661         * sysdeps/i386/fpu/math-tests.h: Likewise.
33662         * math/test-snan.c: Include it.
33663         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33665 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33667         [BZ #15285]
33668         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33669         (__ieee754_j0l): Do not improve calculations using cos of twice
33670         input for inputs above LDBL_MAX / 2.0L.
33671         (__ieee754_y0l): Likewise.
33672         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33673         (__ieee754_j1l): Do not improve calculations using cos of twice
33674         input for inputs above LDBL_MAX / 2.0L.
33675         (__ieee754_y1l): Likewise.
33676         * math/libm-test.inc (j0_test): Add another test.
33677         (j1_test): Likewise.
33678         (y0_test): Likewise.
33679         (y1_test): Likewise.
33680         * sysdeps/i386/fpu/libm-test-ulps: Update.
33682 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33684         * Rules ($(objpfx)bench-%.c): Include code from a C source
33685         file.
33687 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33689         [BZ #15287]
33690         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33691         imaginary part 1.0 and real part less than 0.5 specially.
33692         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33693         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33694         * math/libm-test.inc (cacos_test): Add more tests.
33695         (casin_test): Likewise.
33696         (casinh_test): Likewise.
33697         * sysdeps/i386/fpu/libm-test-ulps: Update.
33698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33700 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33702         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33703         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33705 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33707         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33708         * config.make.in (config-cflags-sse4): Remove variable.
33709         (config-cflags-avx): Likewise.
33710         (config-cflags-sse2avx): Likewise.
33711         (config-cflags-novzeroupper): Likewise.
33712         (config-asflags-i686): Likewise.
33713         (have-mfma4): Likewise.
33714         (have-as-vis3): Likewise.
33715         (MIG): Likewise.
33716         * configure.in (MIG): Do not AC_SUBST.
33717         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33718         (libc_cv_cc_sse4): Do not AC_SUBST.
33719         (libc_cv_cc_avx): Likewise.
33720         (libc_cv_cc_sse2avx): Likewise.
33721         (libc_cv_cc_novzeroupper): Likewise.
33722         (libc_cv_cc_fma4): Likewise.
33723         (libc_cv_as_i686): Likewise.
33724         (libc_cv_sparc_as_vis3): Likewise.
33725         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33726         LIBC_CONFIG_VAR.
33727         (config-asflags-i686): Likewise.
33728         (config-cflags-avx): Likewise.
33729         (config-cflags-sse2avx): Likewise.
33730         (have-mfma4): Likewise.
33731         (config-cflags-novzeroupper): Likewise.
33732         * sysdeps/mach/configure.in (MIG): Likewise.
33733         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33734         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33735         LIBC_CONFIG_VAR.
33736         (config-cflags-avx): Likewise.
33737         (config-cflags-sse2avx): Likewise.
33738         (have-mfma4): Likewise.
33739         (config-cflags-novzeroupper): Likewise.
33740         * configure: Regenerated.
33741         * sysdeps/i386/configure: Likewise.
33742         * sysdeps/mach/configure: Likewise.
33743         * sysdeps/sparc/configure: Likewise.
33744         * sysdeps/x86_64/configure: Likewise.
33746 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33748         [BZ #14812]
33749         * locale/programs/localedef.c (options): Put N_ translation marker
33750         on argument names, not just descriptions.
33752 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33754         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33756 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33758         [BZ #14176]
33759         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33761 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33763         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33764         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33765         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33766         [!BEFORE_ABORT] (before_abort): New function.
33767         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33768         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33769         (writev_for_fatal): New function.
33770         (WRITEV_FOR_FATAL): New macro; call that.
33771         (backtrace_and_maps): New function.
33772         (BEFORE_ABORT): New macro; call that.
33773         (struct str_list): Type removed.
33774         (__libc_message, __libc_fatal): Functions removed.
33775         Include <sysdeps/posix/libc_fatal.c> instead.
33777 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33779         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33780         constants.
33781         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33782         double constants.
33784 2013-03-19  Andreas Schwab  <schwab@suse.de>
33786         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33787         * sysdeps/gnu/configure: Regenerate.
33789         * configure.in: Substitute libc_cv_rtlddir.
33790         * configure: Regenerate.
33791         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33792         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33793         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33794         * elf/Makefile (install-others, CFLAGS-interp.c)
33795         (ldso_install, common-ldd-rewrite): Likewise.
33796         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33797         $(inst_slibdir)/$(rtld-installed-name).
33798         * scripts/rellns-sh: Add -p option.
33799         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33800         for source.
33802 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33804         * manual/nptl.texi: Renamed to ...
33805         * manual/threads.texi: ... this.
33806         * manual/Makefile (chapters): Update.
33808 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33810         [BZ #14812]
33811         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33812         on argument names, not just descriptions.
33813         * malloc/memusagestat.c (options): Likewise.
33814         * nss/getent.c (options): Likewise.
33816 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33818         [BZ #14812]
33819         * iconv/iconv_prog.c (options): Put N_ translation marker
33820         on argument names, not just descriptions.
33821         * iconv/iconvconfig.c (options): Likewise.
33823 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33825         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33826         implementation which is faster on all x86_64 architectures.
33827         Tested on AMD, Intel Nehalem, SNB, IVB.
33828         * sysdeps/x86_64/strnlen.S: Likewise.
33830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33831         Remove all multiarch strlen and strnlen versions.
33832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33833         Remove strlen and strnlen related parts.
33835         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33836         Inline strlen part.
33837         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33839         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33840         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33841         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33842         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33843         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33844         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33846 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33848         * manual/memory.texi (Malloc Tunable Parameters):
33849         Sort parameters alphabetically. Add comments for missing entries.
33851 2013-03-17  David S. Miller  <davem@davemloft.net>
33853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33855 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33857         [BZ #15283]
33858         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33859         for arguments at most half maximum finite value.
33860         * math/libm-test.inc (j0_test): Add more tests.
33861         (j1_test): Likewise.
33862         (y0_test): Likewise.
33863         (y1_test): Likewise.
33864         * sysdeps/i386/fpu/libm-test-ulps: Update.
33865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33867         [BZ #14155]
33868         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33869         1 / x and functions P and Q for arguments above 0x1p256L.
33870         (__ieee754_y0l): Likewise.
33871         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33872         (__ieee754_y1l): Likewise.
33873         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33874         (j1_test): Likewise.
33875         (y0_test): Likewise.
33876         (y1_test): Likewise.
33878 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33880         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33881         variable.
33883 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33885         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33886         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33887         zero since it's initialized to EXEC_PAGESIZE.
33889         * sysdeps/unix/sysv/linux/ldsodefs.h
33890         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33891         * sysdeps/generic/ldsodefs.h: ... here.
33893 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33895         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33897         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33898         math/test-snan.c.
33899         * math/test-snan.c: Renamed from
33900         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33901         * math/Makefile (tests): Add test-snan.
33902         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33903         test-powerpc-snan.
33905         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33906         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33907         functions.
33908         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33909         __builtin_nan family of functions.
33910         * math/libm-test.inc (initialize): Initialize qnan_value with
33911         __builtin_nan family of functions.
33912         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33913         Remove variables.
33914         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33915         Remove functions.
33916         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33917         storage class.  Initialize qNaN_var and sNaN_var with
33918         __builtin_nan and __builtin_nans families of functions,
33919         respectively.
33921         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33922         (sqrt_test): Remove duplicate test with qNaN input.
33923         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33924         (round_test, signbit_test, significand_test): Note missing +/-Inf
33925         as well as qNaN tests.
33927         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33928         qNaN_var.  Fix a few strings, too.
33929         * math/libm-test.inc (nan_value): Rename to qnan_value.
33930         * math/gen-libm-test.pl (%beautify): Adjust to that.
33931         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33932         * math/test-misc.c (main): Likewise.
33933         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33934         to __qnan_bytes, and __qnan_union, respectively.
33935         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33936         Likewise.
33937         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33938         and lqnanval, respectively.
33939         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33940         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33941         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33942         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33944         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33945         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33946         doubles.
33948         * math/test-misc.c (main): Fix copy'n'pastos.
33949         * misc/tst-efgcvt.c (special): Likewise.
33951         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33952         Remove declarations.
33954 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33956         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33957         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33958         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33959         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33961 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33963         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33964         macro to return vdso values correctly in IFUNC implementations.
33965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33966         Optimization by using IFUNC.
33968 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33969             Richard Henderson  <rth@redhat.com>
33970             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33972         * Makefile.in (bench): New target.
33973         * NEWS: Mention the benchmark framework.
33974         * Rules (bench): Likewise.
33975         (binaries-bench): Generate binaries for functions to
33976         benchmark.
33977         * benchtests/Makefile: New makefile for benchmark tests.
33978         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33979         programs.
33980         * benchtests/exp-inputs: New input file for EXP function.
33981         * benchtests/pow-inputs: New input file for POW function.
33982         * scripts/bench.pl: New script to generate source files for
33983         benchmark programs.
33985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33987         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33988         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33989         computations on mantissa.  Use macros for rounding and
33990         division.
33991         (denorm): Likewise.
33992         (__dbl_mp): Likewise.
33993         (add_magnitudes): Likewise.
33994         (sub_magnitudes): Likewise.
33995         (__mul): Likewise.
33996         (__sqr): Likewise.
33997         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33998         powers of two in terms of TWOPOW macro.
33999         (mp_no): Make type of mantissa as MANTISSA_T.
34000         [!RADIXI]: Define RADIXI.
34001         [!TWO52]: Define TWO52.
34002         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34004         * manual/nptl.texi (cindex): Modify threads to pthreads.
34006 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34008         * sysdeps/x86_64/preconfigure: Regenerated.
34010 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #14155]
34013         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34014         0x1p28 and above.
34015         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34016         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34017         0x1p28 and above.
34018         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34019         * math/libm-test.inc (j0_test): Do not allow one spurious
34020         underflow exception.
34021         (y1_test): Likewise.
34023 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34025         * manual/Makefile (chapters): Add nptl.
34026         * manual/debug.texi (Debugging Support): Add link to Threads
34027         chapter.
34028         * manual/nptl.texi: New file.
34030         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34032 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34034         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34035         for non-NULL pointer before the memory validity test. Pointed
34036         out by Holger Brunck <holger.brunck@keymile.com>.
34038 2013-03-13  Andreas Schwab  <schwab@suse.de>
34040         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34041         instead of .os.
34043 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34045         * timezone/zic.c: Update from tzcode 2013b.
34047 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34049         * manual/install.texi (Configuring and compiling):
34050         Mention i686 and i586.
34051         * INSTALL: Regenerate.
34053 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34055         * sysdeps/init_array/elf-init.c: New file.
34056         * csu/elf-init.c
34057         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34058         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34060         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34061         __gmon_start__ as global, but as static with a .preinit_array pointer.
34062         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34063         * sysdeps/init_array/crti.S: New file, empty except for comments.
34064         * sysdeps/init_array/crtn.S: Likewise.
34066 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34068         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34069         definining bcopy.
34070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34071         Remove Prefer_SSE_for_memop.
34072         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34073         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34074         HAS_PREFER_SSE_FOR_MEMOP.
34075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34076         memset-x86-64.
34077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34078         Remove bzero, memset ifunc support.
34079         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34080         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34081         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34082         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34084 2013-03-11  Andreas Schwab  <schwab@suse.de>
34086         [BZ #15234]
34087         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34088         by SHLIB_COMPAT.
34089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34090         (GLIBC_2.16): Remove pthread_atfork.
34092 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34094         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34095         (ptestcases.h): Likewise.
34097 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34099         * Makeconfig ($(common-objpfx)config.status): Depend on
34100         sysdeps/*/preconfigure{,.in} too.
34102 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34104         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34105         (__free_hook): Use void * instead of __malloc_ptr_t.
34106         (__malloc_hook): Likewise.
34107         (__realloc_hook): Likewise.
34108         (__memalign_hook): Likewise.
34109         (__after_morecore_hook): Likewise.
34110         * malloc/arena.c (save_malloc_hook): Likewise.
34111         (save_free_hook): Likewise.
34112         * malloc/hooks.c (malloc_hook_ini): Likewise.
34113         (realloc_hook_ini): Likewise.
34114         (memalign_hook_ini): Likewise.
34115         * malloc/malloc.c (malloc_hook_ini): Likewise.
34116         (realloc_hook_ini): Likewise.
34117         (memalign_hook_ini): Likewise.
34118         (__free_hook): Likewise.
34119         (__malloc_hook): Likewise.
34120         (__realloc_hook): Likewise.
34121         (__memalign_hook): Likewise.
34122         (__libc_malloc): Likewise.
34123         (__libc_free): Likewise.
34124         (__libc_realloc): Likewise.
34125         (__libc_memalign): Likewise.
34126         (__libc_valloc): Likewise.
34127         (__libc_pvalloc): Likewise.
34128         (__libc_calloc): Likewise.
34129         (__posix_memalign): Likewise.
34130         * malloc/morecore.c (__sbrk): Likewise.
34131         (__default_morecore): Likewise.
34133         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34135         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34136         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34137         __malloc_ptrdiff_t.
34139         * malloc/malloc.h (__malloc_size_t): Remove macro.
34140         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34141         __malloc_size_t.
34142         (old_memalign_hook): Likewise.
34143         (old_realloc_hook): Likewise.
34144         (struct hdr): Likewise.
34145         (flood): Likewise.
34146         (mallochook): Likewise.
34147         (memalignhook): Likewise.
34148         (reallochook): Likewise.
34149         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34150         (tr_old_realloc_hook): Likewise.
34151         (tr_old_memalign_hook): Likewise.
34152         (tr_mallochook): Likewise.
34153         (tr_reallochook): Likewise.
34154         (tr_memalignhook): Likewise.
34156 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34159         default_ldbl_pack and using as default implementation.
34160         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34161         implementation.
34162         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34163         redundant definition.
34164         (ldbl_insert_mantissa): Likewise.
34165         (ldbl_canonicalize): Likewise.
34166         (ldbl_nearbyint): Likewise.
34167         (ldbl_pack): Rename to ldbl_pack_ppc.
34168         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34169         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34170         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34172 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34175         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34176         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34177         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34178         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34179         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34180         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34181         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34183 2013-03-07  Andreas Jaeger  <aj@suse.de>
34185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34186         bits/mman-linux.h.
34188 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34190         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34191         Include mpa.h and declare __MPEXP.
34192         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34193         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34194         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34195         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34196         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34197         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34198         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34200         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34201         (__slowpow): Use long double EXPL and LOGL functions to
34202         compute POW.
34203         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34204         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34205         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34206         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34207         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34208         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34211         intermediate variable to calculate exponent.
34212         (__sqr): Likewise.
34213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34214         Likewise.
34215         (__sqr): Likewise.
34217         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34218         [!NO__SQR]: Define __sqr.
34219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34220         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34221         sysdeps/ieee754/dbl-64/mpa.c.
34222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34224         [BZ #12723]
34225         * posix/Makefile (tests): Add tst-pathconf.
34226         * posix/tst-pathconf.c: New test case.
34227         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34228         _PC_PIPE_BUF.
34229         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34231 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34233         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34235 2013-03-06  Andreas Jaeger  <aj@suse.de>
34237         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34238         definition via __MAP_ANONYMOUS.
34240         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34241         it's not part of Linux headers.
34243         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34244         (MAP_HUGE_MASK): Define.
34246         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34247         Define.
34248         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34250         Define.
34251         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34252         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34253         Define.
34254         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34256         Define.
34257         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34259         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34260         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34261         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34262         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34263         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34264         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34266         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34267         Handle f2fs.
34269         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34270         Handle f2fs and efivarfs.
34272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34273         f2fs.
34275         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34276         (EFIVARFS_MAGIC): Add.
34277         (F2FS_LINK_MAX): Add.
34279 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34281         * stdio-common/vfprintf.c: Replace __builtin_expect with
34282         __glibc_unlikely.
34284 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34286         [BZ #13550]
34287         * sysdeps/generic/bp-sym.h: Remove file.
34288         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34289         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34290         <bp-sym.h> and <bp-asm.h>.
34291         (__longjmp): Don't use BP_SYM.
34292         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34293         and <bp-asm.h>.
34294         (memcpy): Don't use BP_SYM.
34295         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34296         <bp-sym.h> and <bp-asm.h>.
34297         (memcpy): Don't use BP_SYM.
34298         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34299         <bp-asm.h>.
34300         (memcpy): Don't use BP_SYM.
34301         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34302         <bp-asm.h>.
34303         (memset): Don't use BP_SYM.
34304         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34305         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34306         (__bzero): Don't use BP_SYM.
34307         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34308         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34309         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34310         <bp-sym.h> and <bp-asm.h>.
34311         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34312         pointers.
34313         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34314         <bp-sym.h> and <bp-asm.h>.
34315         (memcpy): Don't use BP_SYM.
34316         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34317         <bp-sym.h> and <bp-asm.h>.
34318         (memset): Don't use BP_SYM.
34319         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34320         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34321         (__bzero): Don't use BP_SYM.
34322         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34323         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34324         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34325         <bp-sym.h> and <bp-asm.h>.
34326         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34327         pointers.
34328         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34329         <bp-sym.h> and <bp-asm.h>.
34330         (memcpy): Don't use BP_SYM.
34331         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34332         <bp-sym.h> and <bp-asm.h>.
34333         (memset): Don't use BP_SYM.
34334         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34335         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34336         (__bzero): Don't use BP_SYM.
34337         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34338         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34339         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34340         <bp-sym.h> and <bp-asm.h>.
34341         (__memchr): Don't use BP_SYM.
34342         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34343         <bp-sym.h> and <bp-asm.h>.
34344         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34345         pointers.
34346         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34347         <bp-sym.h> and <bp-asm.h>.
34348         (memcpy): Don't use BP_SYM.
34349         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34350         <bp-sym.h> and <bp-asm.h>.
34351         (__mempcpy): Don't use BP_SYM.
34352         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34353         <bp-sym.h> and <bp-asm.h>.
34354         (__memrchr): Don't use BP_SYM.
34355         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34356         <bp-sym.h> and <bp-asm.h>.
34357         (memset): Don't use BP_SYM.
34358         (__bzero): Likewise.
34359         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34360         <bp-sym.h> and <bp-asm.h>.
34361         (__rawmemchr): Don't use BP_SYM.
34362         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34363         <bp-sym.h> and <bp-asm.h>.
34364         (__STRCMP): Don't use BP_SYM.
34365         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34366         <bp-sym.h> and <bp-asm.h>.
34367         (strchr): Don't use BP_SYM.
34368         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34369         <bp-sym.h> and <bp-asm.h>.
34370         (__strchrnul): Don't use BP_SYM.
34371         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34372         <bp-sym.h> and <bp-asm.h>.
34373         (strlen): Don't use BP_SYM.
34374         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34375         <bp-sym.h> and <bp-asm.h>.
34376         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34377         pointers.
34378         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34379         <bp-sym.h> and <bp-asm.h>.
34380         (__strnlen): Don't use BP_SYM.
34381         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34382         <bp-sym.h> and <bp-asm.h>.
34383         (__GI__setjmp): Don't use BP_SYM.
34384         (_setjmp): Likewise.
34385         (__sigsetjmp): Likewise.
34386         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34387         (L(start_addresses)): Don't use BP_SYM.
34388         (_start): Likewise.
34389         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34390         <bp-asm.h>.
34391         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34392         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34393         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34394         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34395         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34396         <bp-asm.h>.
34397         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34398         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34399         about bounded pointers.
34400         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34401         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34402         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34403         <bp-asm.h>.
34404         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34405         about bounded pointers.  Remove GKM FIXME comments.
34406         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34407         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34408         <bp-asm.h>.
34409         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34410         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34411         Remove GKM FIXME comments.
34412         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34413         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34414         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34415         <bp-asm.h>.
34416         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34417         about bounded pointers.  Remove GKM FIXME comment.
34418         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34419         and <bp-asm.h>.
34420         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34421         pointers.
34422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34423         <bp-sym.h> and <bp-asm.h>.
34424         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34426         <bp-sym.h> and <bp-asm.h>.
34427         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34428         comment.
34430 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34432         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34433         call free(NULL).
34435 2013-03-05  David S. Miller  <davem@davemloft.net>
34437         * po/es.po: Update from translation team.
34439 2013-03-05  Andreas Jaeger  <aj@suse.de>
34441         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34442         <bits/mman-linux.h>.
34443         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34444         is fine.
34445         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34446         <bits/mman-linux.h> to end of file.
34447         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34448         is fine.
34449         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34450         <bits/mman-linux.h> to end of file.
34451         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34452         is fine.
34453         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34454         <bits/mman-linux.h> to end of file.
34456         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34457         (MCL_CURRENT, MCL_FUTURE): Define here.
34459 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34461         [BZ #15232]
34462         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34463         attribute_hidden.
34464         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34468         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34469         fourth parameter needed for rt_sigprocmask syscall.
34470         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34471         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34472         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34473         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34474         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34475         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34477 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34479         [BZ #13550]
34480         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34481         comment about bounded pointers.
34482         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34483         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34485 2013-03-04  Andreas Jaeger  <aj@suse.de>
34487         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34488         common definitions.
34490         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34491         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34492         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34493         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34495         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34497 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34499         [BZ #15055]
34500         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34501         __ieee754_sqrl instead of __sqrl.
34503 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34505         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34506         * sysdeps/powerpc/fpu_control.h: ... here.
34507         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34508         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34509         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34510         * sysdeps/powerpc/bits/mathinline.h: ... here.
34512 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34514         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34515         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34516         to just [NEED_DL_SYSINFO_DSO].
34517         * elf/dl-support.c: Likewise.
34518         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34519         * elf/rtld.c (dl_main): Likewise.
34520         * elf/setup-vdso.h (setup_vdso): Likewise.
34521         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34522         * sysdeps/unix/sysv/linux/dl-sysdep.c
34523         (_dl_discover_osversion): Likewise.
34525 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34527         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34528         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34530 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34532         * NEWS: Mention libm performance improvements and non-x86 PI
34533         futex support.
34535         * csu/libc-start.c (__pthread_initialize_minimal): Change
34536         function arguments.
34537         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34539 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34541         [BZ #13550]
34542         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34543         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34544         <bp-sym.h> and <bp-asm.h>.
34545         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34546         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34547         and <bp-asm.h>.
34548         (memcpy): Don't use BP_SYM.
34549         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34550         <bp-asm.h>.
34551         (__mpn_add_n): Don't use BP_SYM.
34552         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34553         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34554         and <bp-asm.h>.
34555         (__mpn_addmul_1): Don't use BP_SYM.
34556         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34557         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34558         <bp-sym.h>.
34559         (_setjmp): Don't use BP_SYM.
34560         (__novmx_setjmp): Likewise.
34561         (__GI__setjmp): Likewise.
34562         (__vmx_setjmp): Likewise.
34563         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34564         <bp-sym.h>.
34565         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34566         (__bzero): Don't use BP_SYM.
34567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34569         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34570         <bp-sym.h> and <bp-asm.h>.
34571         (memcpy): Don't use BP_SYM.
34572         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34573         <bp-sym.h> and <bp-asm.h>.
34574         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34575         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34576         <bp-sym.h> and <bp-asm.h>.
34577         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34578         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34579         <bp-asm.h>.
34580         (__mpn_lshift): Don't use BP_SYM.
34581         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34582         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34583         <bp-asm.h>.
34584         (memset): Don't use BP_SYM.
34585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34587         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34588         <bp-asm.h>.
34589         (__mpn_mul_1): Don't use BP_SYM.
34590         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34591         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34592         <bp-sym.h> and <bp-asm.h>.
34593         (memcmp): Don't use BP_SYM.
34594         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34595         <bp-sym.h> and <bp-asm.h>.
34596         (memcpy): Don't use BP_SYM.
34597         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34598         <bp-sym.h> and <bp-asm.h>.
34599         (memset): Don't use BP_SYM.
34600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34601         <bp-sym.h> and <bp-asm.h>.
34602         (strncmp): Don't use BP_SYM.
34603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34604         <bp-sym.h> and <bp-asm.h>.
34605         (memcpy): Don't use BP_SYM.
34606         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34607         <bp-sym.h> and <bp-asm.h>.
34608         (memset): Don't use BP_SYM.
34609         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34610         <bp-sym.h> and <bp-asm.h>.
34611         (__memchr): Don't use BP_SYM.
34612         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34613         <bp-sym.h> and <bp-asm.h>.
34614         (memcmp): Don't use BP_SYM.
34615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34616         <bp-sym.h> and <bp-asm.h>.
34617         (memcpy): Don't use BP_SYM.
34618         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34619         <bp-sym.h> and <bp-asm.h>.
34620         (__mempcpy): Don't use BP_SYM.
34621         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34622         <bp-sym.h> and <bp-asm.h>.
34623         (__memrchr): Don't use BP_SYM.
34624         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34625         <bp-sym.h> and <bp-asm.h>.
34626         (memset): Don't use BP_SYM.
34627         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34628         <bp-sym.h> and <bp-asm.h>.
34629         (__rawmemchr): Don't use BP_SYM.
34630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34631         <bp-sym.h> and <bp-asm.h>.
34632         (__STRCMP): Don't use BP_SYM.
34633         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34634         <bp-sym.h> and <bp-asm.h>.
34635         (strchr): Don't use BP_SYM.
34636         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34637         <bp-sym.h> and <bp-asm.h>.
34638         (__strchrnul): Don't use BP_SYM.
34639         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34640         <bp-sym.h> and <bp-asm.h>.
34641         (strlen): Don't use BP_SYM.
34642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34643         <bp-sym.h> and <bp-asm.h>.
34644         (strncmp): Don't use BP_SYM.
34645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34646         <bp-sym.h> and <bp-asm.h>.
34647         (__strnlen): Don't use BP_SYM.
34648         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34649         <bp-asm.h>.
34650         (__mpn_rshift): Don't use BP_SYM.
34651         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34652         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34653         <bp-sym.h> and <bp-asm.h>.
34654         (__sigsetjmp): Don't use BP_SYM.
34655         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34656         (L(start_addresses)): Don't use BP_SYM.
34657         (_start): Likewise.
34658         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34659         <bp-asm.h>.
34660         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34661         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34662         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34663         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34664         <bp-asm.h>.
34665         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34666         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34667         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34668         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34669         <bp-asm.h>.
34670         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34671         comments.
34672         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34673         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34674         <bp-asm.h>.
34675         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34676         FIXME comments.
34677         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34678         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34679         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34680         <bp-asm.h>.
34681         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34682         comment.
34683         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34684         and <bp-asm.h>.
34685         (strncmp): Don't use BP_SYM,
34686         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34687         <bp-asm.h>.
34688         (__mpn_sub_n): Don't use BP_SYM.
34689         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34690         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34691         and <bp-asm.h>.
34692         (__mpn_submul_1): Don't use BP_SYM.
34693         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34695         <bp-sym.h> and <bp-asm.h>.
34696         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34698         <bp-sym.h> and <bp-asm.h>.
34699         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34700         comment.
34702 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34705         Use ZK to minimize writes to Z.
34706         (sub_magnitudes): Simplify code a bit.
34707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34708         Use ZK to minimize writes to Z.
34709         (sub_magnitudes): Simplify code a bit.
34711 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34713         * csu/gmon-start.c: Add special exception to license text.
34715 2013-02-27  Richard Henderson  <rth@redhat.com>
34717         * scripts/config.guess: Update from config.git.
34718         * scripts/config.sub: Likewise.
34720 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34722         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34724         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34726         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34728         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34730         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34732 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34734         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34735         [$(build-shared = yes].
34737 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34739         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34740         (__mul): Reduce iterations for calculating mantissa.
34742         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34743         MPTWO.
34744         (__mpranred): Likewise.
34746         [BZ #15160]
34747         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34748         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34750 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34752         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34753         Define __attribute__.
34755 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34757         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34758         unused.
34759         * posix/regex_internal.h (__attribute): Remove.
34760         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34761         (re_string_context_at): Likewise.
34762         (bitset_not): Use __attribute__ and mark function as possibly
34763         unused.
34764         (bitset_merge): Likewise.
34765         (bitset_mask): Likewise.
34766         (re_string_char_size_at): Likewise.
34767         (re_string_wchar_at): Likewise.
34768         (re_string_elem_size_at): Likewise.
34770 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34772         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34773         code.
34774         (cc32): Likewise.
34776         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34777         (__acr): Likewise.
34778         (__cpy): Likewise.
34779         (norm): Likewise.
34780         (denorm): Likewise.
34781         (__dbl_mp): Likewise.
34782         (add_magnitudes): Likewise.
34783         (sub_magnitudes): Likewise.
34784         (__mul): Likewise.
34785         (__inv): Likewise.
34787         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34788         style.
34790         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34791         style.
34793         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34794         code.
34796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34797         up changes with default code.
34798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34799         Likewise.
34801 2013-02-24  Allan McRae  <allan@archlinux.org>
34803         * manual/socket.texi (The Internet Namespace): Order menu items
34804         to match that in the file.
34806         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34807         node listing of the info page menu.
34809 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34811         [BZ #13550]
34812         * sysdeps/i386/bp-asm.h: Remove file.
34813         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34814         (PARMS): Do not use macros from bp-asm.h.
34815         (S1): Likewise.
34816         (S2): Likewise.
34817         (SIZE): Likewise.
34818         (__mpn_add_n): Do not use BP_SYM
34819         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34820         "bp-asm.h".
34821         (PARMS): Do not use macros from bp-asm.h.
34822         (S1): Likewise.
34823         (SIZE): Likewise.
34824         (__mpn_addmul_1): Do not use BP_SYM
34825         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34826         "bp-asm.h".
34827         (PARMS): Do not use macros from bp-asm.h.
34828         (SIGMSK): Likewise.
34829         (_setjmp): Likewise.  Do not use BP_SYM.
34830         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34831         "bp-asm.h".
34832         (PARMS): Do not use macros from bp-asm.h.
34833         (SIGMSK): Likewise.
34834         (setjmp): Likewise.  Do not use BP_SYM.
34835         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34836         "bp-asm.h".
34837         (PARMS): Do not use macros from bp-asm.h.
34838         (__frexp): Do not use BP_SYM.
34839         (frexp): Likewise.
34840         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34841         "bp-asm.h".
34842         (PARMS): Do not use macros from bp-asm.h.
34843         (__frexpf): Do not use BP_SYM.
34844         (frexpf): Likewise.
34845         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34846         "bp-asm.h".
34847         (PARMS): Do not use macros from bp-asm.h.
34848         (__frexpl): Do not use BP_SYM.
34849         (frexpl): Likewise.
34850         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34851         "bp-asm.h".
34852         (PARMS): Do not use macros from bp-asm.h.
34853         (__remquo): Do not use BP_SYM.
34854         (remquo): Likewise.
34855         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34856         "bp-asm.h".
34857         (PARMS): Do not use macros from bp-asm.h.
34858         (__remquof): Do not use BP_SYM.
34859         (remquof): Likewise.
34860         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34861         "bp-asm.h".
34862         (PARMS): Do not use macros from bp-asm.h.
34863         (__remquol): Do not use BP_SYM.
34864         (remquol): Likewise.
34865         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34866         "bp-asm.h".
34867         (PARMS): Do not use macros from bp-asm.h.
34868         (DEST): Likewise.
34869         (SRC): Likewise.
34870         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34871         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34872         "bp-asm.h".
34873         (PARMS): Do not use macros from bp-asm.h.
34874         (strlen): Do not use BP_SYM.
34875         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34876         "bp-asm.h".
34877         (PARMS): Do not use macros from bp-asm.h.
34878         (S1): Likewise.
34879         (S2): Likewise.
34880         (SIZE): Likewise.
34881         (__mpn_add_n): Do not use BP_SYM.
34882         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34883         "bp-asm.h".
34884         (PARMS): Do not use macros from bp-asm.h.
34885         (S1): Likewise.
34886         (SIZE): Likewise.
34887         (__mpn_addmul_1): Do not use BP_SYM.
34888         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34889         weak_alias.
34890         (bzero): Likewise.
34891         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34892         "bp-asm.h".
34893         (PARMS): Do not use macros from bp-asm.h.
34894         (S): Likewise.
34895         (SIZE): Likewise.
34896         (__mpn_lshift): Do not use BP_SYM.
34897         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34898         "bp-asm.h".
34899         (PARMS): Do not use macros from bp-asm.h.
34900         (DEST): Likewise.
34901         (SRC): Likewise.
34902         (LEN): Likewise.
34903         (memcpy): Likewise.  Do not use BP_SYM.
34904         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34905         libc_hidden_def and weak_alias.
34906         (mempcpy): Do not use BP_SYM in weak_alias.
34907         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34908         "bp-asm.h".
34909         (PARMS): Do not use macros from bp-asm.h.
34910         (DEST): Likewise.
34911         (LEN): Likewise.
34912         [!BZERO_P] (CHR): Likewise.
34913         (memset): Likewise.  Do not use BP_SYM.
34914         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34915         "bp-asm.h".
34916         (PARMS): Do not use macros from bp-asm.h.
34917         (S1): Likewise.
34918         (SIZE): Likewise.
34919         (__mpn_mul_1): Do not use BP_SYM.
34920         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34921         "bp-asm.h".
34922         (PARMS): Do not use macros from bp-asm.h.
34923         (S): Likewise.
34924         (SIZE): Likewise.
34925         (__mpn_rshift): Do not use BP_SYM.
34926         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34927         "bp-asm.h".
34928         (PARMS): Do not use macros from bp-asm.h.
34929         (STR): Likewise.
34930         (CHR): Likewise.
34931         (strchr): Likewise.  Do not use BP_SYM.
34932         (index): Do not use BP_SYM in weak_alias.
34933         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34934         "bp-asm.h".
34935         (PARMS): Do not use macros from bp-asm.h.
34936         (DEST): Likewise.
34937         (SRC): Likewise.
34938         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34939         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34940         "bp-asm.h".
34941         (PARMS): Do not use macros from bp-asm.h.
34942         (strlen): Do not use BP_SYM.
34943         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34944         "bp-asm.h".
34945         (PARMS): Do not use macros from bp-asm.h.
34946         (S1): Likewise.
34947         (S2): Likewise.
34948         (SIZE): Likewise.
34949         (__mpn_sub_n): Do not use BP_SYM.
34950         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34951         "bp-asm.h".
34952         (PARMS): Do not use macros from bp-asm.h.
34953         (S1): Likewise.
34954         (SIZE): Likewise.
34955         (__mpn_submul_1): Do not use BP_SYM.
34956         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34957         "bp-asm.h".
34958         (PARMS): Do not use macros from bp-asm.h.
34959         (S1): Likewise.
34960         (S2): Likewise.
34961         (SIZE): Likewise.
34962         (__mpn_add_n): Do not use BP_SYM.
34963         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34964         weak_alias.
34965         (bzero): Likewise.
34966         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34967         "bp-asm.h".
34968         (PARMS): Do not use macros from bp-asm.h.
34969         (BLK2): Likewise.
34970         (LEN): Likewise.
34971         (memcmp): Do not use BP_SYM.
34972         (bcmp): Do not use BP_SYM in weak_alias.
34973         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34974         "bp-asm.h".
34975         (PARMS): Do not use macros from bp-asm.h.
34976         (DEST): Likewise.
34977         (SRC): Likewise.
34978         (LEN): Likewise.
34979         (memcpy): Likewise.  Do not use BP_SYM.
34980         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34981         "bp-asm.h".
34982         (PARMS): Do not use macros from bp-asm.h.
34983         (DEST): Likewise.
34984         (SRC): Likewise.
34985         (LEN): Likewise.
34986         (memmove): Likewise.  Do not use BP_SYM.
34987         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34988         "bp-asm.h".
34989         (PARMS): Do not use macros from bp-asm.h.
34990         (DEST): Likewise.
34991         (SRC): Likewise.
34992         (LEN): Likewise.
34993         (__mempcpy): Likewise.  Do not use BP_SYM.
34994         (mempcpy): Do not use BP_SYM in weak_alias.
34995         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34996         "bp-asm.h".
34997         (PARMS): Do not use macros from bp-asm.h.
34998         (DEST): Likewise.
34999         (LEN): Likewise.
35000         [!BZERO_P] (CHR): Likewise.
35001         (memset): Likewise.  Do not use BP_SYM.
35002         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35003         "bp-asm.h".
35004         (PARMS): Do not use macros from bp-asm.h.
35005         (STR2): Likewise.
35006         (strcmp): Do not use BP_SYM.
35007         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35008         "bp-asm.h".
35009         (PARMS): Do not use macros from bp-asm.h.
35010         (STR): Likewise.
35011         (DELIM): Likewise.
35012         [USE_AS_STRTOK_R] (SAVE): Likewise.
35013         (FUNCTION): Likewise.  Do not use BP_SYM.
35014         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35015         aliases.
35016         (strtok_r): Likewise.
35017         (__GI___strtok_r): Likewise.
35018         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35019         (PARMS): Do not use macros from bp-asm.h.
35020         (S): Likewise.
35021         (SIZE): Likewise.
35022         (__mpn_lshift): Do not use BP_SYM.
35023         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35024         (PARMS): Do not use macros from bp-asm.h.
35025         (STR): Likewise.
35026         (CHR): Likewise.
35027         (__memchr): Do not use BP_SYM.
35028         (memchr): Do not use BP_SYM in weak_alias.
35029         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35030         (PARMS): Do not use macros from bp-asm.h.
35031         (BLK2): Likewise.
35032         (LEN): Likewise.
35033         (memcmp): Do not use BP_SYM.
35034         (bcmp): Do not use BP_SYM in weak_alias.
35035         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35036         (PARMS): Do not use macros from bp-asm.h.
35037         (S1): Likewise.
35038         (SIZE): Likewise.
35039         (__mpn_mul_1): Do not use BP_SYM.
35040         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35041         "bp-asm.h".
35042         (PARMS): Do not use macros from bp-asm.h.
35043         (STR): Likewise.
35044         (CHR): Likewise.
35045         (__rawmemchr): Do not use BP_SYM.
35046         (rawmemchr): Do not use BP_SYM in weak_alias.
35047         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35048         (PARMS): Do not use macros from bp-asm.h.
35049         (S): Likewise.
35050         (SIZE): Likewise.
35051         (__mpn_rshift): Do not use BP_SYM.
35052         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35053         (PARMS): Do not use macros from bp-asm.h.
35054         (SIGMSK): Likewise.
35055         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35056         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35057         (_start): Do not use BP_SYM.
35058         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35059         (PARMS): Do not use macros from bp-asm.h.
35060         (DEST): Likewise.
35061         (SRC): Likewise.
35062         (__stpcpy): Likewise.  Do not use BP_SYM.
35063         (stpcpy): Do not use BP_SYM in weak_alias.
35064         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35065         "bp-asm.h".
35066         (PARMS): Do not use macros from bp-asm.h.
35067         (DEST): Likewise.
35068         (SRC): Likewise.
35069         (LEN): Likewise.
35070         (__stpncpy): Likewise.  Do not use BP_SYM.
35071         (stpncpy): Do not use BP_SYM in weak_alias.
35072         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35073         (PARMS): Do not use macros from bp-asm.h.
35074         (STR): Likewise.
35075         (CHR): Likewise.
35076         (strchr): Likewise.  Do not use BP_SYM.
35077         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35078         "bp-asm.h".
35079         (PARMS): Do not use macros from bp-asm.h.
35080         (STR): Likewise.
35081         (CHR): Likewise.
35082         (__strchrnul): Likewise.  Do not use BP_SYM.
35083         (strchrnul): Do not use BP_SYM in weak_alias.
35084         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35085         "bp-asm.h".
35086         (PARMS): Do not use macros from bp-asm.h.
35087         (STOP): Likewise.
35088         (strcspn): Do not use BP_SYM.
35089         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35090         "bp-asm.h".
35091         (PARMS): Do not use macros from bp-asm.h.
35092         (STR): Likewise.
35093         (STOP): Likewise.
35094         (strpbrk): Likewise.  Do not use BP_SYM.
35095         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35096         "bp-asm.h".
35097         (PARMS): Do not use macros from bp-asm.h.
35098         (STR): Likewise.
35099         (CHR): Likewise.
35100         (strrchr): Likewise.  Do not use BP_SYM.
35101         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35102         (PARMS): Do not use macros from bp-asm.h.
35103         (SKIP): Likewise.
35104         (strspn): Do not use BP_SYM.
35105         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35106         (PARMS): Do not use macros from bp-asm.h.
35107         (STR): Likewise.
35108         (DELIM): Likewise.
35109         (SAVE): Likewise.
35110         (FUNCTION): Likewise.  Do not use BP_SYM.
35111         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35112         aliases.
35113         (strtok_r): Likewise.
35114         (__GI___strtok_r): Likewise.
35115         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35116         (PARMS): Do not use macros from bp-asm.h.
35117         (S1): Likewise.
35118         (S2): Likewise.
35119         (SIZE): Likewise.
35120         (__mpn_sub_n): Do not use BP_SYM.
35121         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35122         "bp-asm.h".
35123         (PARMS): Do not use macros from bp-asm.h.
35124         (S1): Likewise.
35125         (SIZE): Likewise.
35126         (__mpn_submul_1): Do not use BP_SYM.
35127         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35128         <bp-sym.h>.
35129         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35130         and <bp-asm.h>.
35131         (PARMS): Do not use macros from bp-asm.h.
35132         (FLAGS): Likewise.
35133         (PTID): Likewise.
35134         (TLS): Likewise.
35135         (CTID): Likewise.
35136         (__clone): Do not use BP_SYM.
35137         (clone): Do not use BP_SYM in weak_alias.
35138         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35139         and <bp-asm.h>.
35140         (PARMS): Do not use macros from bp-asm.h.
35141         (LEN): Likewise.
35142         (__mmap64): Do not use BP_SYM.
35143         (mmap64): Do not use BP_SYM in weak_alias.
35144         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35145         <bp-sym.h> and <bp-asm.h>.
35146         (PARMS): Do not use macros from bp-asm.h.
35147         (__posix_fadvise64_l64): Do not use BP_SYM.
35148         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35149         (PARMS): Do not use macros from bp-asm.h.
35150         (NSOPS): Likewise.
35151         (semtimedop): Do not use BP_SYM.
35152         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35153         and <bp-asm.h>.
35155 2013-02-21  Allan McRae  <allan@archlinux.org>
35157         * manual/message.texi (Charset conversion in gettext):
35158         Move @end statement to beginning of line.
35160 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35163         static.
35164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35165         Likewise.
35167         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35168         (denorm): Likewise.
35169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35172 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35174         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35175         tail-call to the resolved function if pltexit isn't needed.
35177 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35180         or Y being zero as being unlikely.
35181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35182         Likewise.
35184 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35186         * manual/nss.texi (System Databases and Name Service Switch):
35187         Remove frobnicate @pxref.
35189 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35191         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35192         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35194 2013-02-20  Petr Machata  <pmachata@redhat.com>
35196         * elf/elf.h (R_ARM_TARGET1): New macro.
35197         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35198         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35199         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35200         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35201         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35202         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35203         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35204         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35205         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35206         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35207         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35208         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35209         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35210         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35211         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35212         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35213         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35214         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35215         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35216         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35217         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35218         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35219         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35220         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35221         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35222         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35223         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35224         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35225         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35226         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35227         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35228         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35229         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35230         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35231         (R_ARM_THM_GOT_BREL12): Likewise.
35232         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35233         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35234         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35235         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35236         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35237         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35238         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35239         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35240         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35242 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35244         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35245         __attribute_used__ to __attribute__ ((unused)).
35247 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35249         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35250         powerpc mpa.c.
35251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35252         comment formatting.
35253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35255 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35257         [BZ #13550]
35258         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35259         Remove macro.
35260         (ENTER): Remove both macro definitions.
35261         (LEAVE): Likewise.
35262         (CHECK_BOUNDS_LOW): Likewise.
35263         (CHECK_BOUNDS_HIGH): Likewise.
35264         (CHECK_BOUNDS_BOTH): Likewise.
35265         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35266         (RETURN_BOUNDED_POINTER): Likewise.
35267         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35268         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35269         (POP_ERRNO_LOCATION_RETURN): Likewise.
35270         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35271         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35272         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35273         macros.
35274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35275         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35276         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35277         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35278         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35279         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35280         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35281         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35282         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35283         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35284         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35285         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35286         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35287         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35288         removed macros.
35289         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35290         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35291         macros.
35292         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35293         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35294         * sysdeps/i386/i586/memset.S (memset): Likewise.
35295         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35296         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35297         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35298         macros.
35299         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35300         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35301         Change uses of L(2) to L(out).
35302         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35303         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35304         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35305         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35306         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35307         removed macros.
35308         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35309         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35310         macros.
35311         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35312         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35313         (RETURN): Do not use macro LEAVE.
35314         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35315         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35316         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35317         * sysdeps/i386/i686/memset.S (memset): Likewise.
35318         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35319         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35320         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35321         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35322         Likewise.
35323         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35324         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35325         L(1_2) and L(1_3) into L(1).
35326         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35327         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35328         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35329         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35330         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35331         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35332         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35333         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35334         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35335         macros.
35336         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35337         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35338         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35339         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35340         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35341         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35342         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35343         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35344         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35345         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35346         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35347         * sysdeps/i386/strspn.S (strspn): Likewise.
35348         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35349         conditional code.
35350         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35351         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35352         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35353         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35354         L(1_3) into L(1_1).
35355         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35356         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35357         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35358         macros.
35359         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35361 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35363         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35364         macro.
35366 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35368         * math/atest-exp.c (exp_mpn): Remove ROUND.
35369         * math/atest-exp2.c (exp_mpn): Likewise.
35370         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35372         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35373         * stdlib/tst-tls-atexit-lib.c: Likewise.
35374         * stdlib/tst-tls-atexit.c: Likewise.
35376 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35378         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35379         and __attribute_alloc_size__.
35381 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35383         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35384         __attribute_alloc_size__.
35385         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35386         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35390         * include/programs/xmalloc.h: New file.
35391         * catgets/gencat.c: Include it.
35392         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35393         * elf/pldd.c: Likewise.
35394         * iconv/iconv_charmap.c: Likewise.
35395         * iconv/iconvconfig.c: Likewise.
35396         * iconv/strtab.c: Likewise.
35397         * locale/programs/locale.c: Likewise.
35398         * locale/programs/localedef.h: Likewise.
35399         * locale/programs/simple-hash.c: Likewise.
35400         * nscd/nscd.h: Likewise.
35401         * nss/makedb.c: Likewise.
35402         * sysdeps/generic/ldconfig.h: Likewise.
35404 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35406         * Versions.def: Add GLIBC_2.18.
35407         * include/link.h (struct link_map): New member l_tls_dtor_count.
35408         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35409         (__call_tls_dtors): Likewise.
35410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35411         __cxa_thread_atexit_impl.
35412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35413         Likewise.
35414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35415         Likewise.
35416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35417         Likewise.
35418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35419         Likewise.
35420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35422         Likewise.
35423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35424         Likewise.
35425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35427         Likewise.
35428         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35429         (tests): Add test case tst-tls-atexit.
35430         (modules-names): Add shared library for tst-tls-atexit.
35431         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35432         (GLIBC_PRIVATE): Add __call_tls_dtors.
35433         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35434         for libstdc++.
35435         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35436         * stdlib/tst-tls-atexit.c: New test case.
35437         * stdlib/tst-tls-atexit-lib.c: New test case.
35439         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35441         * elf/Versions (ld): Add _dl_find_dso_for_object.
35442         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35443         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35444         (dl_open_worker): Use _dl_find_dso_for_object.
35445         * elf/dl-sym.c (do_sym): Likewise.
35446         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35448 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35450         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35451         Syntactic changes only.
35452         (_dl_runtime_profile): Do a tail-call to the resolved function.
35454 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35456         [BZ #13550]
35457         * sysdeps/x86_64/bp-asm.h: Remove file.
35458         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35459         <bp-sym.h> and <bp-asm.h>.
35460         (__clone): Do not use BP_SYM.
35461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35462         <bp-sym.h> and <bp-asm.h>.
35463         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35464         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35465         "bp-asm.h".
35466         (_setjmp): Do not use BP_SYM.
35467         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35468         "bp-asm.h".
35469         (setjmp): Do not use BP_SYM.
35470         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35471         libc_hidden_def.
35472         (mempcpy): Do not use BP_SYM in weak_alias.
35473         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35474         "bp-asm.h".
35475         (strchr): Do not use BP_SYM.
35476         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35477         "bp-asm.h".
35478         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35479         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35480         (_start): Do not use BP_SYM.
35481         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35482         "bp-asm.h".
35483         (strcat): Do not use BP_SYM.
35484         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35485         "bp-asm.h".
35486         (STRCMP): Do not use BP_SYM.
35487         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35488         "bp-asm.h".
35489         (STRCPY): Do not use BP_SYM.
35490         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35491         "bp-asm.h".
35492         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35493         "bp-asm.h".
35494         (FUNCTION): Do not use BP_SYM.
35495         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35496         weak_alias.
35497         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35499 2013-02-17  Andreas Jaeger  <aj@suse.de>
35501         * time/Versions: Sort entries.
35502         * string/Versions: Likewise.
35503         * resolv/Versions: Likewise.
35504         * posix/Versions: Likewise.
35505         * iconv/Versions: Likewise.
35506         * elf/Versions: Likewise.
35507         * wcsmbs/Versions: Likewise.
35509 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35511         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35512         loop termination condition.
35514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35515         variable to calculate EZ.
35516         (__sqr): Likewise.
35518         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35519         the lower precision input.
35521 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35523         [BZ #13550]
35524         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35525         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35526         (run-via-rtld-prefix): Do not handle %-bp tests.
35527         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35528         (all-object-suffixes): Remove .ob.
35529         (bppfx): Remove variable.
35530         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35531         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35532         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35533         [$(build-bounded) = yes] (libtype.ob): Likewise.
35534         * Makerules (elide-routines.ob): Remove variable.
35535         (do-tests-clean): Do not handle *-bp.out.
35536         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35537         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35538         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35539         (tests): Do not include $(tests-bp.out).
35540         (xtests): Do not include $(xtests-bp.out).
35541         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35542         [$(build-bounded) = yes] ($(addprefix
35543         $(objpfx),$(binaries-bounded))): Remove rule.
35544         ($(objpfx)%-bp.out): Remove rule.
35545         * config.make.in (build-bounded): Remove variable.
35546         * crypt/Makefile [$(build-bounded) = yes]
35547         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35548         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35549         append to variable.
35550         [$(build-bounded) = yes] (install-lib): Likewise.
35551         [$(build-bounded) = yes] (generated): Likewise.
35552         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35553         Remove rule.
35554         * intl/Makefile [$(build-bounded) = yes]
35555         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35556         * math/Makefile [$(build-bounded) = yes]
35557         ($(tests:%=$(objpfx)%-bp): Likewise.
35558         * misc/Makefile [$(build-bounded) = yes]
35559         ($(objpfx)tst-tsearch-bp): Likewise.
35560         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35561         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35562         Remove dependency.
35563         * string/Makefile (o-objects.ob): Remove variable.
35564         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35565         (CFLAGS-.ob): Remove variable.
35566         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35567         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35568         both definitions of variable.
35569         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35570         (ASFLAGS-.ob): Remove variable.
35572 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35574         [BZ #13550]
35575         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35576         Remove __BOUNDED_POINTERS__ from condition.
35577         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35578         * string/bits/string2.h [!__NO_STRING_INLINES &&
35579         !__BOUNDED_POINTERS__]: Likewise.
35580         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35581         Likewise.
35582         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35583         Remove conditional code.
35584         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35585         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35586         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35587         condition.
35589         [BZ #13550]
35590         * csu/libc-start.c: Do not include <bp-sym.h>.
35591         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35592         * elf/dl-open.c: Do not include <bp-sym.h>.
35593         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35594         * math/fegetenv.c: Do not include <bp-sym.h>.
35595         (fegetenv): Do not use BP_SYM in versioned symbols.
35596         * nptl/sysdeps/pthread/bits/libc-lockP.h
35597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35598         <bp-sym.h>.
35599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35600         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35602         (__pthread_mutex_destroy): Likewise.
35603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35604         (__pthread_mutex_lock): Likewise.
35605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35606         (__pthread_mutex_trylock): Likewise.
35607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35608         (__pthread_mutex_unlock): Likewise.
35609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35610         (__pthread_mutexattr_init): Likewise.
35611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35612         (__pthread_mutexattr_destroy): Likewise.
35613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35614         (__pthread_mutexattr_settype): Likewise.
35615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35616         (__pthread_rwlock_init): Likewise.
35617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35618         (__pthread_rwlock_destroy): Likewise.
35619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35620         (__pthread_rwlock_rdlock): Likewise.
35621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35622         (__pthread_rwlock_tryrdlock): Likewise.
35623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35624         (__pthread_rwlock_wrlock): Likewise.
35625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35626         (__pthread_rwlock_trywrlock): Likewise.
35627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35628         (__pthread_rwlock_unlock): Likewise.
35629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35630         (__pthread_key_create): Likewise.
35631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35632         (__pthread_setspecific): Likewise.
35633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35634         (__pthread_getspecific): Likewise.
35635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35636         Likewise.
35637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35638         (_pthread_cleanup_push_defer): Likewise.
35639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35640         (_pthread_cleanup_pop_restore): Likewise.
35641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35642         (pthread_setcancelstate): Likewise.
35643         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35644         <bp-sym.h>.
35645         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35646         (memchr): Do not use BP_SYM in weak_alias.
35647         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35648         (fegetenv): Do not use BP_SYM in versioned symbols.
35649         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35650         (fesetenv): Do not use BP_SYM in versioned symbols.
35651         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35652         (feupdateenv): Do not use BP_SYM in versioned symbols.
35653         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35654         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35655         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35656         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35657         (open64): Do not use BP_SYM in weak_alias.
35658         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35659         (fegetenv): Do not use BP_SYM in versioned symbols.
35660         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35661         (fesetenv): Do not use BP_SYM in versioned symbols.
35662         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35663         (feupdateenv): Do not use BP_SYM in versioned symbols.
35664         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35665         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35666         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35667         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35668         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35669         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35670         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35671         <bp-sym.h>.
35672         (__libc_start_main): Do not use BP_SYM.
35674 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35677         redundant return line.
35678         (norm): Likewise.
35679         (denorm): Likewise.
35680         (dbl_mp): Likewise.
35681         (sub_magnitudes): Likewise.
35682         (__add): Likewise.
35683         (__sub): Likewise.
35684         (__mul): Likewise.
35685         (__inv): Likewise.
35686         (__dvd): Likewise.
35687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35688         (norm): Likewise.
35689         (denorm): Likewise.
35690         (dbl_mp): Likewise.
35691         (sub_magnitudes): Likewise.
35692         (__add): Likewise.
35693         (__sub): Likewise.
35694         (__mul): Likewise.
35695         (__inv): Likewise.
35696         (__dvd): Likewise.
35698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35699         instead of __mul.
35700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35701         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35702         (cc32): Likewise.
35704         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35705         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35707         of __mul for squares.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35709         function
35710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35711         Likewise.
35712         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35713         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35715 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35717         [BZ #13550]
35718         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35719         code.
35720         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35721         prototype or function definition.  Rename ubp_* variables and
35722         parameters.  Remove argv definitions conditional on
35723         [__BOUNDED_POINTERS__].
35724         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35725         * elf/dl-runtime.c (_dl_fixup): Likewise.
35726         * include/set-hooks.h (RUN_HOOK): Likewise.
35727         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35728         definition.
35729         * string/strcpy.c (strcpy): Do not use __unbounded.
35730         * sysdeps/generic/frame.h (struct layout): Likewise.
35731         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35732         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35733         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35734         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35735         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35736         (__backtrace): Likewise.
35737         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35738         use __ptrvalue.
35739         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35740         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35741         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35742         Likewise.
35743         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35744         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35745         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35746         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35747         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35748         Do not use __unbounded.
35749         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35750         Rename __unboundedrlimits parameter to rlimits in prototype.
35751         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35752         Do not use __unbounded.
35753         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35754         not use __ptrvalue.
35755         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35756         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35757         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35758         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35759         __ptrvalue or __unbounded.
35760         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35761         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35762         use __unbounded.
35763         (__new_msgctl): Do not use __ptrvalue.
35764         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35765         __unbounded.
35766         (__libc_msgrcv): Do not use __ptrvalue.
35767         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35768         startup_info): Do not use __unbounded.
35769         (__libc_start_main): Likewise.  Rename ubp_* variables and
35770         parameters.  Remove argv definitions conditional on
35771         [__BOUNDED_POINTERS__].
35772         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35773         __ptrvalue.
35774         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35775         use __unbounded.
35776         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35777         or __ptrvalue.
35778         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35779         use __unbounded.
35780         (__new_shmctl): Do not use __ptrvalue.
35781         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35782         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35783         Likewise.
35784         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35785         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35786         (__libc_sigaction): Likewise.
35787         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35788         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35789         Likewise.
35790         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35792 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35794         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35796         * string/mempcpy.c: Implement by calling memcpy.
35798 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35803         evaluation.
35805         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35806         values in the mantissa.
35808         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35809         minimize writes to Z.
35810         (sub_magnitudes): Simplify code a bit.
35812 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35814         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35815         from the message.  The linker prefixes all warnings with that already.
35817 2013-02-12  Andreas Schwab  <schwab@suse.de>
35819         [BZ #15078]
35820         * posix/regexec.c (extend_buffers): Add parameter min_len.
35821         (check_matching): Pass minimum needed length.
35822         (clean_state_log_if_needed): Likewise.
35823         (get_subexp): Likewise.
35824         * posix/Makefile (tests): Add bug-regex34.
35825         (bug-regex34-ENV): Define.
35826         * posix/bug-regex34.c: New file.
35828         [BZ #11561]
35829         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35830         elements compare against the byte sequence of it, not its name.
35831         * posix/Makefile (tests): Add bug-regex35.
35832         (bug-regex35-ENV): Define.
35833         * posix/bug-regex35.c: New file.
35835 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35837         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35838         comment.
35839         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35840         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35841         (CHECK_EOL): Add undef.
35843 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35845         * bits/stdlib-bsearch.h: New file.
35846         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35847         * stdlib/stdlib.h: Likewise.
35849 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35851         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35852         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35853         declaration.
35854         * manual/search.texi (Array Search Function): Add missing const in
35855         lfind prototype.
35856         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35857         declaration to use rlim_t.
35858         (Basic Scheduling Functions): Remove erroneous const from
35859         sched_getparam prototype.  Remove erroneous * from
35860         sched_get_priority_max and sched_get_priority_min prototypes.
35861         (Resource Usage): Fix summary @comment on vtimes to refer to
35862         sys/vtimes.h rather than vtimes.h.
35863         Add missing *s in vtimes prototype.
35864         (Limits on Resources): Fix ulimit prototype to return long int.
35865         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35866         prototypes to use long int rather than double.
35867         (BSD Random): Fix initstate and setstate to use char *, not void *.
35868         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35869         prototype to make second argument 'struct aiocb64 *const[]'.
35870         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35871         (Status of AIO Operations): Remove erroneous const in aio_return and
35872         aio_return64 prototypes.
35873         (Synchronizing I/O): Fix sync prototype to return void.
35874         * manual/startup.texi (Suboptions): Remove an erroneous const in
35875         getsubopt prototype.
35876         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35877         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35878         use size_t rather than int.
35879         (Scanning All Users): Likewise for getpwent_r.
35880         (Setting Groups): Add missing const to setgroups prototype.
35881         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35882         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35883         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35884         'const void *' rather than 'const char *'.
35885         (Host Address Functions): Likewise for inet_ntop.
35886         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35887         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35888         ssize_t for return value.
35889         (Sending Data): Likewise for send, sendto, sendmsg.
35890         (Socket Option Functions): Add a missing const in setsockopt prototype.
35891         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35892         use wchar_t for the argument.
35893         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35894         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35895         take no arguments.
35896         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35897         double/float/long double for second argument.
35898         Fix return types of significand, significandf, significandl.
35899         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35900         argument in fchmod prototype.
35901         (File Owner): Use uid_t and gid_t in fchown prototype.
35902         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35903         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35904         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35905         use 'const struct dirent **' as argument types to CMP function pointer
35906         argument.
35907         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35908         (File Times): Fix summary magic @comment for struct utimbuf and utime
35909         to refer to utime.h, not time.h.
35910         * manual/string.texi (Argz Functions): Add missing const in
35911         argz_extract and argz_next prototypes.
35912         (Finding Tokens in a String): Likewise for basename.
35913         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35914         (Copying and Concatenation): Fix typo in wmemmove prototype.
35915         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35916         (Signal Stack): Remove erroneous const in sigstack prototype.
35917         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35918         prototype.
35919         (Simple Calendar Time): Likewise for stime.
35920         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35921         prototype.
35922         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35923         say sys/sysctl.h instead.
35924         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35925         and vsyslog prototypes.
35927 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35929         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35930         Remove.
35932 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35934         * misc/sys/mman.h: Fix typo in mremap comment.
35936 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35938         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35939         the '\0' terminator.
35941 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35943         [BZ #13550]
35944         * debug/segfault.c: Don't include <bp-checks.h>.
35945         * sysdeps/generic/bp-checks.h: Remove file.
35946         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35947         (__GETDENTS): Don't use CHECK_N.
35948         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35949         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35950         (__getgroups): Don't use CHECK_N.
35951         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35952         (setgroups): Don't use CHECK_N.
35953         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35954         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35955         (__libc_msgrcv): Don't use CHECK_N.
35956         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35957         (__libc_msgsnd): Don't use CHECK_N.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35959         <bp-checks.h>.
35960         (__libc_pread): Don't use CHECK_N.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35962         include <bp-checks.h>.
35963         (__libc_pread64): Don't use CHECK_N.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35965         include <bp-checks.h>.
35966         (__libc_pwrite): Don't use CHECK_N.
35967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35968         include <bp-checks.h>.
35969         (__libc_pwrite64): Don't use CHECK_N.
35970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35971         <bp-checks.h>.
35972         (__libc_pread): Don't use CHECK_N.
35973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35974         include <bp-checks.h>.
35975         (__libc_pread64): Don't use CHECK_N.
35976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35977         include <bp-checks.h>.
35978         (__libc_pwrite): Don't use CHECK_N.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35980         include <bp-checks.h>.
35981         (__libc_pwrite64): Don't use CHECK_N.
35982         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35983         (do_pread): Don't use CHECK_N.
35984         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35985         (do_pread64): Don't use CHECK_N.
35986         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35987         (do_pwrite): Don't use CHECK_N.
35988         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35989         (do_pwrite64): Don't use CHECK_N.
35990         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35991         (__libc_readv): Don't use CHECK_N.
35992         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35993         (semop): Don't use CHECK_N.
35994         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35995         <bp-checks.h>.
35996         (semtimedop): Don't use CHECK_N.
35997         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35998         (__libc_pread): Don't use CHECK_N.
35999         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36000         <bp-checks.h>.
36001         (__libc_pread64): Don't use CHECK_N.
36002         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36003         <bp-checks.h>.
36004         (__libc_pwrite): Don't use CHECK_N.
36005         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36006         <bp-checks.h>.
36007         (__libc_pwrite64): Don't use CHECK_N.
36008         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36009         <bp-checks.h>.
36010         (__libc_msgrcv): Don't use CHECK_N.
36011         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36012         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36013         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36014         (__libc_writev): Don't use CHECK_N.
36016 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36018         * string/strcpy.c: Removed unused variable.
36020         * Makeconfig (+sysdep-includes): Define with := rather than =.
36021         Use an existing include/ subdir of each sysdeps dir before it.
36023 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36025         * nscd/connection.c (register_traced_file): Comment function.
36026         [HAVE_INOTIFY] (union __inev): Define.
36027         [HAVE_INOTIFY] (inotify_check_files): New function.
36028         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36029         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36030         clear_db_cache.
36031         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36033 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36035         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36036         loaded if not already and that a failure is permanent.
36038 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36040         [BZ #15006]
36041         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36042         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36044 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36046         [BZ #13550]
36047         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36048         (CHECK_1_NULL_OK): Likewise.
36049         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36050         (__fxstat): Do not use CHECK_1.
36051         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36052         <bp-checks.h>.
36053         (___fxstat64): Do not use CHECK_1.
36054         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36055         <bp-checks.h>.
36056         (__fxstatat): Do not use CHECK_1.
36057         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36058         <bp-checks.h>.
36059         (__fxstatat64): Do not use CHECK_1.
36060         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36061         <bp-checks.h>.
36062         (__fxstat): Do not use CHECK_1.
36063         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36064         <bp-checks.h>.
36065         (__fxstatat): Do not use CHECK_1.
36066         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36067         <bp-checks.h>.
36068         (__getresgid): Do not use CHECK_1.
36069         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36070         <bp-checks.h>.
36071         (__getresuid): Do not use CHECK_1.
36072         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36073         <bp-checks.h>.
36074         (__lxstat): Do not use CHECK_1.
36075         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36076         <bp-checks.h>.
36077         (__old_msgctl): Do not use CHECK_1.
36078         (__new_msgctl): Likewise.
36079         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36080         <bp-checks.h>.
36081         (__new_setrlimit): Do not use CHECK_1.
36082         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36083         <bp-checks.h>.
36084         (__old_shmctl): Do not use CHECK_1.
36085         (__new_shmctl): Likewise.
36086         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36087         <bp-checks.h>.
36088         (__xstat): Do not use CHECK_1.
36089         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36090         (__lxstat): Do not use CHECK_1.
36091         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36092         <bp-checks.h>.
36093         (___lxstat64): Do not use CHECK_1.
36094         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36095         (__old_msgctl): Do not use CHECK_1.
36096         (__new_msgctl): Likewise.
36097         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36098         <bp-checks.h>.
36099         (__gettimeofday): Do not use CHECK_1.
36100         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36101         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36102         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36103         <bp-checks.h>.
36104         (__gettimeofday): Do not use CHECK_1.
36105         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36106         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36107         (__new_shmctl): Do not use CHECK_1.
36108         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36109         <bp-checks.h>.
36110         (do_sigtimedwait): Do not use CHECK_1.
36111         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36112         <bp-checks.h>.
36113         (do_sigwaitinfo): Do not use CHECK_1.
36114         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36115         <bp-checks.h>.
36116         (msgctl): Do not use CHECK_1.
36117         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36118         <bp-checks.h>.
36119         (shmctl): Do not use CHECK_1.
36120         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36121         (ustat): Do not use CHECK_1.
36122         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36123         <bp-checks.h>.
36124         (__fxstat): Do not use CHECK_1.
36125         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36126         <bp-checks.h>.
36127         (__fxstatat): Do not use CHECK_1.
36128         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36129         <bp-checks.h>.
36130         (__lxstat): Do not use CHECK_1.
36131         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36132         <bp-checks.h>.
36133         (__xstat): Do not use CHECK_1.
36134         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36135         (__xstat): Do not use CHECK_1.
36136         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36137         (___xstat64): Do not use CHECK_1.
36139         [BZ #13550]
36140         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36141         definitions.
36142         (CHECK_BOUNDS_HIGH): Likewise.
36143         * string/strcpy.c: Do not include <bp-checks.h>.
36144         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36146 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36148         * nscd/nscd-client.h (__nscd_drop_map_ref):
36149         Add __attribute__ ((unused)).
36150         * nis/nss-nisplus.h (niserr2nss): Likewise.
36152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36153         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36155         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36156         Remove inline keyword.
36157         * include/rounding-mode.h (round_away): Likewise.
36158         * libio/wfileops.c (adjust_wide_data): Likewise.
36159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36160         (__m128i_strloadu_tolower): Likewise.
36161         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36162         (__m128i_strloadu_tolower): Likewise.
36163         * time/mktime.c (ydhms_diff): Likewise.
36164         * locale/elem-hash.h (elem_hash): Likewise.
36165         * locale/setlocale.c (setdata): Likewise.
36166         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36167         (re_string_wchar_at): Likewise.
36168         (bitset_not, bitset_merge, bitset_mask): Likewise.
36169         [!(__GNUC__ > 3)] (inline): Remove macro.
36170         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36171         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36172         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36173         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36174         * string/memcmp.c (memcmp_bytes): Likewise.
36175         * locale/programs/locarchive.c (compute_hashval): Likewise.
36176         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36177         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36178         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36179         * nss/getent.c (print_rpc, print_protocols): Likewise.
36180         (print_passwd, print_group, print_aliases): Likewise.
36181         * nis/nss-nisplus.h (niserr2nss): Likewise.
36182         * nscd/connections.c (restart_p): Likewise.
36183         Change return type to bool.
36185 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36187         * Makeconfig (all-Depend-files): Add existing
36188         $(sorted-subdirs:=/Depend) files.
36189         (all-subdirs): Remove nss.
36190         * sysdeps/unix/inet/Subdirs: Add it here instead.
36191         * hesiod/Depend: New file.
36193         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36194         instead of calling alloca.
36196         * io/lseek.c (__lseek): Rename to __libc_lseek.
36197         Define __lseek as an alias.
36199         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36201 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36203         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36204         else clause and remove check for non-standard endianness.
36206 2013-02-04  David S. Miller  <davem@davemloft.net>
36208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36210 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36212         [BZ #13550]
36213         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36214         (__ubp_memchr): Remove prototype.
36215         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36216         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36217         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36218         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36219         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36220         Remove alias.
36221         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36222         (__ubp_memchr): Likewise.
36223         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36224         (__ubp_memchr): Likewise.
36225         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36226         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36227         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36228         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36229         CHECK_STRING.
36230         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36231         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36232         (__getcwd): Do not use CHECK_STRING.
36233         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36234         <bp-checks.h>.
36235         (__real_chown): Do not use CHECK_STRING.
36236         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36237         <bp-checks.h>.
36238         (fchownat): Do not use CHECK_STRING.
36239         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36240         CHECK_STRING.
36241         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36242         <bp-checks.h>.
36243         (__lchown): Do not use CHECK_STRING.
36244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36245         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36246         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36247         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36249         include <bp-checks.h>.
36250         (truncate64): Do not use CHECK_STRING.
36251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36252         <bp-checks.h>.
36253         (__real_chown): Do not use CHECK_STRING.
36254         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36255         <bp-checks.h>.
36256         (__lchown): Do not use CHECK_STRING.
36257         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36258         <bp-checks.h>.
36259         (__chown): Do not use CHECK_STRING.
36260         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36261         <bp-checks.h>.
36262         (truncate64): Do not use CHECK_STRING.
36263         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36264         Likewise.
36265         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36266         (__xmknod): Do not use CHECK_STRING.
36267         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36268         <bp-checks.h>.
36269         (__xmknodat): Do not use CHECK_STRING.
36270         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36271         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36273 2013-02-04  Andreas Schwab  <schwab@suse.de>
36275         [BZ #14142]
36276         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36277         * include/netdb.h: Likewise for h_errno.
36278         * elf/tst-stackguard1.c: Include <tls.h>.
36280 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36282         * elf/link.h (struct link_map): Extend the l_addr comment.
36283         * include/link.h (struct link_map): Likewise.
36285 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36287         [BZ #13550]
36288         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36289         (BOUNDED_1): Remove macro.
36290         * debug/backtrace.c: Don't include <bp-checks.h>.
36291         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36292         (__backtrace): Likewise.
36293         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36294         <bp-checks.h>.
36295         (__backtrace): Don't use BOUNDED_1.
36296         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36297         <bp-checks.h>.
36298         (__backtrace): Don't use BOUNDED_1.
36299         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36300         (__backtrace): Don't use BOUNDED_1.
36301         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36302         (shmat): Don't use BOUNDED_N.
36304 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36306         [BZ #13550]
36307         * sysdeps/generic/bp-start.h: Remove file.
36308         * csu/libc-start.c: Don't include <bp-start.h>.
36309         (LIBC_START_MAIN): Set up __environ directly instead of using
36310         INIT_ARGV_and_ENVIRON.
36311         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36312         <bp-start.h>.
36314         [BZ #13550]
36315         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36316         definitions.
36317         (CHECK_FCNTL): Likewise.
36318         (CHECK_N_PAGES): Likewise.
36320         [BZ #13550]
36321         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36322         definitions.
36323         (CHECK_SIGSET_NULL_OK): Likewise.
36324         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36325         <bp-checks.h>.
36326         (sigpending): Don't use CHECK_SIGSET.
36327         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36328         <bp-checks.h>.
36329         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36330         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36331         <bp-checks.h>.
36332         (do_sigsuspend): Don't use CHECK_SIGSET.
36333         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36334         use CHECK_SIGSET.
36335         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36336         (do_sigwait): Don't use CHECK_SIGSET.
36337         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36338         use CHECK_SIGSET.
36339         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36340         include <bp-checks.h>.
36341         (sigpending): Don't use CHECK_SIGSET.
36342         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36343         include <bp-checks.h>.
36344         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36345         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36346         <bp-checks.h>.
36347         (sigpending): Don't use CHECK_SIGSET.
36348         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36349         <bp-checks.h>.
36350         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36352         [BZ #13550]
36353         * sysdeps/generic/bp-semctl.h: Remove file.
36354         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36355         <bp-checks.h> and <bp-semctl.h>.
36356         (__old_semctl): Don't use CHECK_SEMCTL.
36357         (__new_semctl): Likewise.
36358         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36359         and <bp-semctl.h>.
36360         (__old_semctl): Don't use CHECK_SEMCTL.
36361         (__new_semctl): Likewise.
36362         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36363         <bp-checks.h> and <bp-semctl.h>.
36364         (__old_semctl): Don't use CHECK_SEMCTL.
36365         (__new_semctl): Likewise.
36366         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36367         <bp-checks.h> and <bp-semctl.h>.
36368         (semctl): Don't use CHECK_SEMCTL.
36370         [BZ #13550]
36371         * Makerules (elide-bp-thunks): Remove variable.
36372         (elide-routines.oS): Don't use $(elide-bp-thunks).
36373         (elide-routines.os): Likewise.
36374         (elide-routines.o): Likewise.
36375         (elide-routines.op): Likewise.
36376         (elide-routines.og): Likewise.
36377         (objects): Don't use $(bp-thunks).
36378         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36379         include.
36380         (common-generated): Do not add s-proto-bp.d.
36381         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36382         (int): Likewise.
36383         (typ): Likewise.
36384         Do not generate makefile rules for bounded-pointer thunks.
36385         * sysdeps/generic/bp-thunks.h: Remove file.
36386         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36387         * sysdeps/unix/s-proto-bp.S: Likewise.
36389         [BZ #15062]
36390         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36391         parts of result separately when argument is not close to line from
36392         -i to i and one part of argument is small.
36393         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36394         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36395         * math/libm-test.inc (cacos_test): Add more tests.
36396         (casin_test): Likewise.
36397         (casinh_test): Likewise.
36398         * sysdeps/i386/fpu/libm-test-ulps: Update.
36399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36401 2013-01-31  David S. Miller  <davem@davemloft.net>
36403         * po/de.po: Update from translation team.
36405 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36407         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36409 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36411         * configure.in (_AC_PROG_CC_C89): New definition.
36412         * configure: Regenerate.
36414         * configure.in (AC_PROG_CPP): New definition.
36415         * configure: Regenerate.
36417 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36419         * debug/tst-backtrace.h: New file.
36420         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36421         (ret): Remove variable.
36422         (x): Likewise.
36423         (FAIL): Remove macro.
36424         (NO_INLINE): Likewise.
36425         (fn1): Use match function instead of strstr.
36426         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36427         (ret): Remove variable.
36428         (x): Likewise.
36429         (FAIL): Remove macro.
36430         (NO_INLINE): Likewise.
36431         (fn): Use match function instead of strstr.
36432         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36433         (ret): Remove variable.
36434         (x): Likewise.
36435         (FAIL): Remove macro.
36436         (NO_INLINE): Likewise.
36437         (handle_signal): Use match function instead of strstr.
36438         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36439         (ret): Remove variable.
36440         (x): Likewise.
36441         (FAIL): Remove macro.
36442         (NO_INLINE): Likewise.
36443         (handle_signal): Use match function instead of strstr.
36445 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36447         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36449 2013-01-23  David S. Miller  <davem@davemloft.net>
36451         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36452         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36453         argument of CAS if possible.
36454         * sysdeps/sparc/sparc64/bits/atomic.h
36455         (__arch_compare_and_exchange_val_32_acq): Likewise.
36456         (__arch_compare_and_exchange_val_64_acq): Likewise.
36458 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36460         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36461         * sysdeps/posix/ulimit.c: ... this.
36462         Include <limits.h>.
36463         * sysdeps/unix/bsd/ulimit.c: Remove file.
36465 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36467         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36468         (LDFLAGS-tst-array5): Likewise.
36470 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36472         [BZ #15036]
36473         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36474         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36475         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36476         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36478 2013-01-21  David S. Miller  <davem@davemloft.net>
36480         * sysdeps/sparc/backtrace.c: New file.
36481         * sysdeps/sparc/sparc32/backtrace.h: New file.
36482         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36483         * sysdeps/sparc/sparc64/backtrace.h: New file.
36484         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36485         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36486         -funwind-tables.
36488 2013-01-21  Andreas Schwab  <schwab@suse.de>
36490         [BZ #15020]
36491         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36492         closed its stdout.
36494 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36497         "mpa2.h".
36498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36500 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36501             Mark Mitchell  <mark@codesourcery.com>
36502             Tom de Vries  <tom@codesourcery.com>
36503             Paul Pluzhnikov  <ppluzhnikov@google.com>
36505         * debug/tst-backtrace2.c: New file.
36506         * debug/tst-backtrace3.c: Likewise.
36507         * debug/tst-backtrace4.c: Likewise.
36508         * debug/tst-backtrace5.c: Likewise.
36509         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36510         (CFLAGS-tst-backtrace3.c): Likewise.
36511         (CFLAGS-tst-backtrace4.c): Likewise.
36512         (CFLAGS-tst-backtrace5.c): Likewise.
36513         (LDFLAGS-tst-backtrace2): Likewise.
36514         (LDFLAGS-tst-backtrace3): Likewise.
36515         (LDFLAGS-tst-backtrace4): Likewise.
36516         (LDFLAGS-tst-backtrace5): Likewise.
36517         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36518         tst-backtrace4 and tst-backtrace5.
36520 2013-01-18  Anton Blanchard  <anton@samba.org>
36521             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36523         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36524         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36525         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36526         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36528         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36529         "+r" and remove output regs list as redundant.  Add explicit inline
36530         asm to specify register of return val to work around compiler codegen
36531         bug.  Remove (int) cast on return value.  Add return type parameter to
36532         use in macro so that this macro does not truncate return value for
36533         64-bit values.
36534         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36535         pass to INTERNAL_VSYSCALL_NCS.
36536         (INLINE_VSYSCALL): Add 'long int' as return type to
36537         INTERNAL_VSYSCALL_NCS macro invocation.
36538         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36539         INTERNAL_VSYSCALL_NCS macro invocation.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36542 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36544         [BZ #14496]
36545         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36546         Fix application of SIMD FP exception mask.
36548         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36549         mp_no from a power of two.
36550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36551         __mpexp_twomm1.  Use __pow_mp.
36553         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36554         multiplication.
36556 2013-01-17  David S. Miller  <davem@davemloft.net>
36558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36560 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #15023]
36563         * include/complex.h: Condition contents on [!_COMPLEX_H].
36564         (__kernel_casinhf): New prototype.
36565         (__kernel_casinh): Likewise.
36566         (__kernel_casinhl): Likewise.
36567         * math/Makefile (libm_calls): Add k_casinh.
36568         * math/k_casinh.c: New file.
36569         * math/k_casinhf.c: Likewise.
36570         * math/k_casinhl.c: Likewise.
36571         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36572         finite nonzero arguments.
36573         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36574         finite nonzero arguments.
36575         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36576         finite nonzero arguments.
36577         * math/s_casinh.c: Do not include <float.h>.
36578         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36579         * math/s_casinhf.c: Do not include <float.h>.
36580         (__casinhf): Move code for finite nonzero arguments to
36581         k_casinhf.c.
36582         * math/s_casinhl.c: Do not include <float.h>.
36583         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36584         redefine.
36585         (__casinhl): Move code for finite nonzero arguments to
36586         k_casinhl.c.
36587         * math/libm-test.inc (cacos_test): Add more tests.
36588         * sysdeps/i386/fpu/libm-test-ulps: Update.
36589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36591 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36593         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36594         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36595         [!HAVE_MREMAP]: Remove [defined linux] case.
36596         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36598 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36600         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36602 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36604         * elf/elf.h (R_386_SIZE32): New relocation.
36605         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36606         R_386_SIZE32.
36607         (elf_machine_rela): Likewise.
36608         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36609         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36611 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36613         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36614         (FP_FAST_FMA): Do not define.
36615         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36616         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36617         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36618         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36619         !_SOFT_FLOAT]: Likewise.
36620         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36621         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36622         value.
36623         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36624         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36626         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36627         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36628         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36629         file.
36631 2013-01-16  Andreas Schwab  <schwab@suse.de>
36633         [BZ #14327]
36634         * include/stdlib.h (__mktemp): Add declaration.
36635         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36636         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36638 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36640         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36641         definitions.
36642         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36643         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36644         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36645         definitions here.
36646         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36647         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36648         definitions.
36649         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36650         and ONE.
36651         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36652         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36653         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36654         definitions.
36655         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36656         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36657         definitions.
36658         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36660         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36662 2013-01-15  David S. Miller  <davem@davemloft.net>
36664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36665         trunc{,f} to libm-sysdep_routes.
36666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36668         file.
36669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36671         file.
36672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36673         file.
36674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36676         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36677         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36678         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36679         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36680         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36681         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36684         nearbyint{,f} to libm-sysdep_routes.
36685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36687         New file.
36688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36689         file.
36690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36691         New file.
36692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36693         file.
36694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36696         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36697         file.
36698         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36699         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36700         file.
36701         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36702         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36703         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36705         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36706         libc_feholdexcept and libc_fesetenv.
36708 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36710         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36712 2013-01-14  David S. Miller  <davem@davemloft.net>
36714         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36715         (SPARC_ASM_VIS2_IFUNC): Likewise.
36716         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36718         use of 'siam' instruction.
36719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36720         Likewise.
36721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36722         Likewise.
36723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36724         Likewise.
36725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36730         file.
36731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36732         file.
36733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36734         file.
36735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36736         file.
36737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36742         new VIS2 routines.
36743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36746         Likewise.
36747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36752         routines to libm-sysdep_routines.
36753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36756         fdim/fdimf to libm-sysdep_routines.
36757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36758         file.
36759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36761         file.
36762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36765         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36766         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36767         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36768         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36770 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36772         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36773         to optimize copies.
36775         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36780         local variable MPTWO.
36781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36782         Likewise.
36784 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36786         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36787         GLOB_NOESCAPE.
36789 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36791         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36793 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36795         * manual/pattern.texi (glob_t): Document gl_flags.
36796         (glob64_t): Likewise.
36798 2013-01-11  David S. Miller  <davem@davemloft.net>
36800         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36801         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36802         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36803         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36804         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36805         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36806         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36807         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36808         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36809         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36810         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36811         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36812         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36814         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36815         sparc V9 rather than using V8 code.
36816         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36817         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36820         Move to...
36821         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36822         Here.
36824 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36826         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36827         not in the main loop.
36828         * configure: Regenerated.
36830 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36832         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36833         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36834         to just #else.
36835         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36836         [!__GLIBC_HAVE_LONG_LONG] case.
36837         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36838         condition to just #else.
36839         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36840         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36841         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36842         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36843         unconditional.
36844         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36845         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36846         #elif condition to just #else.
36847         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36848         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36849         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36850         #elif condition to just #else.
36852 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36854         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36855         (EF_MIPS_ARCH_64): Fix value.
36856         (EF_MIPS_ARCH_32R2): New.
36857         (EF_MIPS_ARCH_64R2): New.
36859 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36861         * Makeconfig (+link-pie-before-libc): New.
36862         (+link-pie-after-libc): Likewise.
36863         (+link-pie-tests): Likewise.
36864         (+link-pie): Rewritten.
36865         (link-before-libc): Remove $(config-LDFLAGS).
36866         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36867         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36868         (config-LDFLAGS): Renamed to ...
36869         (rtld-LDFLAGS): This.
36870         (rtld-tests-LDFLAGS): New macro.
36871         (link-libc-rpath-link): Likewise.
36872         (link-libc-tests-rpath-link): Likewise.
36873         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36874         (link-libc): Prepand $(link-libc-rpath-link).
36875         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36876         (test-program-prefix): New macro.
36877         (test-via-rtld-prefix): Likewise.
36878         (test-program-cmd): Likewise.
36879         (host-test-program-cmd): Likewise.
36880         * Makefile ($(common-objpfx)testrun.sh): Replace
36881         $(run-program-prefix) with $(test-program-prefix).
36882         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36883         $(rtld-LDFLAGS).
36884         ($(common-objpfx)shlib.lds): Likewise.
36885         (build-module-helper): Likewise.
36886         ($(common-objpfx)format.lds): Likewise.
36887         * Rules (binaries-pie-tests): New.
36888         (binaries-pie-notests): Likewise.
36889         (binaries-pie): Rewritten.
36890         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36891         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36892         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36893         (make-test-out): Replace $(host-built-program-cmd) with
36894         $(host-test-program-cmd).
36895         * config.make.in (build-hardcoded-path-in-tests): New variable.
36896         * configure.in (--enable-hardcoded-path-in-tests): New configure
36897         option.
36898         (hardcoded_path_in_tests): New AC_SUBST.
36899         * configure: Regenerated.
36900         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36901         $(built-program-cmd) with $(test-program-cmd).
36902         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36903         (test_program_cmd): This.
36904         * elf/Makefile ($(objpfx)order.out): Run test with
36905         $(test-program-prefix).
36906         ($(objpfx)order2.out): Likewise.
36907         ($(objpfx)tst-initorder.out): Likewise.
36908         ($(objpfx)tst-initorder2.out): Likewise.
36909         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36910         $(test-program-cmd).
36911         ($(objpfx)tst-array1-static.out): Likewise.
36912         ($(objpfx)tst-array2.out): Likewise.
36913         ($(objpfx)tst-array3.out): Likewise.
36914         ($(objpfx)tst-array4.out): Likewise.
36915         ($(objpfx)tst-array5.out): Likewise.
36916         ($(objpfx)tst-array5-static.out): Likewise.
36917         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36918         $(test-program-cmd).
36919         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36920         $(run-program-prefix) with $(test-program-prefix).
36921         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36922         (test_program_prefix): This.
36923         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36924         $(run-program-prefix) with $(test-program-prefix).
36925         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36926         (test_program_prefix): This.
36927         * iconvdata/tst-tables.sh: Likewise.
36928         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36929         $(run-program-prefix) with $(test-program-prefix).
36930         ($(objpfx)tst-translit.out): Likewise.
36931         ($(objpfx)tst-gettext2.out): Likewise.
36932         ($(objpfx)tst-gettext4.out): Likewise.
36933         ($(objpfx)tst-gettext6.out): Likewise.
36934         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36935         (test_program_prefix): This.
36936         * intl/tst-gettext2.sh: Likewise.
36937         * intl/tst-gettext4.sh  Likewise.
36938         * intl/tst-gettext6.sh: Likewise.
36939         * intl/tst-translit.sh: Likewise.
36940         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36941         with $(test-program-cmd).
36942         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36943         $(run-program-prefix) with $(test-program-prefix).
36944         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36945         (test_program_prefix): This.
36946         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36947         $(run-program-prefix) with $(test-program-prefix).
36948         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36949         (test_program_prefix): This.
36950         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36951         * posix/Makefile ($(objpfx)globtest.out): Replace
36952         $(run-via-rtld-prefix) and $(test-wrapper) with
36953         $(test-program-prefix) and $(test-via-rtld-prefix).
36954         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36955         $(test-program-prefix).
36956         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36957         $(host-test-program-cmd).
36958         (tst-spawn-ARGS): Likewise.
36959         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36960         $(test-program-prefix).
36961         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36962         (test_via_rtld_prefix): This.
36963         (test_wrapper): Renamed to ...
36964         (test_program_prefix): This.
36965         (run_program_prefix): Replaced by test_program_prefix.
36966         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36967         (test_program_prefix): This.
36968         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36969         with $(host-test-program-cmd).
36970         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36971         $(run-program-prefix) with $(test-program-prefix).
36972         ($(objpfx)tst-printf.out): Likewise.
36973         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36974         $(test-program-cmd).
36975         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36976         (test_program_prefix): This.
36977         * stdio-common/tst-unbputc.sh: Likewise.
36978         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36979         $(run-program-prefix) with $(test-program-prefix).
36980         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36981         (test_program_prefix): This.
36982         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36983         $(built-program-cmd) with $(test-program-cmd).
36985 2013-01-11  Andreas Jaeger  <aj@suse.de>
36987         [BZ #15003]
36988         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36989         value. Sync with Linux 3.7.
36991 2013-01-10  David S. Miller  <davem@davemloft.net>
36993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36994         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36995         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36997 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36999         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37000         never set.
37001         * configure: Regenerated.
37003 2013-01-10  David S. Miller  <davem@davemloft.net>
37005         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37006         sparc V9 rather than using V8 code.
37007         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37008         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37010 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37012         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37013         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37014         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37015         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37016         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37017         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37018         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37019         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37020         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37021         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37022         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37023         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37024         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37025         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37026         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37027         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37028         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37029         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37030         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37031         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37032         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37033         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37034         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37035         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37036         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37037         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37038         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37040 2013-01-10  David S. Miller  <davem@davemloft.net>
37042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37044 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37046         * posix/Makefile (tests-static): New variable.
37047         (tests): Add $(tests-static).
37048         (tst-exec-static-ARGS): New variable.
37049         (tst-spawn-static-ARGS): Likewise.
37050         * posix/tst-exec-static.c: New file.
37051         * posix/tst-spawn-static.c: Likewise.
37052         * posix/tst-exec.c: Support run directly.
37053         * posix/tst-spawn.c: Likewise.
37055 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37057         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37058         long.
37059         * math/bits/mathcalls.h (llrint): Likewise.
37060         (llround): Likewise.
37061         * stdlib/stdlib.h (struct drand48_data): Likewise.
37062         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37063         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37064         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37065         Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37067         Likewise.
37068         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37069         (elf_greg_t): Likewise.
37070         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37071         (__jmp_buf): Likewise.
37072         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37073         definitions.
37074         (llrint): Likewise, for all definitions.
37075         (llrintl): Likewise.
37077         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37078         Remove [__GNUC__] condition.
37079         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37080         condition to just [__USE_ISOC99].
37081         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37083 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37085         [BZ #14200]
37086         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37087         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37088         defined.
37089         (_POSIX_V6_ILP32_OFF32): Likewise.
37090         (_XBS5_ILP32_OFF32): Likewise.
37091         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37092         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37094 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37096         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37099         doubles __mpexp_twomm1.  Adjust usage.
37100         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37101         Remove.
37103 2013-01-10  Andreas Schwab  <schwab@suse.de>
37105         [BZ #14964]
37106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37107         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37109 2013-01-09  David S. Miller  <davem@davemloft.net>
37111         [BZ #15003]
37112         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37113         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37114         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37115         (TCP_FASTOPEN): Define.
37116         (tcp_repair_opt): New structure.
37117         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37118         enum values.
37119         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37120         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37121         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37122         (tcp_cookie_transactions): New structure.
37124 2013-01-09  Anton Blanchard  <anton@samba.org>
37126         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37127         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37128         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37129         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37131 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37133         * include/features.h (__USE_ANSI): Remove.
37135 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37137         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37139         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37141 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37143         * sysdeps/s390/fpu/libm-test-ulps: Update.
37145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37147         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37148         (__acr): Likewise.
37149         (__cpy): Likewise.
37150         (norm): Likewise.
37151         (denorm): Likewise.
37152         (__mp_dbl): Likewise.
37153         (__dbl_mp): Likewise.
37154         (add_magnitudes): Likewise.
37155         (sub_magnitudes): Likewise.
37156         (__add): Likewise.
37157         (__sub): Likewise.
37158         (__mul): Likewise.
37159         (__inv): Likewise.
37160         (__dvd): Likewise.
37161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37162         (__acr): Likewise.
37163         (__cpy): Likewise.
37164         (norm): Likewise.
37165         (denorm): Likewise.
37166         (__mp_dbl): Likewise.
37167         (__dbl_mp): Likewise.
37168         (add_magnitudes): Likewise.
37169         (sub_magnitudes): Likewise.
37170         (__add): Likewise.
37171         (__sub): Likewise.
37172         (__mul): Likewise.
37173         (__inv): Likewise.
37174         (__dvd): Likewise.
37175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37176         (__acr): Likewise.
37177         (__cpy): Likewise.
37178         (norm): Likewise.
37179         (denorm): Likewise.
37180         (__mp_dbl): Likewise.
37181         (__dbl_mp): Likewise.
37182         (add_magnitudes): Likewise.
37183         (sub_magnitudes): Likewise.
37184         (__add): Likewise.
37185         (__sub): Likewise.
37186         (__mul): Likewise.
37187         (__inv): Likewise.
37188         (__dvd): Likewise.
37190 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37192         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37193         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37194         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37195         2 && __USE_EXTERN_INLINES]: Likewise.
37197 2013-01-08  Andreas Jaeger  <aj@suse.de>
37199         [BZ# 14985]
37200         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37201         Remove.
37202         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37203         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37205 2013-01-07  Anton Blanchard  <anton@samba.org>
37207         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37208         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37209         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37210         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37211         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37212         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37213         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37214         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37216         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37217         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37218         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37219         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37220         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37221         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37222         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37223         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37225         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37226         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37227         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37228         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37230         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37231         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37232         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37233         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37234         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37235         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37236         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37237         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37239         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37240         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37241         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37242         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37244         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37245         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37247         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37248         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37249         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37251 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37253         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37254         (__MALLOC_PMT): Likewise.
37255         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37256         [__GNUC__], only on [_LIBC].
37257         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37258         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37259         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37260         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37261         forward declaration.
37262         (realloc_hook_ini): Likewise.
37263         (memalign_hook_ini): Likewise.
37264         (__libc_memalign): Do not use __MALLOC_PMT in variable
37265         declaration.
37266         (__libc_valloc): Likewise.
37267         (__libc_pvalloc): Likewise.
37268         (__libc_calloc): Likewise.
37269         (__posix_memalign): Likewise.
37271         [BZ #14996]
37272         * math/s_casinh.c: Include <float.h>.
37273         (__casinh): Do not do computation with squaring and square root
37274         for large arguments.
37275         * math/s_casinhf.c: Include <float.h>.
37276         (__casinhf): Do not do computation with squaring and square root
37277         for large arguments.
37278         * math/s_casinhl.c: Include <float.h>.
37279         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37280         (__casinhl): Do not do computation with squaring and square root
37281         for large arguments.
37282         * math/libm-test.inc (casin_test): Add more tests.
37283         (casinh_test): Likewise.
37284         * sysdeps/i386/fpu/libm-test-ulps: Update.
37285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37287 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37289         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37290         (__x86_64_raw_data_cache_size): Likewise.
37291         (__x86_64_data_cache_size_half): Likewise.
37292         (__x86_64_raw_data_cache_size_half): Likewise.
37293         (__x86_64_shared_cache_size): Likewise.
37294         (__x86_64_raw_shared_cache_size): Likewise.
37295         (__x86_64_shared_cache_size_half): Likewise.
37296         (__x86_64_raw_shared_cache_size_half): Likewise.
37297         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37298         to ...
37299         (__x86_data_cache_size): This.
37300         (__x86_64_raw_data_cache_size): Renamed to ...
37301         (__x86_raw_data_cache_size): This.
37302         (__x86_64_data_cache_size_half): Renamed to ...
37303         (__x86_data_cache_size_half): This.
37304         (__x86_64_raw_data_cache_size_half): Renamed to ...
37305         (__x86_raw_data_cache_size_half): This.
37306         (__x86_64_shared_cache_size): Renamed to ...
37307         (__x86_shared_cache_size): This.
37308         (__x86_64_raw_shared_cache_size): Renamed to ...
37309         (__x86_raw_shared_cache_size): This.
37310         (__x86_64_shared_cache_size_half): Renamed to ...
37311         (__x86_shared_cache_size_half): This.
37312         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37313         (__x86_raw_shared_cache_size_half): This.
37314         * sysdeps/x86_64/memcpy.S: Updated.
37315         * sysdeps/x86_64/memset.S: Likewise.
37316         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37320 2013-01-04  David S. Miller  <davem@davemloft.net>
37322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37324 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37326         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37327         1 to avoid redefinition warning.
37328         (__USE_GNU): Don't define.
37329         (init_signaling_nan): Protoize.
37331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37333 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37335         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37337         (__cpymn): Likewise.
37338         (norm): Remove commented code.
37339         (denorm): Likewise.
37340         (__mp_dbl): Likewise.
37341         (__inv): Likewise.
37342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37343         (__cpymn): Likewise.
37344         (norm): Remove commented code.
37345         (denorm): Likewise.
37346         (__mp_dbl): Likewise.
37347         (__inv): Likewise.
37349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37350         mp_no value for 1.0 and 2.0.
37351         (norm): Use RADIXI instead of radixi.d.
37352         (denorm): Likewise.
37353         (__mul): Use 0.0 instead of zero.d.
37354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37355         mp_no value for 1.0 and 2.0.
37356         (norm): Use RADIXI instead of radixi.d.
37357         (denorm): Likewise.
37358         (__mul): Use 0.0 instead of zero.d.
37360 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37362         [BZ #14994]
37363         * math/s_casinh.c (__casinh): Reduce finite argument to first
37364         quadrant then set signs of results at the end.
37365         * math/s_casinhf.c (__casinhf): Likewise.
37366         * math/s_casinhl.c (__casinhl): Likewise.
37367         * math/libm-test.inc (casin_test): Add more tests.
37368         (casinh_test): Likewise.
37369         * sysdeps/i386/fpu/libm-test-ulps: Update.
37370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37372 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37374         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37376         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37378         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37379         declarations.
37380         (denorm): Likewise.
37381         (__mp_dbl): Likewise.
37382         (__inv): Likewise.
37384         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37385         and adjust the header comment.
37387         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37388         variable name from declaration.
37390 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37393         Initialize COMMON_CPUID_INDEX_7 element.
37394         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37395         (CPUID_RTM): Likewise.
37396         (HAS_RTM): Likewise.
37397         (COMMON_CPUID_INDEX_7): New enum.
37399 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37401         [BZ #14981]
37402         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37403         size is zero, record memory as freed.
37405 2013-01-03  Andreas Jaeger  <aj@suse.de>
37407         * po/ia.po: Add new Interlingua translation.
37409 2012-01-03  Allan McRae  <allan@archlinux.org>
37411         * locale/programs/localedef.c: Fix description of '--posix' flag.
37413 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37415         * NEWS: Update dates in second copyright notice.
37416         * README: Update copyright dates in example.
37417         * manual/libc.texinfo: Update copyright dates.
37418         * scripts/test-installation.pl: Update copyright date in --version
37419         output.
37421         * hurd/ctty-input.c: Fix copyright notice formatting.
37422         * hurd/ctty-output.c: Likewise.
37423         * hurd/dtable.c: Likewise.
37424         * hurd/hurd-raise.c: Likewise.
37425         * hurd/hurdprio.c: Likewise.
37426         * hurd/msgportdemux.c: Likewise.
37427         * misc/sys/file.h: Likewise.
37428         * misc/sys/ioctl.h: Likewise.
37429         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37430         * sysdeps/mach/hurd/chdir.c: Likewise.
37431         * sysdeps/mach/hurd/fchdir.c: Likewise.
37432         * sysdeps/mach/hurd/rename.c: Likewise.
37433         * sysdeps/mach/hurd/rmdir.c: Likewise.
37434         * sysdeps/mach/hurd/seekdir.c: Likewise.
37435         * sysdeps/mach/hurd/setsid.c: Likewise.
37436         * sysdeps/posix/wait3.c: Likewise.
37438         * All files with FSF copyright notices: Update copyright dates
37439         using scripts/update-copyrights.
37440         * intl/plural.c: Regenerated.
37441         * locale/programs/charmap-kw.h: Likewise.
37442         * locale/programs/locfile-kw.h: Likewise.
37444 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37446         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37447         four values.
37449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37450         calculation loop and add branch prediction.
37452         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37453         check access beyond bounds of m1np.
37455         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37456         MPTWO.
37457         (__inv): Remove local variable MPTWO to use the global
37458         constant.
37459         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37460         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37461         variable MPTWO.
37462         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37463         MP3HALFS static const.
37465 2013-01-01  David S. Miller  <davem@davemloft.net>
37467         * po/ca.po: Update from translation team.
37469 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37471         * scripts/update-copyrights: New file.
37472         * Makeconfig: Reformat copyright notice.
37473         * ctype/ctype.h: Likewise.
37474         * debug/swprintf_chk.c: Likewise.
37475         * elf/dl-cache.c: Likewise.
37476         * elf/dl-debug.c: Likewise.
37477         * elf/dl-object.c: Likewise.
37478         * grp/initgroups.c: Likewise.
37479         * hurd/Makefile: Likewise.
37480         * hurd/hurd/signal.h: Likewise.
37481         * hurd/hurdfault.c: Likewise.
37482         * hurd/hurdioctl.c: Likewise.
37483         * hurd/hurdlookup.c: Likewise.
37484         * hurd/intr-msg.c: Likewise.
37485         * iconv/gconv_open.c: Likewise.
37486         * libio/swprintf.c: Likewise.
37487         * locale/lc-ctype.c: Likewise.
37488         * locale/nl_langinfo.c: Likewise.
37489         * mach/Machrules: Likewise.
37490         * mach/Makefile: Likewise.
37491         * malloc/obstack.h: Likewise.
37492         * manual/Makefile: Likewise.
37493         * manual/tsort.awk: Likewise.
37494         * misc/bits/stab.def: Likewise.
37495         * nis/nis_print_group_entry.c: Likewise.
37496         * nis/nis_table.c: Likewise.
37497         * nis/nss_compat/compat-pwd.c: Likewise.
37498         * nis/nss_compat/compat-spwd.c: Likewise.
37499         * po/Makefile: Likewise.
37500         * posix/fnmatch.c: Likewise.
37501         * posix/regex.h: Likewise.
37502         * resolv/Makefile: Likewise.
37503         * resolv/nss_dns/dns-network.c: Likewise.
37504         * resolv/res_hconf.c: Likewise.
37505         * scripts/gen-sorted.awk: Likewise.
37506         * soft-fp/soft-fp.h: Likewise.
37507         * stdio-common/printf.h: Likewise.
37508         * stdlib/monetary.h: Likewise.
37509         * stdlib/random.c: Likewise.
37510         * stdlib/random_r.c: Likewise.
37511         * sysdeps/generic/Makefile: Likewise.
37512         * sysdeps/gnu/Makefile: Likewise.
37513         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37515         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37520         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37523         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37533         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37535         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37536         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37537         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37538         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37539         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37540         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37541         * sysdeps/mach/hurd/errnos.awk: Likewise.
37542         * sysdeps/mach/hurd/fork.c: Likewise.
37543         * sysdeps/mach/hurd/getcwd.c: Likewise.
37544         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37545         * sysdeps/mach/hurd/mmap.c: Likewise.
37546         * sysdeps/mach/hurd/utimes.c: Likewise.
37547         * sysdeps/mach/hurd/xmknod.c: Likewise.
37548         * sysdeps/posix/profil.c: Likewise.
37549         * sysdeps/posix/readdir_r.c: Likewise.
37550         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37551         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37552         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37553         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37555         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37556         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37557         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37559         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37560         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37561         * sysdeps/pthread/lio_listio.c: Likewise.
37562         * sysdeps/sparc/dl-procinfo.h: Likewise.
37563         * sysdeps/unix/i386/sysdep.S: Likewise.
37564         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37565         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37566         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37567         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37569         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37570         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37571         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37572         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37573         * sysdeps/wordsize-32/divdi3.c: Likewise.
37574         * time/sys/time.h: Likewise.
37575         * wcsmbs/Makefile: Likewise.
37577 2013-01-01  David S. Miller  <davem@davemloft.net>
37579         * po/fr.po: Update from translation team.
37581         * catgets/gencat.c: Update copyright year.
37582         * csu/version.c: Likewise.
37583         * debug/catchsegv.sh: Likewise.
37584         * debug/pcprofiledump.c: Likewise.
37585         * debug/xtrace.sh: Likewise.
37586         * elf/ldconfig.c: Likewise.
37587         * elf/ldd.bash.in: Likewise.
37588         * elf/pldd.c: Likewise.
37589         * elf/sotruss.ksh: Likewise.
37590         * elf/sprof.c: Likewise.
37591         * iconv/iconv_prog.c: Likewise.
37592         * iconv/iconvconfig.c: Likewise.
37593         * locale/programs/locale.c: Likewise.
37594         * locale/programs/localedef.c: Likewise.
37595         * login/programs/pt_chown.c: Likewise.
37596         * malloc/memusage.sh: Likewise.
37597         * malloc/memusagestat.c: Likewise.
37598         * malloc/mtrace.pl: Likewise.
37599         * nscd/nscd.c: Likewise.
37600         * nss/getent.c: Likewise.
37601         * nss/makedb.c: Likewise.
37602         * posix/getconf.c: Likewise.
37604 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37606         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37607         numbers.
37609 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37611         * math/bits/mathcalls.h (modf): Use __nonnull.
37613 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37616         (split): Use macro CN instead of the bare value.
37617         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37618         could be used.
37619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37620         instead of the bare value.
37621         (power1): Likewise.
37623 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37625         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37626         __ATAN_TWOM.
37627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37629         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37630         their values.
37631         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37632         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37633         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37634         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37636 2012-12-28  Andreas Jaeger  <aj@suse.de>
37638         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37639         values are from Linux 3.7.
37641         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37642         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37644 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37646         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37647         TRUE case.
37649         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37650         (norm): Likewise.
37651         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37652         variables with preprocessor constants.
37653         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37654         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37655         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37657 2012-12-27  Bruno Haible  <bruno@clisp.org>
37659         [BZ #14317]
37660         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37661         only if needed.
37663 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37666         and use variable directly.
37667         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37669         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37670         MPONE.
37671         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37673         variable MPONE.
37674         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37676         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37677         include directive.  Remove local variable MPONE.
37678         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37679         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37680         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37682 2012-12-25  David S. Miller  <davem@davemloft.net>
37684         * version.h (RELEASE): Set to "development".
37685         (VERSION): Set to "2.17.90".
37686         * NEWS: Add 2.18 section.
37688 2012-12-21  David S. Miller  <davem@davemloft.net>
37690         * po/hr.po: Update from translation team.
37692 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37694         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37696 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37698         * NEWS:  Mention new memcpy for MIPS.
37700 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37702         * manual/contrib.texi (Contributors): Spelling correction.
37704 2012-12-15  David S. Miller  <davem@davemloft.net>
37706         * po/ru.po: Update from translation team.
37708 2012-12-13  David S. Miller  <davem@davemloft.net>
37710         * NEWS: Mention IFUNC testsuite enhancements.
37712         * po/pl.po: Update from translation team.
37713         * po/bg.po: Likewise.
37715         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37716         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37718 2012-12-11  David S. Miller  <davem@davemloft.net>
37720         * po/sv.po: Update from translation team.
37722         * po/vi.po: Update from translation team.
37724         * po/cs.po: Update from translation team.
37726         * po/de.po: Update from translation team.
37727         * po/eo.po: Likewise.
37728         * po/nl.po: Likewise.
37730 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37732         [BZ #14246]
37733         * manual/argp.texi (Argp Helper Functions): Move node to follow
37734         Argp Parsing State.
37736         [BZ #14872]
37737         * manual/conf.texi (Limits on File System Capacity): Mention if
37738         terminating null is included in the max size.
37740 2012-12-10  Andreas Jaeger  <aj@suse.de>
37742         * po/cs.po: Update from translation team.
37744 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37746         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37747         void pointer and cast to uintptr_t.
37748         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37749         path.
37750         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37751         * sysdeps/s390/s390-64/memset.S: Likewise.
37753 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37755         [BZ #14833]
37756         * menual/message.texi (Message Translation): Fix typos.
37757         (Helper programs for gettext): Likewise.
37759 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37761         [BZ #14898]
37762         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37763         Change to -1.
37765 2012-12-07  David S. Miller  <davem@davemloft.net>
37767         * po/libc.pot: Update.
37769 2012-12-07  Richard Henderson  <rth@redhat.com>
37771         [BZ #10114]
37772         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37773         normal/normal case to before the switch.
37774         (_FP_DIV): Likewise.
37776 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37777             Mike Frysinger  <vapier@gentoo.org>
37779         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37780         check for __NR_fadvise64_64.
37782 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37784         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37785         0, not just to plain "0" as a statement.
37786         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37787         with cw.
37789 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37791         * NEWS: Use sourceware.org in Bugzilla URL.
37793 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37796         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37798         * stdio-common/tst-put-error.c (do_test): Add newline to the
37799         padded test to ensure flush.
37801 2012-12-05  Jeff Law  <law@redhat.com>
37803         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37805 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37807         * README: Don't refer to ports add-on as distributed separately.
37808         Mention AArch64 in list of systems supported in the ports add-on.
37810         * LICENSES: Add more non-FSF copyright and license notices.
37812         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37813         ((unused)).
37815         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37817         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37818         10000 as width of padded output.
37820 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37822         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37824         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37825         variable LX with __attribute__ ((unused)).
37826         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37827         Likewise.
37828         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37831         with __attribute__ ((unused)).
37833 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37835         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37837 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37839         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37840         (CFLAGS-nldbl-acos.c): New variable.
37841         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37842         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37843         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37844         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37845         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37846         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37847         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37848         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37849         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37850         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37851         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37852         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37853         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37854         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37855         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37856         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37857         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37858         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37859         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37860         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37861         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37862         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37863         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37864         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37865         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37866         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37867         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37868         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37869         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37870         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37871         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37872         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37873         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37874         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37875         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37876         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37877         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37878         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37879         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37880         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37881         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37882         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37883         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37884         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37885         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37886         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37887         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37888         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37889         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37890         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37891         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37892         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37893         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37894         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37895         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37896         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37897         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37898         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37899         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37900         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37901         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37902         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37903         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37904         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37905         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37906         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37907         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37908         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37909         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37910         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37911         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37912         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37913         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37914         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37915         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37916         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37917         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37918         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37919         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37920         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37921         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37922         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37923         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37924         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37925         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37926         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37927         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37928         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37929         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37930         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37931         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37932         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37933         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37934         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37935         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37936         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37937         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37940         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37942         [BZ #14914]
37943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37944         whole low double instead of just low 47 bits when splitting values
37945         into two parts.
37947 2012-12-03  Allan McRae  <allan@archlinux.org>
37949         * manual/stdio.texi (Predefined Printf Handlers): Remove
37950         @hsep and @vsep usage.
37952 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37954         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37955         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37957 2012-12-03  Jeff Law  <law@redhat.com>
37959         * time/sys/time.h (settimeofday): Do not mark TV argument
37960         as __nonnull.
37962 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37964         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37965         when currently writing and seek to current position when not.
37966         * libio/Makefile (tests): Remove bug-fclose1.
37967         * libio/bug-fclose1.c: Delete.
37969 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37971         * manual/arith.texi (feenableexcept): Fix typo.
37972         (fedisableexcept): Likewise.
37974 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37976         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37977         second, differently-typed declaration, rather than a cast.
37979 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37981         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37982         * include/rpc/svc.h: ... here.
37984 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37986         [BZ #13013]
37987         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37988         depending n and resplen2 to catch cases where answer
37989         equals answerp2.
37991 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37993         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37994         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37996 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37998         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38000 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38002         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38004 2012-11-28  Jeff Law  <law@redhat.com>
38006         [BZ #13761]
38007         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38008         dataset_temporary.  Track alloca usage into alloca_used.
38009         If dataset is large allocate and release it via malloc/free.
38011 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38013         [BZ #14197]
38014         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38016 2012-11-28  David S. Miller  <davem@davemloft.net>
38018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38020 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38022         [BZ #14803]
38023         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38024         of pi/2 rounded to nearest to 64 bits.
38025         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38026         nearest to 64 bits.
38027         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38028         bits.
38030 2012-11-28  Jeff Law <law@redhat.com>
38031             Martin Osvald <mosvald@redhat.com>
38033         [BZ #14889]
38034         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38035         * sunrpc/svc.c: Include time.h.
38036         (__svc_accept_failed): New function.
38037         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38038         any reason other than EINTR, call __svc_accept_failed.
38039         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38040         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38042 2012-11-28  Andreas Schwab  <schwab@suse.de>
38044         * scripts/abilist.awk: Also handle indirect functions in .opd
38045         section.
38047 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38049         [BZ #13881]
38050         * sysdeps/x86/fpu/powl_helper.c: New file.
38051         * sysdeps/x86/fpu/Makefile: Likewise.
38052         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38053         (p3): New object.
38054         (__ieee754_powl): Use __powl_helper for finite arguments except
38055         integer exponents below 8.
38056         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38057         (p3): New object.
38058         (__ieee754_powl): Use __powl_helper for finite arguments except
38059         integer exponents below 8.
38060         * math/libm-test.inc (pow_test): Add more tests and enable some
38061         previously disabled tests.
38062         * sysdeps/i386/fpu/libm-test-ulps: Update.
38063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38065 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38066             Carlos O'Donell  <carlos_odonell@mentor.com>
38068         * nss/makedb.c (is_prime): Assert that input is odd and greater
38069         than 4.  Note that fact in a comment too.
38070         (next_prime): Add 4 to input.
38072 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38074         [BZ #11741]
38075         * libio/Makefile (tests): Add test case tst-fwrite-error.
38076         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38077         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38078         * libio/tst-fwrite-error.c: New test case.
38080 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38082         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38083         before casting to void *.
38084         * include/libc-internal.h (__pointer_type): New macro.
38085         (__integer_if_pointer_type_sub): Likewise.
38086         (__integer_if_pointer_type): Likewise.
38087         (cast_to_integer): Likewise.
38088         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38089         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38090         before casting to atomic64_t.
38091         (atomic_exchange_acq): Likewise.
38092         (__arch_exchange_and_add_body): Likewise.
38093         (__arch_add_body): Likewise.
38094         (atomic_add_negative): Likewise.
38095         (atomic_add_zero): Likewise.
38097 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38099         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38100         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38101         (add_fdes): Likewise.
38102         (linear_search_fdes): Likewise.
38103         (binary_search_unencoded_fdes): Likewise.
38105 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38107         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38109 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38111         * configure.in: Autodetect C++ header directories.
38112         * configure: Regenerated.
38114 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38116         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38118 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38122 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38124         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38125         LDBL_MANT_DIG == 106]: Disable some tests.
38126         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38127         Likewise.
38128         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38129         Likewise.
38131         [BZ #14871]
38132         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38133         input for small inputs.  Return +/- pi/2 for large inputs.
38134         * math/libm-test.inc (atan_test): Add more tests.
38136         * sysdeps/generic/unwind-dw2-fde-glibc.c
38137         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38138         __attribute__ ((unused)).
38140         [BZ #14645]
38141         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38142         x * y if x and y are nonzero and z is zero.
38144         [BZ #14811]
38145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38146         nonzero exponents with absolute value below 0x1p-117 to +/-
38147         0x1p-117.
38149         [BZ #14869]
38150         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38151         up arguments below 2**-450, not just those below 2**-500.
38152         * math/libm-test.inc (hypot_test): Add another test.
38154         [BZ #14868]
38155         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38156         Return a+b for ratio over 2**120, not 2**60.
38157         * math/libm-test.inc (hypot_test): Add another test.
38159         * math/libm-test.inc (clog_test): Use
38160         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38161         (clog10_test): Likewise.
38163         [BZ #6778]
38164         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38166 2012-11-22  Andreas Schwab  <schwab@suse.de>
38168         * sysdeps/i386/fpu/libm-test-ulps: Update.
38170 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38172         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38173         printf output with newline.
38175 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38177         [BZ #14865]
38178         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38179         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38180         -z nodlopen, -z initfirst and -z execstack support.
38181         * configure: Regenerated.
38183         * elf/elf.h (DF_1_NODIRECT): New macro.
38184         (DF_1_IGNMULDEF): Likewise.
38185         (DF_1_NOKSYMS): Likewise.
38186         (DF_1_NOHDR): Likewise.
38187         (DF_1_EDITED): Likewise.
38188         (DF_1_NORELOC): Likewise.
38189         (DF_1_SYMINTPOSE): Likewise.
38190         (DF_1_GLOBAUDIT): Likewise.
38191         (DF_1_SINGLETON): Likewise.
38192         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38193         DT_1_SUPPORTED_MASK bits.
38194         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38196 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38198         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38200 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38202         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38203         macro.
38205         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38206         (sendmmsg): Move declarations...
38207         * socket/sys/socket.h: ... here.
38208         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38209         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38210         include it from...
38211         * socket/recvmmsg.c: ... this new file.
38212         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38213         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38214         definition of __sendmmsg hidden.
38215         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38216         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38217         Move ENOSYS stub into and include it from...
38218         * socket/sendmmsg.c: ... this new file.
38219         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38220         (sysdep_routines): Move recvmmsg and sendmmsg...
38221         * socket/Makefile (routines): ... here.
38222         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38223         (GLIBC_PRIVATE): Add __sendmmsg.
38224         * include/sys/socket.h (__sendmmsg): Add declarations.
38225         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38226         sendmmsg.
38228 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38231         variable I1 with __attribute__ ((unused)).
38232         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38234 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38236         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38237         DUMMY variables with __attribute__ ((unused)).
38239         * bits/byteswap.h: Include <bits/types.h>.
38240         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38244         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38245         string_t.  Do not manually set errno.
38246         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38247         length with __strnlen.  Make sure to both set errno and return it on
38248         failure.
38250 2012-11-19  David S. Miller  <davem@davemloft.net>
38252         With help from Joseph Myers.
38253         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38254         very large arguments properly.
38255         * math/libm-test.inc (atan_test): New tests.
38256         (atan2_test): New tests.
38257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38260 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38262         [BZ #14856]
38263         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38264         Define to 3.
38266         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38267         [POSIX] (EADDRNOTAVAIL): Likewise.
38268         [POSIX] (EAFNOSUPPORT): Likewise.
38269         [POSIX] (EALREADY): Likewise.
38270         [POSIX] (ECONNABORTED): Likewise.
38271         [POSIX] (ECONNREFUSED): Likewise.
38272         [POSIX] (ECONNRESET): Likewise.
38273         [POSIX] (EDESTADDRREQ): Likewise.
38274         [POSIX] (EDQUOT): Likewise.
38275         [POSIX] (EHOSTUNREACH): Likewise.
38276         [POSIX] (EIDRM): Likewise.
38277         [POSIX] (EISCONN): Likewise.
38278         [POSIX] (ELOOP): Likewise.
38279         [POSIX] (EMULTIHOP): Likewise.
38280         [POSIX] (ENETDOWN): Likewise.
38281         [POSIX] (ENETUNREACH): Likewise.
38282         [POSIX] (ENOBUFS): Likewise.
38283         [POSIX] (ENODATA): Likewise.
38284         [POSIX] (ENOLINK): Likewise.
38285         [POSIX] (ENOMSG): Likewise.
38286         [POSIX] (ENOPROTOOPT): Likewise.
38287         [POSIX] (ENOSR): Likewise.
38288         [POSIX] (ENOSTR): Likewise.
38289         [POSIX] (ENOTCONN): Likewise.
38290         [POSIX] (ENOTSOCK): Likewise.
38291         [POSIX] (EOPNOTSUPP): Likewise.
38292         [POSIX] (EOVERFLOW): Likewise.
38293         [POSIX] (EPROTO): Likewise.
38294         [POSIX] (EPROTONOSUPPORT): Likewise.
38295         [POSIX] (EPROTOTYPE): Likewise.
38296         [POSIX] (ESTALE): Likewise.
38297         [POSIX] (ETIME): Likewise.
38298         [POSIX] (ETXTBSY): Likewise.
38299         [POSIX] (EWOULDBLOCK): Likewise.
38300         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38301         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38302         [POSIX] (SEEK_CUR): Likewise.
38303         [POSIX] (SEEK_END): Likewise.
38304         [POSIX || UNIX98] (mode_t): Do not require.
38305         [POSIX] (off_t): Likewise.
38306         [POSIX] (pid_t): Likewise.
38307         [POSIX] (sys/stat.h): Do not allow header.
38308         [POSIX] (unistd.h): Likewise.
38309         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38310         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38311         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38312         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38313         require.
38314         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38315         sigevent): Specify elements.
38316         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38317         entry.
38318         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38319         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38321         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38322         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38323         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38324         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38325         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38326         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38327         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38328         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38329         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38330         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38331         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38332         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38333         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38334         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38335         Likewise.
38336         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38337         Likewise.
38338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38339         Likewise.
38340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38341         Likewise.
38342         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38343         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38344         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38345         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38346         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38347         Specify lower bound on value.
38348         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38349         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38350         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38351         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38352         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38353         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38354         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38355         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38356         value.
38357         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38358         as optional.
38359         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38360         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38361         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38362         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38363         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38364         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38365         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38366         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38367         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38368         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38369         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38370         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38371         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38372         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38373         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38374         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38375         entry.
38376         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38377         optional.
38378         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38379         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38380         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38381         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38382         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38383         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38384         Likewise.
38385         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38386         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38387         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38388         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38389         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38390         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38391         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38392         as optional.
38393         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38394         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38395         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38396         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38397         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38398         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38399         specify as optional.
38400         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38401         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38402         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38403         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38404         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38405         [XPG3] (NL_LANGMAX): Likewise.
38406         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38407         [POSIX || XPG3] (NL_NMAX): Likewise.
38408         [POSIX || XPG3] (NL_SETMAX): Likewise.
38409         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38410         [XPG3] (NZERO): Likewise.
38411         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38412         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38413         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38414         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38415         (REG_ERANGE): Expect.
38416         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38417         optional-constant.
38418         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38419         Use (void) in prototype.
38420         [POSIX] (*_t): Allow.
38421         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38422         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38423         (WRDE_BADVAL): Expect.
38425         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38426         expect.
38427         [XPG3 || XPG4] (O_RSYNC): Likewise.
38428         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38429         Likewise.
38430         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38431         [XPG3 || XPG4] (sigqueue): Likewise.
38432         [XPG3 || XPG4] (sigtimedwait): Likewise.
38433         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38434         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38435         [XPG3 || XPG4] (vsnprintf): Likewise.
38436         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38437         Likewise.
38438         [XPG3 || XPG4] (blksize_t): Likewise.
38439         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38440         Likewise.
38441         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38442         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38443         [XPG3 || XPG4] (struct itimerspec): Likewise.
38444         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38445         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38446         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38447         [XPG3 || XPG4] (clockid_t): Likewise.
38448         [XPG3 || XPG4] (timer_t): Likewise.
38449         [XPG3 || XPG4] (clock_getres): Likewise.
38450         [XPG3 || XPG4] (clock_gettime): Likewise.
38451         [XPG3 || XPG4] (clock_settime): Likewise.
38452         [XPG3 || XPG4] (nanosleep): Likewise.
38453         [XPG3 || XPG4] (timer_create): Likewise.
38454         [XPG3 || XPG4] (timer_delete): Likewise.
38455         [XPG3 || XPG4] (timer_gettime): Likewise.
38456         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38457         [XPG3 || XPG4] (timer_settime): Likewise.
38458         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38459         [XPG3 || XPG4] (getlogin_r): Likewise.
38460         [XPG3 || XPG4] (pread): Likewise.
38461         [XPG3 || XPG4] (pthread_atfork): Likewise.
38462         [XPG3 || XPG4] (pwrite): Likewise.
38464         [BZ #14835]
38465         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38466         <bits/siginfo.h>.
38468 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38470         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38471         finalizing MALLSTREAM.
38473         * sysdeps/mach/hurd/syncfs.c: New file.
38475 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38477         [BZ #14719]
38478         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38479         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38480         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38481         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38482         (_nss_dns_gethostbyname4_r): Likewise.
38483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38484         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38486 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38488         [BZ #13763]
38489         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38491 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38493         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38494         * elf/cache.c (print_entry): Print ",AArch64" for
38495         FLAG_AARCH64_LIB64
38497         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38498         * elf/cache.c (print_entry): Print ",hard-float" for
38499         FLAG_ARM_LIBHF.
38501 2012-11-18  David S. Miller  <davem@davemloft.net>
38503         With help from Joseph Myers.
38504         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38505         cutoff to 2**-13.
38506         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38507         cutoff to 2**-25.
38508         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38509         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38510         small.
38511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38512         * math/libm-test.inc (y0_test): New tests.
38513         (y1_test): New tests.
38514         * sysdeps/i386/fpu/libm-test-ulps: Update.
38515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38518 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38520         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38521         64-bit targets.
38522         * configure: Regenerated.
38524 2012-11-17  David S. Miller  <davem@davemloft.net>
38526         [BZ #14811]
38527         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38528         nonzero exponents with absolute value below 0x1p-128 to +/-
38529         0x1p-128.
38531 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38533         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38535         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38537         * posix/getconf-speclist.c: New file.
38538         * posix/posix-envs.def: Likewise.
38539         * posix/confstr.c (START_ENV_GROUP): New macro.
38540         (END_ENV_GROUP): Likewise.
38541         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38542         (KNOWN_PRESENT_ENV_STRING): Likewise.
38543         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38544         (UNKNOWN_ENVIRONMENT): Likewise.
38545         (confstr): Include posix-envs.def instead of handling
38546         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38547         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38548         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38549         (END_ENV_GROUP): Likewise.
38550         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38551         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38552         (UNKNOWN_ENVIRONMENT): Likewise.
38553         (__sysconf): Include posix-envs.def instead of handling associated
38554         cases directly here.
38555         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38556         preprocessing getconf-speclist.c rather than running getconf or
38557         generating empty file.
38559 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38561         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38563 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38565         [BZ #14672]
38566         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38568 2012-11-16  David S. Miller  <davem@davemloft.net>
38570         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38571         smaller than LDBL_EPSILON/2.0L, just return xm1.
38573 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38575         * elf/tst-array1.c (init): Set constructor priority to 1000.
38576         (fini): Set destructor priority to 1000.
38577         * elf/tst-array2dep.c: Likewise.
38579 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38581         [BZ #11741]
38582         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38583         (_IO_new_file_xsputn): Also return EOF if none of the input
38584         data was written when overflow failed.
38585         * libio/iopadn.c (_IO_padn): Likewise.
38586         * libio/iowpadn.c (_IO_wpadn): Likewise.
38587         * stdio-common/tst-put-error.c: Add copyright notice.
38588         (do_test): Add case for printing padded string.
38589         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38590         _IO_padn returned error.
38591         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38592         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38593         return EOF.
38595 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38597         * libio/libioP.h: Add comment note that the references to C++
38598         bits are now obsolete.
38600 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38602         * math/libm-test.inc (check_complex): Use asprintf.
38604 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38606         * debug/pcprofiledump.c (print_version): Update copyright year.
38607         * malloc/memusagestat.c (print_version): Likewise.
38609 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38611         [BZ #14831]
38612         * elf/Makefile (tests): Add tst-audit8.
38613         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38614         ($(objpfx)tst-audit8.out): New target.
38615         (tst-audit8-ENV): New variable.
38616         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38617         audit if l_reloc_result is NULL.
38618         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38619         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38620         * elf/tst-audit8.c: New file.
38622 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38624         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38625         * misc/Makefile (CFLAGS-select.c): Define.
38626         * posix/Makefile (CFLAGS-pause.c): Define.
38628 2012-11-13  David S. Miller  <davem@davemloft.net>
38630         * crypt/Makefile: Move test targets after toplevel Rules
38631         inclusion.  Grab any necessary sysdep routines when linking.
38632         * crypt/md5.c (md5_process_block): Remove define, we will always
38633         name it __md5_process_block.
38634         (md5_finish_ctx): Update md5_process_block call.
38635         (md5_stream): Likewise.
38636         (md5_process_bytes): Likewise.
38637         (md5_process_block): Rename to __md5_process_block and move to ...
38638         * crypt/md5-block.c: ... here.
38639         * crypt/sha256.c (sha256_process_block): Move to ...
38640         * crypt/sha256-block.c: ... here.
38641         * crypt/sha512.c (sha512_process_block): Move to ...
38642         * crypt/sha512-block.c: ... here.
38643         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38644         path.
38645         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38646         * sysdeps/sparc/sparc64/multiarch/Makefile
38647         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38648         crypt subdir.
38649         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38650         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38651         multiarch changes.
38652         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38653         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38654         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38655         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38656         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38657         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38658         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38659         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38660         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38661         file.
38662         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38663         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38664         file.
38665         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38667 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38669         * timezone/tzselect.ksh: Update from tzcode git revision
38670         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38671         * timezone/zdump.c: Likewise.
38672         * timezone/zic.c: Likewise.
38673         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38674         in TZVERSION setting, not $(PKGVERSION).
38675         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38676         REPORT_BUGS_TO settings.
38678         [BZ #14838]
38679         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38680         macro.
38682 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38684         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38685         detection to immediately after _FP_ROUND().
38686         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38687         bits are 0.
38689 2012-11-11  David S. Miller  <davem@davemloft.net>
38691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38692         inttypes.h
38693         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38694         __close rather than their public counterparts.
38696 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38698         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38699         file.
38700         [UNIX98] (sem_timedwait): Do not expect.
38701         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38702         [XPG4 || UNIX98] (sockatmark): Do not expect.
38703         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38704         (clock_getcpuclockid): Do not expect.
38705         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38706         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38707         Do not expect.
38708         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38709         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38710         [UNIX98] (vwscanf): Likewise.
38711         [UNIX98] (vswscanf): Likewise.
38713 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38715         * timezone/version.h: Remove file.
38716         * timezone/README: Do not refer to version.h.
38717         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38718         $(objpfx)version.h.
38719         ($(objpfx)zdump.o): Likewise.
38720         ($(objpfx)version.h): New target.
38722         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38723         2012i.
38724         * timezone/README: Don't mention modification to tzselect.ksh.
38725         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38726         work on unmodified tzselect.ksh.  Substitute version numbers in
38727         tzselect.ksh.
38729         * Makefile (format-me): Remove.
38730         (INSTALL): Adjust indentation.  Use commands directly instead of
38731         using $(format-me).
38733         * aclocal.m4 (ACX_PKGVERSION): New macro.
38734         (ACX_BUGURL): Likewise.
38735         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38736         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38737         (REPORT_BUGS_TO): Likewise.
38738         * configure: Regenerated.
38739         * config.h.in (PKGVERSION): New macro.
38740         (REPORT_BUGS_TO): Likewise.
38741         * config.make.in (PKGVERSION): New variable.
38742         (PKGVERSION_TEXI): Likewise.
38743         (REPORT_BUGS_TO): Likewise.
38744         (REPORT_BUGS_TEXI): Likewise.
38745         * Makefile (format-me): Use -I$(common-objpfx)manual.
38746         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38747         ($(common-objpfx)manual/%): New target.
38748         (manual/%): Remove target.
38749         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38750         (print_version): Use PKGVERSION.
38751         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38752         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38753         and REPORT_BUGS_TO.
38754         ($(objpfx)xtrace): Likewise.
38755         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38756         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38757         (print_version): Use PKGVERSION.
38758         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38759         (do_version): Use PKGVERSION.
38760         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38761         REPORT_BUGS_TO.
38762         (common-ldd-rewrite): Likewise.
38763         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38764         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38765         (print_version): Use PKGVERSION.
38766         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38767         * elf/pldd.c (argp_program_bug_address): Remove variable.
38768         (more_help): New function.
38769         (argp): Use more_help.
38770         (print_version): Use PKGVERSION.
38771         * elf/sln.c (main): Use PKGVERSION.
38772         (usage): Use REPORT_BUGS_TO.
38773         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38774         (top level): Use PKGVERSION.
38775         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38776         (print_version): Use PKGVERSION.
38777         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38778         (print_version): Use PKGVERSION.
38779         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38780         (print_version): Use PKGVERSION.
38781         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38782         (print_version): Use PKGVERSION.
38783         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38784         (print_version): Use PKGVERSION.
38785         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38786         (print_version): Use PKGVERSION.
38787         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38788         and BUGURL.
38789         ($(objpfx)memusage): Likewise.
38790         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38791         (do_version): Use PKGVERSION.
38792         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38793         (print_version): Use PKGVERSION.
38794         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38795         ($PKGVERSION): New variable.
38796         ($REPORT_BUGS_TO): Likewise.
38797         (usage): Use $REPORT_BUGS_TO.
38798         (top level): Use $PKGVERSION.
38799         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38800         ($(objpfx)pkgvers.texi): New rule.
38801         ($(objpfx)stamp-pkgvers): Likewise.
38802         * manual/install.texi: Include pkgvers.texi.
38803         (--with-pkgversion): Document new configure option.
38804         (--with-bugurl): Likewise.
38805         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38806         than necessarily for this particular distribution.  Use
38807         REPORT_BUGS_TO for where to report bugs.
38808         * INSTALL: Regenerated.
38809         * manual/libc.texinfo: Include pkgvers.texi.
38810         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38811         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38812         (print_version): Use PKGVERSION.
38813         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38814         (print_version): Use PKGVERSION.
38815         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38816         (print_version): Use PKGVERSION.
38817         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38818         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38819         macro.
38820         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38821         (print_version): Use PKGVERSION.
38822         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38823         (print_version): Use PKGVERSION.
38824         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38825         and PKGVERSION.
38827         * timezone/checktab.awk: Update from tzcode 2012i.
38828         * timezone/ialloc.c: Likewise.
38829         * timezone/private.h: Likewise.
38830         * timezone/scheck.c: Likewise.
38831         * timezone/tzfile.h: Likewise.
38832         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38833         (TZVERSION): Hardcode tzcode version number.
38834         * timezone/zdump.c: Update from tzcode 2012i.
38835         * timezone/zic.c: Likewise.
38836         * timezone/version.h: New file.
38837         * timezone/README: Describe version.h.  Update upstream location.
38839         [BZ #14824]
38840         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38841         (mktemp): Enable declaration.
38842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38845         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38846         Likewise.
38847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38848         Likewise.
38849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38850         Likewise.
38851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38852         Likewise.
38853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38854         Likewise.
38855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38856         Likewise.
38858         [BZ #14821]
38859         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38860         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38861         for copies of such integer values.
38862         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38863         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38865 2012-11-09  Andreas Jaeger  <aj@suse.de>
38867         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38868         definitions and declarations that are provided by
38869         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38871 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38873         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38874         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38875         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38876         definition.
38878 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38880         * elf/elf.h: Update comment before AArch64 relocations.
38882 2012-11-07  David S. Miller  <davem@davemloft.net>
38884         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38885         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38886         (__start_context): Declare.
38887         (__makecontext_ret): Delete.
38888         (__makecontext): Hook up __start_context instead of
38889         __makecontext_ret.
38890         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38891         (sysdep_routines): Add __start_context when in stdlib.
38893 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38895         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38896         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38897         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38898         hardcoded "nm".
38899         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38900         (READELF): New variable.  Use it instead of hardcoded "readelf".
38902 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38904         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38905         * sysdeps/x86/Makefile: Here.
38906         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38907         * sysdeps/x86/tst-xmmymm.sh: This.
38909 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38911         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38912         expectations.
38913         [UNIX98] (pthread_barrier_t): Do not expect.
38914         [UNIX98] (pthread_barrierattr_t): Likewise.
38915         [UNIX98] (pthread_spinlock_t): Likewise.
38916         [UNIX98] (pthread_barrier_destroy): Likewise.
38917         [UNIX98] (pthread_barrier_init): Likewise.
38918         [UNIX98] (pthread_barrier_wait): Likewise.
38919         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38920         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38921         [UNIX98] (pthread_barrierattr_init): Likewise.
38922         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38923         [UNIX98] (pthread_getcpuclockid): Likewise.
38924         [UNIX98] (pthread_mutex_timedlock): Likewise.
38925         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38926         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38927         [UNIX98] (pthread_sigmask): Likewise.
38928         [UNIX98] (pthread_spin_destroy): Likewise.
38929         [UNIX98] (pthread_spin_init): Likewise.
38930         [UNIX98] (pthread_spin_lock): Likewise.
38931         [UNIX98] (pthread_spin_trylock): Likewise.
38932         [UNIX98] (pthread_spin_unlock): Likewise.
38933         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38934         Do not expect.
38935         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38936         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38937         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38938         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38939         [XPG3 || XPG4] (pthread_key_t): Likewise.
38940         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38941         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38942         [XPG3 || XPG4] (pthread_once_t): Likewise.
38943         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38944         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38945         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38946         [XPG3 || XPG4] (pthread_t): Likewise.
38948         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38949         not expect.
38950         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38952         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38953         Change function return type to int.
38955         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38956         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38957         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38958         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38959         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38960         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38961         [!POSIX] (posix_madvise): Likewise.
38962         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38963         && !UNIX98].
38964         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38965         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38966         (mode_t): Likewise.
38967         (posix_mem_offset): Likewise.
38968         (posix_typed_mem_get_info): Likewise.
38969         (posix_typed_mem_open): Likewise.
38971         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38972         Change condition to [XOPEN2K8].
38974         * conform/conformtest.pl: Preprocess allow-header data with -x c
38975         instead of from stdin.
38976         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38977         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38978         [C99-based standards] (cerfc): Likewise.
38979         [C99-based standards] (cexp2): Likewise.
38980         [C99-based standards] (cexpm1): Likewise.
38981         [C99-based standards] (clog10): Likewise.
38982         [C99-based standards] (clog1p): Likewise.
38983         [C99-based standards] (clog2): Likewise.
38984         [C99-based standards] (clgamma): Likewise.
38985         [C99-based standards] (ctgamma): Likewise.
38986         [C99-based standards] (cerff): Likewise.
38987         [C99-based standards] (cerfcf): Likewise.
38988         [C99-based standards] (cexp2f): Likewise.
38989         [C99-based standards] (cexpm1f): Likewise.
38990         [C99-based standards] (clog10f): Likewise.
38991         [C99-based standards] (clog1pf): Likewise.
38992         [C99-based standards] (clog2f): Likewise.
38993         [C99-based standards] (clgammaf): Likewise.
38994         [C99-based standards] (ctgammaf): Likewise.
38995         [C99-based standards] (cerfl): Likewise.
38996         [C99-based standards] (cerfcl): Likewise.
38997         [C99-based standards] (cexp2l): Likewise.
38998         [C99-based standards] (cexpm1l): Likewise.
38999         [C99-based standards] (clog10l): Likewise.
39000         [C99-based standards] (clog1pl): Likewise.
39001         [C99-based standards] (clog2l): Likewise.
39002         [C99-based standards] (clgammal): Likewise.
39003         [C99-based standards] (ctgammal): Likewise.
39004         * conform/data/inttypes.h-data [C99-based standards]: Include
39005         stdint.h-data.  Remove all expectations for stdint.h contents.
39006         [C99-based standards] (PRI*): Do not allow.
39007         [C99-based standards] (SCN*): Likewise.
39008         [C99-based standards] (*_t): Likewise.
39009         [C99-based-standards] (PRId8): Expect macro.
39010         [C99-based-standards] (PRIi8): Likewise.
39011         [C99-based-standards] (PRIo8): Likewise.
39012         [C99-based-standards] (PRIu8): Likewise.
39013         [C99-based-standards] (PRIx8): Likewise.
39014         [C99-based-standards] (PRIX8): Likewise.
39015         [C99-based-standards] (SCNd8): Likewise.
39016         [C99-based-standards] (SCNi8): Likewise.
39017         [C99-based-standards] (SCNo8): Likewise.
39018         [C99-based-standards] (SCNu8): Likewise.
39019         [C99-based-standards] (SCNx8): Likewise.
39020         [C99-based-standards] (PRIdLEAST8): Likewise.
39021         [C99-based-standards] (PRIiLEAST8): Likewise.
39022         [C99-based-standards] (PRIoLEAST8): Likewise.
39023         [C99-based-standards] (PRIuLEAST8): Likewise.
39024         [C99-based-standards] (PRIxLEAST8): Likewise.
39025         [C99-based-standards] (PRIXLEAST8): Likewise.
39026         [C99-based-standards] (SCNdLEAST8): Likewise.
39027         [C99-based-standards] (SCNiLEAST8): Likewise.
39028         [C99-based-standards] (SCNoLEAST8): Likewise.
39029         [C99-based-standards] (SCNuLEAST8): Likewise.
39030         [C99-based-standards] (SCNxLEAST8): Likewise.
39031         [C99-based-standards] (PRIdFAST8): Likewise.
39032         [C99-based-standards] (PRIiFAST8): Likewise.
39033         [C99-based-standards] (PRIoFAST8): Likewise.
39034         [C99-based-standards] (PRIuFAST8): Likewise.
39035         [C99-based-standards] (PRIxFAST8): Likewise.
39036         [C99-based-standards] (PRIXFAST8): Likewise.
39037         [C99-based-standards] (SCNdFAST8): Likewise.
39038         [C99-based-standards] (SCNiFAST8): Likewise.
39039         [C99-based-standards] (SCNoFAST8): Likewise.
39040         [C99-based-standards] (SCNuFAST8): Likewise.
39041         [C99-based-standards] (SCNxFAST8): Likewise.
39042         [C99-based-standards] (PRId16): Likewise.
39043         [C99-based-standards] (PRIi16): Likewise.
39044         [C99-based-standards] (PRIo16): Likewise.
39045         [C99-based-standards] (PRIu16): Likewise.
39046         [C99-based-standards] (PRIx16): Likewise.
39047         [C99-based-standards] (PRIX16): Likewise.
39048         [C99-based-standards] (SCNd16): Likewise.
39049         [C99-based-standards] (SCNi16): Likewise.
39050         [C99-based-standards] (SCNo16): Likewise.
39051         [C99-based-standards] (SCNu16): Likewise.
39052         [C99-based-standards] (SCNx16): Likewise.
39053         [C99-based-standards] (PRIdLEAST16): Likewise.
39054         [C99-based-standards] (PRIiLEAST16): Likewise.
39055         [C99-based-standards] (PRIoLEAST16): Likewise.
39056         [C99-based-standards] (PRIuLEAST16): Likewise.
39057         [C99-based-standards] (PRIxLEAST16): Likewise.
39058         [C99-based-standards] (PRIXLEAST16): Likewise.
39059         [C99-based-standards] (SCNdLEAST16): Likewise.
39060         [C99-based-standards] (SCNiLEAST16): Likewise.
39061         [C99-based-standards] (SCNoLEAST16): Likewise.
39062         [C99-based-standards] (SCNuLEAST16): Likewise.
39063         [C99-based-standards] (SCNxLEAST16): Likewise.
39064         [C99-based-standards] (PRIdFAST16): Likewise.
39065         [C99-based-standards] (PRIiFAST16): Likewise.
39066         [C99-based-standards] (PRIoFAST16): Likewise.
39067         [C99-based-standards] (PRIuFAST16): Likewise.
39068         [C99-based-standards] (PRIxFAST16): Likewise.
39069         [C99-based-standards] (PRIXFAST16): Likewise.
39070         [C99-based-standards] (SCNdFAST16): Likewise.
39071         [C99-based-standards] (SCNiFAST16): Likewise.
39072         [C99-based-standards] (SCNoFAST16): Likewise.
39073         [C99-based-standards] (SCNuFAST16): Likewise.
39074         [C99-based-standards] (SCNxFAST16): Likewise.
39075         [C99-based-standards] (PRId32): Likewise.
39076         [C99-based-standards] (PRIi32): Likewise.
39077         [C99-based-standards] (PRIo32): Likewise.
39078         [C99-based-standards] (PRIu32): Likewise.
39079         [C99-based-standards] (PRIx32): Likewise.
39080         [C99-based-standards] (PRIX32): Likewise.
39081         [C99-based-standards] (SCNd32): Likewise.
39082         [C99-based-standards] (SCNi32): Likewise.
39083         [C99-based-standards] (SCNo32): Likewise.
39084         [C99-based-standards] (SCNu32): Likewise.
39085         [C99-based-standards] (SCNx32): Likewise.
39086         [C99-based-standards] (PRIdLEAST32): Likewise.
39087         [C99-based-standards] (PRIiLEAST32): Likewise.
39088         [C99-based-standards] (PRIoLEAST32): Likewise.
39089         [C99-based-standards] (PRIuLEAST32): Likewise.
39090         [C99-based-standards] (PRIxLEAST32): Likewise.
39091         [C99-based-standards] (PRIXLEAST32): Likewise.
39092         [C99-based-standards] (SCNdLEAST32): Likewise.
39093         [C99-based-standards] (SCNiLEAST32): Likewise.
39094         [C99-based-standards] (SCNoLEAST32): Likewise.
39095         [C99-based-standards] (SCNuLEAST32): Likewise.
39096         [C99-based-standards] (SCNxLEAST32): Likewise.
39097         [C99-based-standards] (PRIdFAST32): Likewise.
39098         [C99-based-standards] (PRIiFAST32): Likewise.
39099         [C99-based-standards] (PRIoFAST32): Likewise.
39100         [C99-based-standards] (PRIuFAST32): Likewise.
39101         [C99-based-standards] (PRIxFAST32): Likewise.
39102         [C99-based-standards] (PRIXFAST32): Likewise.
39103         [C99-based-standards] (SCNdFAST32): Likewise.
39104         [C99-based-standards] (SCNiFAST32): Likewise.
39105         [C99-based-standards] (SCNoFAST32): Likewise.
39106         [C99-based-standards] (SCNuFAST32): Likewise.
39107         [C99-based-standards] (SCNxFAST32): Likewise.
39108         [C99-based-standards] (PRId64): Likewise.
39109         [C99-based-standards] (PRIi64): Likewise.
39110         [C99-based-standards] (PRIo64): Likewise.
39111         [C99-based-standards] (PRIu64): Likewise.
39112         [C99-based-standards] (PRIx64): Likewise.
39113         [C99-based-standards] (PRIX64): Likewise.
39114         [C99-based-standards] (SCNd64): Likewise.
39115         [C99-based-standards] (SCNi64): Likewise.
39116         [C99-based-standards] (SCNo64): Likewise.
39117         [C99-based-standards] (SCNu64): Likewise.
39118         [C99-based-standards] (SCNx64): Likewise.
39119         [C99-based-standards] (PRIdLEAST64): Likewise.
39120         [C99-based-standards] (PRIiLEAST64): Likewise.
39121         [C99-based-standards] (PRIoLEAST64): Likewise.
39122         [C99-based-standards] (PRIuLEAST64): Likewise.
39123         [C99-based-standards] (PRIxLEAST64): Likewise.
39124         [C99-based-standards] (PRIXLEAST64): Likewise.
39125         [C99-based-standards] (SCNdLEAST64): Likewise.
39126         [C99-based-standards] (SCNiLEAST64): Likewise.
39127         [C99-based-standards] (SCNoLEAST64): Likewise.
39128         [C99-based-standards] (SCNuLEAST64): Likewise.
39129         [C99-based-standards] (SCNxLEAST64): Likewise.
39130         [C99-based-standards] (PRIdFAST64): Likewise.
39131         [C99-based-standards] (PRIiFAST64): Likewise.
39132         [C99-based-standards] (PRIoFAST64): Likewise.
39133         [C99-based-standards] (PRIuFAST64): Likewise.
39134         [C99-based-standards] (PRIxFAST64): Likewise.
39135         [C99-based-standards] (PRIXFAST64): Likewise.
39136         [C99-based-standards] (SCNdFAST64): Likewise.
39137         [C99-based-standards] (SCNiFAST64): Likewise.
39138         [C99-based-standards] (SCNoFAST64): Likewise.
39139         [C99-based-standards] (SCNuFAST64): Likewise.
39140         [C99-based-standards] (SCNxFAST64): Likewise.
39141         [C99-based-standards] (PRIdMAX): Likewise.
39142         [C99-based-standards] (PRIiMAX): Likewise.
39143         [C99-based-standards] (PRIoMAX): Likewise.
39144         [C99-based-standards] (PRIuMAX): Likewise.
39145         [C99-based-standards] (PRIxMAX): Likewise.
39146         [C99-based-standards] (PRIXMAX): Likewise.
39147         [C99-based-standards] (SCNdMAX): Likewise.
39148         [C99-based-standards] (SCNiMAX): Likewise.
39149         [C99-based-standards] (SCNoMAX): Likewise.
39150         [C99-based-standards] (SCNuMAX): Likewise.
39151         [C99-based-standards] (SCNxMAX): Likewise.
39152         [C99-based-standards] (PRIdPTR): Likewise.
39153         [C99-based-standards] (PRIiPTR): Likewise.
39154         [C99-based-standards] (PRIoPTR): Likewise.
39155         [C99-based-standards] (PRIuPTR): Likewise.
39156         [C99-based-standards] (PRIxPTR): Likewise.
39157         [C99-based-standards] (PRIXPTR): Likewise.
39158         [C99-based-standards] (SCNdPTR): Likewise.
39159         [C99-based-standards] (SCNiPTR): Likewise.
39160         [C99-based-standards] (SCNoPTR): Likewise.
39161         [C99-based-standards] (SCNuPTR): Likewise.
39162         [C99-based-standards] (SCNxPTR): Likewise.
39163         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39164         allow.
39165         * conform/data/stdint.h-data: Update comments to clarify
39166         requirements.
39167         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39168         type.
39169         [C99-based standards] (INT8_MAX): Likewise.
39170         [C99-based standards] (INT16_MIN): Likewise.
39171         [C99-based standards] (INT16_MAX): Likewise.
39172         [C99-based standards] (INT32_MIN): Likewise.
39173         [C99-based standards] (INT32_MAX): Likewise.
39174         [C99-based standards] (INT64_MIN): Likewise.
39175         [C99-based standards] (INT64_MAX): Likewise.
39176         [C99-based standards] (UINT8_MAX): Likewise.
39177         [C99-based standards] (UINT16_MAX): Likewise.
39178         [C99-based standards] (UINT32_MAX): Likewise.
39179         [C99-based standards] (UINT64_MAX): Likewise.
39180         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39181         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39182         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39183         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39184         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39185         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39186         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39187         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39188         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39189         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39190         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39191         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39192         [C99-based standards] (INT_FAST8_MIN): Likewise.
39193         [C99-based standards] (INT_FAST8_MAX): Likewise.
39194         [C99-based standards] (INT_FAST16_MIN): Likewise.
39195         [C99-based standards] (INT_FAST16_MAX): Likewise.
39196         [C99-based standards] (INT_FAST32_MIN): Likewise.
39197         [C99-based standards] (INT_FAST32_MAX): Likewise.
39198         [C99-based standards] (INT_FAST64_MIN): Likewise.
39199         [C99-based standards] (INT_FAST64_MAX): Likewise.
39200         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39201         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39202         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39203         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39204         [C99-based standards] (INTPTR_MIN): Likewise.
39205         [C99-based standards] (INTPTR_MAX): Likewise.
39206         [C99-based standards] (UINTPTR_MAX): Likewise.
39207         [C99-based standards] (INTMAX_MIN): Likewise.
39208         [C99-based standards] (INTMAX_MAX): Likewise.
39209         [C99-based standards] (UINTMAX_MAX): Likewise.
39210         [C99-based standards] (PTRDIFF_MIN): Likewise.
39211         [C99-based standards] (PTRDIFF_MAX): Likewise.
39212         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39213         [C99-based standards] (SIZE_MAX): Likewise.
39214         [C99-based standards] (WCHAR_MAX): Likewise.
39215         [C99-based standards] (WINT_MAX): Likewise.
39216         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39217         constraint on value.
39218         [C99-based standards] (WCHAR_MIN): Likewise.
39219         [C99-based standards] (WINT_MIN): Likewise.
39220         [C99-based standards] (*_t): Allow.
39221         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39222         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39223         Include math.h-data and complex.h-data.  Remove all expectations
39224         of math.h and complex.h contents.
39225         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39226         at end of line.
39227         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39228         (struct tm): Expect tag.
39229         [C99-based-standards] (wcstof): Expect function.
39230         [C99-based-standards] (wcstold): Likewise.
39231         [C99-based-standards] (wcstoll): Likewise.
39232         [C99-based-standards] (wcstoull): Likewise.
39233         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39234         macro-int-constant.  Specify type.
39235         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39236         constraint on value.
39237         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39238         Specify type.
39239         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39240         Specify value.
39241         [ISO C standards]: Do not allow headers.
39242         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39243         wcs[abcdefghijklmnopqrstuvwxyz]*.
39244         [ISO C standards] (*_t): Do not allow.
39245         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39246         Expect function.
39247         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39248         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39249         Specify type.
39250         [ISO C standards]: Do not allow headers.
39251         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39252         is[abcdefghijklmnopqrstuvwxyz]*.
39253         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39254         to[abcdefghijklmnopqrstuvwxyz]*.
39255         [ISO C standards] (*_t): Do not allow.
39256         * conform/data/stdalign.h-data: New file.
39257         * conform/data/stdbool.h-data: Likewise.
39258         * conform/data/stdnoreturn.h-data: Likewise.
39260 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39262         [BZ #14815]
39263         * manual/filesys.texi (Directory Entries): Typo fix.
39264         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39266 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39268         * elf/elf.h (EM_AARCH64): New macro.
39269         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39270         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39271         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39272         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39273         (R_AARCH64_TLSDESC): Likewise.
39274         (NT_ARM_TLS): Likewise.
39275         (NT_ARM_HW_BREAK): Likewise.
39276         (NT_ARM_HW_WATCH): Likewise.
39278 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39280         [BZ #14811]
39281         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39282         (__ieee754_powl): Saturate nonzero exponents with absolute value
39283         below 0x1p-79 to +/- 0x1p-79.
39284         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39285         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39286         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39287         nonzero exponents with absolute value below 0x1p-32 to +/-
39288         0x1p-32.
39289         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39290         (__ieee754_powl): Saturate nonzero exponents with absolute value
39291         below 0x1p-79 to +/- 0x1p-79.
39292         * math/libm-test.inc (pow_test): Add more tests.
39294 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39296         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39297         _dl_s390_cap_flags with kernel. Increase string length.
39298         (_dl_s390_platforms): Add z196 and zEC12.
39300 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39302         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39303         Change XOPEN21K to XOPEN2K.
39305 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39307         * string/memmove.c: Use memcpy when possible.
39309 2012-11-06  Andreas Jaeger  <aj@suse.de>
39311         * po/eo.po: Update from translation team.
39313 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39315         [BZ #14793]
39316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39317         exponent and small x and y exponents, scale x or y up.  Increase
39318         by 2 the exponent used in scaling up.
39319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39321         * math/libm-test.inc (fma_test): Add more tests.
39322         (fma_test_towardzero): Likewise.
39323         (fma_test_downward): Likewise.
39324         (fma_test_upward): Likewise.
39326 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39328         [BZ #14805]
39329         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39330         fenv_t *.
39332         [BZ #14801]
39333         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39334         namespace for names of struct fields.
39335         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39336         fenv_t fields.
39337         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39338         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39340 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39342         [BZ #3665]
39343         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39345 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39347         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39348         PTR_DEMANGLE.
39350         [BZ #5246]
39351         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39352         PTR_DEMANGLE.
39354 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39356         [BZ #14797]
39357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39358         definitely overflow as x * y not x * y + z.
39359         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39360         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39361         * math/libm-test.inc (fma_test): Add more tests.
39362         (fma_test_towardzero): Likewise.
39363         (fma_test_downward): Likewise.
39364         (fma_test_upward): Likewise.
39366 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39368         [BZ #157]
39370         * include/stub-tag.h: Remove file.
39371         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39372         '#include' of it.
39373         * manual/maint.texi (Porting): Don't reference it.
39374         * Makerules ($(objpfx)stubs): Likewise.
39375         * dirent/closedir.c: Don't include <stub-tag.h>.
39376         * dirent/dirfd.c: Likewise.
39377         * dirent/fdopendir.c: Likewise.
39378         * dirent/getdents.c: Likewise.
39379         * dirent/getdents64.c: Likewise.
39380         * dirent/opendir.c: Likewise.
39381         * dirent/readdir.c: Likewise.
39382         * dirent/readdir64.c: Likewise.
39383         * dirent/readdir64_r.c: Likewise.
39384         * dirent/readdir_r.c: Likewise.
39385         * dirent/rewinddir.c: Likewise.
39386         * dirent/seekdir.c: Likewise.
39387         * dirent/telldir.c: Likewise.
39388         * gmon/profil.c: Likewise.
39389         * grp/setgroups.c: Likewise.
39390         * inet/if_index.c: Likewise.
39391         * io/access.c: Likewise.
39392         * io/chdir.c: Likewise.
39393         * io/chmod.c: Likewise.
39394         * io/chown.c: Likewise.
39395         * io/close.c: Likewise.
39396         * io/dup.c: Likewise.
39397         * io/dup2.c: Likewise.
39398         * io/dup3.c: Likewise.
39399         * io/euidaccess.c: Likewise.
39400         * io/faccessat.c: Likewise.
39401         * io/fchdir.c: Likewise.
39402         * io/fchmod.c: Likewise.
39403         * io/fchmodat.c: Likewise.
39404         * io/fchown.c: Likewise.
39405         * io/fchownat.c: Likewise.
39406         * io/fcntl.c: Likewise.
39407         * io/flock.c: Likewise.
39408         * io/fstatfs.c: Likewise.
39409         * io/fstatfs64.c: Likewise.
39410         * io/fstatvfs.c: Likewise.
39411         * io/fstatvfs64.c: Likewise.
39412         * io/futimens.c: Likewise.
39413         * io/fxstat.c: Likewise.
39414         * io/fxstat64.c: Likewise.
39415         * io/fxstatat.c: Likewise.
39416         * io/fxstatat64.c: Likewise.
39417         * io/getcwd.c: Likewise.
39418         * io/isatty.c: Likewise.
39419         * io/lchmod.c: Likewise.
39420         * io/lchown.c: Likewise.
39421         * io/link.c: Likewise.
39422         * io/linkat.c: Likewise.
39423         * io/lseek.c: Likewise.
39424         * io/lseek64.c: Likewise.
39425         * io/lxstat64.c: Likewise.
39426         * io/mkdir.c: Likewise.
39427         * io/mkdirat.c: Likewise.
39428         * io/mkfifo.c: Likewise.
39429         * io/mkfifoat.c: Likewise.
39430         * io/open.c: Likewise.
39431         * io/open64.c: Likewise.
39432         * io/openat.c: Likewise.
39433         * io/openat64.c: Likewise.
39434         * io/pipe.c: Likewise.
39435         * io/pipe2.c: Likewise.
39436         * io/poll.c: Likewise.
39437         * io/posix_fadvise.c: Likewise.
39438         * io/posix_fadvise64.c: Likewise.
39439         * io/posix_fallocate.c: Likewise.
39440         * io/posix_fallocate64.c: Likewise.
39441         * io/read.c: Likewise.
39442         * io/readlink.c: Likewise.
39443         * io/readlinkat.c: Likewise.
39444         * io/rmdir.c: Likewise.
39445         * io/sendfile.c: Likewise.
39446         * io/sendfile64.c: Likewise.
39447         * io/statfs.c: Likewise.
39448         * io/statfs64.c: Likewise.
39449         * io/statvfs.c: Likewise.
39450         * io/statvfs64.c: Likewise.
39451         * io/symlink.c: Likewise.
39452         * io/symlinkat.c: Likewise.
39453         * io/ttyname.c: Likewise.
39454         * io/ttyname_r.c: Likewise.
39455         * io/umask.c: Likewise.
39456         * io/unlink.c: Likewise.
39457         * io/unlinkat.c: Likewise.
39458         * io/utime.c: Likewise.
39459         * io/utimensat.c: Likewise.
39460         * io/write.c: Likewise.
39461         * io/xmknod.c: Likewise.
39462         * io/xmknodat.c: Likewise.
39463         * io/xstat.c: Likewise.
39464         * io/xstat64.c: Likewise.
39465         * login/getpt.c: Likewise.
39466         * login/grantpt.c: Likewise.
39467         * login/unlockpt.c: Likewise.
39468         * math/e_acoshl.c: Likewise.
39469         * math/e_acosl.c: Likewise.
39470         * math/e_asinl.c: Likewise.
39471         * math/e_atan2l.c: Likewise.
39472         * math/e_atanhl.c: Likewise.
39473         * math/e_coshl.c: Likewise.
39474         * math/e_expl.c: Likewise.
39475         * math/e_fmodl.c: Likewise.
39476         * math/e_gammal_r.c: Likewise.
39477         * math/e_hypotl.c: Likewise.
39478         * math/e_j0l.c: Likewise.
39479         * math/e_j1l.c: Likewise.
39480         * math/e_jnl.c: Likewise.
39481         * math/e_lgammal_r.c: Likewise.
39482         * math/e_log10l.c: Likewise.
39483         * math/e_log2l.c: Likewise.
39484         * math/e_logl.c: Likewise.
39485         * math/e_powl.c: Likewise.
39486         * math/e_rem_pio2l.c: Likewise.
39487         * math/e_sinhl.c: Likewise.
39488         * math/e_sqrtl.c: Likewise.
39489         * math/fclrexcpt.c: Likewise.
39490         * math/fedisblxcpt.c: Likewise.
39491         * math/feenablxcpt.c: Likewise.
39492         * math/fegetenv.c: Likewise.
39493         * math/fegetexcept.c: Likewise.
39494         * math/fegetround.c: Likewise.
39495         * math/feholdexcpt.c: Likewise.
39496         * math/fesetenv.c: Likewise.
39497         * math/fesetround.c: Likewise.
39498         * math/feupdateenv.c: Likewise.
39499         * math/fgetexcptflg.c: Likewise.
39500         * math/fraiseexcpt.c: Likewise.
39501         * math/fsetexcptflg.c: Likewise.
39502         * math/ftestexcept.c: Likewise.
39503         * math/k_cosl.c: Likewise.
39504         * math/k_rem_pio2l.c: Likewise.
39505         * math/k_sinl.c: Likewise.
39506         * math/k_tanl.c: Likewise.
39507         * math/s_asinhl.c: Likewise.
39508         * math/s_atanl.c: Likewise.
39509         * math/s_cbrtl.c: Likewise.
39510         * math/s_erfl.c: Likewise.
39511         * math/s_expm1l.c: Likewise.
39512         * math/s_log1pl.c: Likewise.
39513         * math/s_tanhl.c: Likewise.
39514         * misc/acct.c: Likewise.
39515         * misc/brk.c: Likewise.
39516         * misc/chflags.c: Likewise.
39517         * misc/chroot.c: Likewise.
39518         * misc/fchflags.c: Likewise.
39519         * misc/fgetxattr.c: Likewise.
39520         * misc/flistxattr.c: Likewise.
39521         * misc/fremovexattr.c: Likewise.
39522         * misc/fsetxattr.c: Likewise.
39523         * misc/fsync.c: Likewise.
39524         * misc/ftruncate.c: Likewise.
39525         * misc/futimes.c: Likewise.
39526         * misc/futimesat.c: Likewise.
39527         * misc/getdomain.c: Likewise.
39528         * misc/getdtsz.c: Likewise.
39529         * misc/gethostid.c: Likewise.
39530         * misc/gethostname.c: Likewise.
39531         * misc/getloadavg.c: Likewise.
39532         * misc/getpagesize.c: Likewise.
39533         * misc/getsysstats.c: Likewise.
39534         * misc/getxattr.c: Likewise.
39535         * misc/gtty.c: Likewise.
39536         * misc/ioctl.c: Likewise.
39537         * misc/lgetxattr.c: Likewise.
39538         * misc/listxattr.c: Likewise.
39539         * misc/llistxattr.c: Likewise.
39540         * misc/lremovexattr.c: Likewise.
39541         * misc/lsetxattr.c: Likewise.
39542         * misc/lutimes.c: Likewise.
39543         * misc/madvise.c: Likewise.
39544         * misc/mincore.c: Likewise.
39545         * misc/mlock.c: Likewise.
39546         * misc/mlockall.c: Likewise.
39547         * misc/mmap.c: Likewise.
39548         * misc/mprotect.c: Likewise.
39549         * misc/msync.c: Likewise.
39550         * misc/munlock.c: Likewise.
39551         * misc/munlockall.c: Likewise.
39552         * misc/munmap.c: Likewise.
39553         * misc/preadv.c: Likewise.
39554         * misc/preadv64.c: Likewise.
39555         * misc/ptrace.c: Likewise.
39556         * misc/pwritev.c: Likewise.
39557         * misc/pwritev64.c: Likewise.
39558         * misc/readv.c: Likewise.
39559         * misc/reboot.c: Likewise.
39560         * misc/remap_file_pages.c: Likewise.
39561         * misc/removexattr.c: Likewise.
39562         * misc/revoke.c: Likewise.
39563         * misc/select.c: Likewise.
39564         * misc/setdomain.c: Likewise.
39565         * misc/setegid.c: Likewise.
39566         * misc/seteuid.c: Likewise.
39567         * misc/sethostid.c: Likewise.
39568         * misc/sethostname.c: Likewise.
39569         * misc/setregid.c: Likewise.
39570         * misc/setreuid.c: Likewise.
39571         * misc/setxattr.c: Likewise.
39572         * misc/sstk.c: Likewise.
39573         * misc/stty.c: Likewise.
39574         * misc/swapoff.c: Likewise.
39575         * misc/swapon.c: Likewise.
39576         * misc/sync.c: Likewise.
39577         * misc/syncfs.c: Likewise.
39578         * misc/syscall.c: Likewise.
39579         * misc/truncate.c: Likewise.
39580         * misc/ualarm.c: Likewise.
39581         * misc/usleep.c: Likewise.
39582         * misc/ustat.c: Likewise.
39583         * misc/utimes.c: Likewise.
39584         * misc/vhangup.c: Likewise.
39585         * misc/writev.c: Likewise.
39586         * posix/_exit.c: Likewise.
39587         * posix/alarm.c: Likewise.
39588         * posix/execve.c: Likewise.
39589         * posix/fexecve.c: Likewise.
39590         * posix/fork.c: Likewise.
39591         * posix/fpathconf.c: Likewise.
39592         * posix/getaddrinfo.c: Likewise.
39593         * posix/getegid.c: Likewise.
39594         * posix/geteuid.c: Likewise.
39595         * posix/getgid.c: Likewise.
39596         * posix/getgroups.c: Likewise.
39597         * posix/getlogin.c: Likewise.
39598         * posix/getlogin_r.c: Likewise.
39599         * posix/getpgid.c: Likewise.
39600         * posix/getpid.c: Likewise.
39601         * posix/getppid.c: Likewise.
39602         * posix/getresgid.c: Likewise.
39603         * posix/getresuid.c: Likewise.
39604         * posix/getsid.c: Likewise.
39605         * posix/getuid.c: Likewise.
39606         * posix/glob64.c: Likewise.
39607         * posix/nanosleep.c: Likewise.
39608         * posix/pathconf.c: Likewise.
39609         * posix/pause.c: Likewise.
39610         * posix/posix_madvise.c: Likewise.
39611         * posix/pread.c: Likewise.
39612         * posix/pread64.c: Likewise.
39613         * posix/pwrite.c: Likewise.
39614         * posix/pwrite64.c: Likewise.
39615         * posix/sched_getaffinity.c: Likewise.
39616         * posix/sched_getp.c: Likewise.
39617         * posix/sched_gets.c: Likewise.
39618         * posix/sched_primax.c: Likewise.
39619         * posix/sched_primin.c: Likewise.
39620         * posix/sched_rr_gi.c: Likewise.
39621         * posix/sched_setaffinity.c: Likewise.
39622         * posix/sched_setp.c: Likewise.
39623         * posix/sched_sets.c: Likewise.
39624         * posix/sched_yield.c: Likewise.
39625         * posix/setgid.c: Likewise.
39626         * posix/setlogin.c: Likewise.
39627         * posix/setpgid.c: Likewise.
39628         * posix/setresgid.c: Likewise.
39629         * posix/setresuid.c: Likewise.
39630         * posix/setsid.c: Likewise.
39631         * posix/setuid.c: Likewise.
39632         * posix/sleep.c: Likewise.
39633         * posix/spawni.c: Likewise.
39634         * posix/sysconf.c: Likewise.
39635         * posix/times.c: Likewise.
39636         * posix/wait.c: Likewise.
39637         * posix/wait3.c: Likewise.
39638         * posix/wait4.c: Likewise.
39639         * posix/waitpid.c: Likewise.
39640         * resolv/gai_sigqueue.c: Likewise.
39641         * resource/getpriority.c: Likewise.
39642         * resource/getrlimit.c: Likewise.
39643         * resource/getrusage.c: Likewise.
39644         * resource/nice.c: Likewise.
39645         * resource/setpriority.c: Likewise.
39646         * resource/setrlimit.c: Likewise.
39647         * resource/ulimit.c: Likewise.
39648         * rt/aio_cancel.c: Likewise.
39649         * rt/aio_fsync.c: Likewise.
39650         * rt/aio_read.c: Likewise.
39651         * rt/aio_sigqueue.c: Likewise.
39652         * rt/aio_suspend.c: Likewise.
39653         * rt/aio_write.c: Likewise.
39654         * rt/clock_getres.c: Likewise.
39655         * rt/clock_gettime.c: Likewise.
39656         * rt/clock_nanosleep.c: Likewise.
39657         * rt/clock_settime.c: Likewise.
39658         * rt/lio_listio.c: Likewise.
39659         * rt/mq_close.c: Likewise.
39660         * rt/mq_getattr.c: Likewise.
39661         * rt/mq_notify.c: Likewise.
39662         * rt/mq_open.c: Likewise.
39663         * rt/mq_receive.c: Likewise.
39664         * rt/mq_send.c: Likewise.
39665         * rt/mq_setattr.c: Likewise.
39666         * rt/mq_timedreceive.c: Likewise.
39667         * rt/mq_timedsend.c: Likewise.
39668         * rt/mq_unlink.c: Likewise.
39669         * rt/shm_open.c: Likewise.
39670         * rt/shm_unlink.c: Likewise.
39671         * rt/timer_create.c: Likewise.
39672         * rt/timer_delete.c: Likewise.
39673         * rt/timer_getoverr.c: Likewise.
39674         * rt/timer_gettime.c: Likewise.
39675         * rt/timer_settime.c: Likewise.
39676         * setjmp/__longjmp.c: Likewise.
39677         * setjmp/setjmp.c: Likewise.
39678         * signal/kill.c: Likewise.
39679         * signal/killpg.c: Likewise.
39680         * signal/raise.c: Likewise.
39681         * signal/sigaction.c: Likewise.
39682         * signal/sigaltstack.c: Likewise.
39683         * signal/sigblock.c: Likewise.
39684         * signal/sigignore.c: Likewise.
39685         * signal/sigintr.c: Likewise.
39686         * signal/signal.c: Likewise.
39687         * signal/sigpause.c: Likewise.
39688         * signal/sigpending.c: Likewise.
39689         * signal/sigqueue.c: Likewise.
39690         * signal/sigreturn.c: Likewise.
39691         * signal/sigset.c: Likewise.
39692         * signal/sigsetmask.c: Likewise.
39693         * signal/sigstack.c: Likewise.
39694         * signal/sigsuspend.c: Likewise.
39695         * signal/sigtimedwait.c: Likewise.
39696         * signal/sigvec.c: Likewise.
39697         * signal/sigwait.c: Likewise.
39698         * signal/sigwaitinfo.c: Likewise.
39699         * signal/sysv_signal.c: Likewise.
39700         * socket/accept.c: Likewise.
39701         * socket/accept4.c: Likewise.
39702         * socket/bind.c: Likewise.
39703         * socket/connect.c: Likewise.
39704         * socket/getpeername.c: Likewise.
39705         * socket/getsockname.c: Likewise.
39706         * socket/getsockopt.c: Likewise.
39707         * socket/isfdtype.c: Likewise.
39708         * socket/listen.c: Likewise.
39709         * socket/recv.c: Likewise.
39710         * socket/recvfrom.c: Likewise.
39711         * socket/recvmsg.c: Likewise.
39712         * socket/send.c: Likewise.
39713         * socket/sendmsg.c: Likewise.
39714         * socket/sendto.c: Likewise.
39715         * socket/setsockopt.c: Likewise.
39716         * socket/shutdown.c: Likewise.
39717         * socket/sockatmark.c: Likewise.
39718         * socket/socket.c: Likewise.
39719         * socket/socketpair.c: Likewise.
39720         * stdio-common/ctermid.c: Likewise.
39721         * stdio-common/cuserid.c: Likewise.
39722         * stdio-common/remove.c: Likewise.
39723         * stdio-common/rename.c: Likewise.
39724         * stdio-common/renameat.c: Likewise.
39725         * stdio-common/tempname.c: Likewise.
39726         * stdlib/getcontext.c: Likewise.
39727         * stdlib/makecontext.c: Likewise.
39728         * stdlib/setcontext.c: Likewise.
39729         * stdlib/swapcontext.c: Likewise.
39730         * stdlib/system.c: Likewise.
39731         * streams/fattach.c: Likewise.
39732         * streams/fdetach.c: Likewise.
39733         * streams/getmsg.c: Likewise.
39734         * streams/getpmsg.c: Likewise.
39735         * streams/putmsg.c: Likewise.
39736         * streams/putpmsg.c: Likewise.
39737         * sysdeps/unix/bsd/getpt.c: Likewise.
39738         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39739         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39740         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39742         Likewise.
39743         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39744         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39745         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39746         * sysvipc/msgctl.c: Likewise.
39747         * sysvipc/msgget.c: Likewise.
39748         * sysvipc/msgrcv.c: Likewise.
39749         * sysvipc/msgsnd.c: Likewise.
39750         * sysvipc/semctl.c: Likewise.
39751         * sysvipc/semget.c: Likewise.
39752         * sysvipc/semop.c: Likewise.
39753         * sysvipc/semtimedop.c: Likewise.
39754         * sysvipc/shmat.c: Likewise.
39755         * sysvipc/shmctl.c: Likewise.
39756         * sysvipc/shmdt.c: Likewise.
39757         * sysvipc/shmget.c: Likewise.
39758         * termios/tcdrain.c: Likewise.
39759         * termios/tcflow.c: Likewise.
39760         * termios/tcflush.c: Likewise.
39761         * termios/tcgetattr.c: Likewise.
39762         * termios/tcgetpgrp.c: Likewise.
39763         * termios/tcsendbrk.c: Likewise.
39764         * termios/tcsetattr.c: Likewise.
39765         * termios/tcsetpgrp.c: Likewise.
39766         * time/adjtime.c: Likewise.
39767         * time/clock.c: Likewise.
39768         * time/getitimer.c: Likewise.
39769         * time/gettimeofday.c: Likewise.
39770         * time/setitimer.c: Likewise.
39771         * time/settimeofday.c: Likewise.
39772         * time/stime.c: Likewise.
39773         * time/time.c: Likewise.
39775 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39777         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39778         /usr/old/bin.
39780         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39781         instead of spaces.
39782         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39784 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39786         [BZ #14796]
39787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39788         FE_TONEAREST before applying Dekker multiplication and Knuth
39789         addition.  Clear inexact exceptions and check for exact zero
39790         results afterwards.
39791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39794         * math/libm-test.inc (fma_test): Add more tests.
39795         (fma_test_towardzero): Likewise.
39796         (fma_test_downward): Likewise.
39797         (fma_test_upward): Likewise.
39798         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39799         function.
39800         (libc_fesetround): New macro.
39801         (libc_fesetroundf): Likewise.
39802         (libc_fesetroundl): Likewise.
39803         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39804         function.
39805         (libc_fesetround_387): Likewise.
39806         (libc_fesetroundf): New macro.
39807         (libc_fesetround): Likewise.
39808         (libc_fesetroundl): Likewise.
39809         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39810         function.
39811         (libc_fesetroundf): New macro.
39812         (libc_fesetround): Likewise.
39813         (libc_fesetroundl): Likewise.
39814         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39815         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39816         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39817         libm_hidden_ver.
39818         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39819         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39820         libm_hidden_def.
39821         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39822         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39823         libm_hidden_ver.
39824         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39825         libm_hidden_def.
39827         [BZ #3439]
39828         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39829         integer constant usable in #if and use that to give value to enum
39830         constant.
39831         (FE_DIVBYZERO): Likewise.
39832         (FE_UNDERFLOW): Likewise.
39833         (FE_OVERFLOW): Likewise.
39834         (FE_INVALID): Likewise.
39835         (FE_INVALID_SNAN): Likewise.
39836         (FE_INVALID_ISI): Likewise.
39837         (FE_INVALID_IDI): Likewise.
39838         (FE_INVALID_ZDZ): Likewise.
39839         (FE_INVALID_IMZ): Likewise.
39840         (FE_INVALID_COMPARE): Likewise.
39841         (FE_INVALID_SOFTWARE): Likewise.
39842         (FE_INVALID_SQRT): Likewise.
39843         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39844         (FE_TONEAREST): Likewise.
39845         (FE_TOWARDZERO): Likewise.
39846         (FE_UPWARD): Likewise.
39847         (FE_DOWNWARD): Likewise.
39848         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39849         (FE_DIVBYZERO): Likewise.
39850         (FE_OVERFLOW): Likewise.
39851         (FE_UNDERFLOW): Likewise.
39852         (FE_INEXACT): Likewise.
39853         (FE_TONEAREST): Likewise.
39854         (FE_DOWNWARD): Likewise.
39855         (FE_UPWARD): Likewise.
39856         (FE_TOWARDZERO): Likewise.
39857         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39858         (FE_UNDERFLOW): Likewise.
39859         (FE_OVERFLOW): Likewise.
39860         (FE_DIVBYZERO): Likewise.
39861         (FE_INVALID): Likewise.
39862         (FE_TONEAREST): Likewise.
39863         (FE_TOWARDZERO): Likewise.
39864         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39865         (FE_OVERFLOW): Likewise.
39866         (FE_UNDERFLOW): Likewise.
39867         (FE_DIVBYZERO): Likewise.
39868         (FE_INEXACT): Likewise.
39869         (FE_TONEAREST): Likewise.
39870         (FE_TOWARDZERO): Likewise.
39871         (FE_UPWARD): Likewise.
39872         (FE_DOWNWARD): Likewise.
39873         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39874         (FE_DIVBYZERO): Likewise.
39875         (FE_OVERFLOW): Likewise.
39876         (FE_UNDERFLOW): Likewise.
39877         (FE_INEXACT): Likewise.
39878         (FE_TONEAREST): Likewise.
39879         (FE_DOWNWARD): Likewise.
39880         (FE_UPWARD): Likewise.
39881         (FE_TOWARDZERO): Likewise.
39883 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39885         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39887 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39889         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39890         commands.  Quote $PWD.
39891         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39892         -x" by "export".
39893         (remove_newlines): Remove.
39895 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39897         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39898         * stdlib/stdlib.h (atof): Moved to ...
39899         * include/bits/stdlib-float.h: Here.  New file.
39900         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39901         * stdlib/bits/stdlib-float.h: New file.
39902         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39903         -mno-sse -mno-mmx.
39904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39905         <xmmintrin.h>.
39907 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39909         * conform/conformtest.pl (@headers): Add fenv.h.
39910         * conform/data/fenv.h-data: New file.
39911         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39912         include of <math/fenv.h>.
39914         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39915         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39916         && !UNIX98].  Enables tests for XOPEN2K8.
39917         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39918         POSIX2008]: Likewise.
39920         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39921         (struct rusage): Do not expect type or its members.
39923         [BZ #3439]
39924         * math/math.h (FP_NAN): Define macro to integer constant usable in
39925         #if and use that to give value to enum constant.
39926         (FP_INFINITE): Likewise.
39927         (FP_ZERO): Likewise.
39928         (FP_SUBNORMAL): Likewise.
39929         (FP_NORMAL): Likewise.
39931 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39933         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39934         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39935         arguments.
39937 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39939         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39940         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39941         autoconf-time if not.
39942         * configure.in: Remove AC_PREREQ.
39944 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39946         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39947         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39948         of the internal implementation.
39950 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39952         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39953         except include of <misc/sys/syslog.h>.
39955 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39958         function returns with a NULL context exit with zero.
39960 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39962         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39964 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39966         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39967         (run_program_cmd): This.
39968         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39969         (tst_langinfo): New variable.  Use it.
39971 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39973         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39974         floating point opcodes.
39976 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39978         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39979         variable.
39981         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39983         * sysdeps/mach/hurd/powerpc: Remove directory.
39984         * sysdeps/mach/powerpc: Likewise.
39986 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39988         * scripts/check-local-headers.sh: Ignore c++ headers.
39990 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39992         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39993         __libc_cleanup_region_start argument.
39995 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39997         [BZ #14784]
39998         [BZ #14785]
39999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40000         x * y using scaling, not as x * y + z.
40001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40003         * math/libm-test.inc (fma_test): Add more tests.
40004         (fma_test_towardzero): Likewise.
40005         (fma_test_downward): Likewise.
40006         (fma_test_upward): Likewise.
40008 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40010         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40012 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40014         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40015         New variable.
40017 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40019         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40021 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40024         Fix sort order.
40025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40026         Likewise.
40028 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40031         Fix the order of the list for glibc 2.17.
40032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40033         Likewise.
40035 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40039 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40041         [BZ #14610]
40042         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40043         for low part of x being zero before using __atanl (y).
40044         * math/libm-test.inc (atan2_test): Add another test.
40046         * manual/install.texi (Configuring and compiling): Document
40047         general use of test-wrapper and test-wrapper-env.
40048         * INSTALL: Regenerated.
40050         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40051         (__fma): Do not extract and scale down low bits on after-rounding
40052         systems when result rounded to normal precision would have normal
40053         exponent.
40054         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40055         (__fmal): Do not extract and scale down low bits on after-rounding
40056         systems when result rounded to normal precision would have normal
40057         exponent.
40058         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40059         (__fmal): Do not extract and scale down low bits on after-rounding
40060         systems when result rounded to normal precision would have normal
40061         exponent.
40062         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40063         macro.
40064         (fma_test): Add more tests.
40065         (fma_test_towardzero): Likewise.
40066         (fma_test_downward): Likewise.
40067         (fma_test_upward): Likewise.
40069 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40071         * sysdeps/i386/tininess.h: Renamed to ...
40072         * sysdeps/x86/tininess.h: This.
40073         * sysdeps/x86_64/tininess.h: Removed.
40075 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40077         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40078         input.  Use $(build-program-cmd).
40079         ($(objpfx)tst-array1-static.out): Likewise.
40080         ($(objpfx)tst-array2.out): Likewise.
40081         ($(objpfx)tst-array3.out): Likewise.
40082         ($(objpfx)tst-array4.out): Likewise.
40083         ($(objpfx)tst-array5.out): Likewise.
40084         ($(objpfx)tst-array5-static.out): Likewise.
40086 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40088         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40089         if defined.
40091         * nss/nsswitch.h (nss_interface_function): Provide new
40092         macro for use with NSS functions.
40093         * grp/initgroups.c: Use new macro.
40094         * nss/getXXbyYY.c: Likewise.
40095         * nss/getXXbyYY_r.c: Likewise.
40096         * nss/getXXent.c: Likewise.
40097         * nss/getXXent_r.c: Likewise.
40098         * sysdeps/posix/getaddrinfo.c: Likewise.
40100 2012-10-30  Andreas Jaeger  <aj@suse.de>
40102         * po/ru.po: Update Russion translation from translation project.
40104 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40106         [BZ #14152]
40107         [BZ #14783]
40108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40109         result and shift together with sticky bit instead of replicating
40110         round-to-nearest rounding.
40111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40113         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40114         missing underflow exceptions.
40115         (fma_test_towardzero): Add more tests.
40116         (fma_test_downward): Likewise.
40117         (fma_test_upward): Likewise.
40119         [BZ #14047]
40120         * sysdeps/generic/tininess.h: New file.
40121         * sysdeps/i386/tininess.h: Likewise.
40122         * sysdeps/sh/tininess.h: Likewise.
40123         * sysdeps/x86_64/tininess.h: Likewise.
40124         * stdlib/tst-strtod-underflow.c: Likewise.
40125         * stdlib/tst-tininess.c: Likewise.
40126         * stdlib/strtod_l.c: Include <tininess.h>.
40127         (round_and_return): Do not set errno for exact underflow cases.
40128         Force an underflow exception when setting errno for underflow.
40129         Determine underflow based on rounding to normal precision if
40130         TININESS_AFTER_ROUNDING.
40131         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40132         ERANGE for exact underflow cases.
40133         * stdlib/Makefile (tests): Add tst-tininess and
40134         tst-strtod-underflow.
40135         ($(objpfx)tst-tininess): Use $(link-libm).
40136         ($(objpfx)tst-strtod-underflow): Likewise.
40138 2012-10-30  Andreas Jaeger  <aj@suse.de>
40140         [BZ#14767]
40141         * elf/Makefile (tests): Remove conditional for have-initfini-array
40142         since this is now always required and the variable does not exist
40143         anymore.
40144         (tests-static): Likewise.
40145         (modules-names): Likewise.
40147         * po/eo.po: Add Esperanto translation from translation project.
40149         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40150         merged with constructor/destructor.
40151         (init_array): Likewise.
40152         * elf/tst-array2dep.c (fini_array): Likewise.
40153         (init_array): Likewise.
40155 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40157         * manual/message.texi: Delete @cartouche tags.
40159 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40161         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40162         EOPNOTSUPP.
40163         * sysdeps/mach/hurd/fsync.c: Likewise.
40165         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40166         [_POSIX_REALTIME_SIGNALS]: Change condition to
40167         [_POSIX_REALTIME_SIGNALS > 0].
40169 2012-10-27  Andreas Jaeger  <aj@suse.de>
40171         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40172         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40174         [__WORDSIZE != 64]: Likewise.
40176 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40178         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40179         *  iconvdata/tst-tables.sh: Likewise.
40181 2012-10-25  David S. Miller  <davem@davemloft.net>
40183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40184         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40185         of strtoull.
40187         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40188         ifunc-impl-list.c
40189         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40190         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40191         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40192         file.
40194 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40196         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40197         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40198         __getdirentries.
40200 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40201             Jim Blandy  <jimb@codesourcery.com>
40203         * scripts/cross-test-ssh.sh: New file.
40204         * manual/install.texi (Configuring and compiling): Document use of
40205         cross-test-ssh.sh.
40206         * INSTALL: Regenerated.
40208 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40210         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40211         EOPNOTSUPP.
40213 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40215         * Makeconfig (run-program-prefix): Fix comment.
40217 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40218             Jim Blandy  <jimb@codesourcery.com>
40220         * Makeconfig (test-wrapper): New variable,
40221         (test-wrapper-env): Likewise.
40222         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40223         (run-built-tests): Define to yes.
40224         (run-program-prefix): Use $(test-wrapper).
40225         (built-program-cmd): Likewise.
40226         * Rules (make-test-out): Use $(test-wrapper-env) and
40227         $(host-built-program-cmd).
40228         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40229         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40230         tst-pathopt.sh.
40231         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40232         $(test-wrapper-env) to tst-rtld-load-self.sh.
40233         ($(objpfx)order2.out): Use $(test-wrapper).
40234         ($(objpfx)tst-initorder.out): Likewise.
40235         ($(objpfx)tst-initorder2.out): Likewise.
40236         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40237         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40238         (test_wrapper_env): New variable.  Use it to run ld.so.
40239         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40240         Use it to run ld.so.
40241         (test_wrapper_env): Likewise.
40242         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40243         $(test-wrapper) to run-iconv-test.sh.
40244         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40245         (ICONV): Use $test_wrapper.
40246         * posix/Makefile ($(objpfx)globtest.out): Pass
40247         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40248         globtest.sh, not $(run-program-prefix).
40249         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40250         (test_wrapper): Likewise.
40251         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40252         set together with run_via_rtld_prefix.
40253         (run_program_prefix): Define in terms of test_wrapper and
40254         run_via_rtld_prefix.
40256 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40258         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40259         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40260         Targets removed.
40262         [BZ #14743]
40263         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40264         Declare __clock_getres, __clock_gettime, __clock_settime,
40265         __clock_nanosleep, and __clock_getcpuclockid.
40266         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40267         Remove librt_hidden_def (clock_gettime).
40268         * sysdeps/unix/clock_gettime.c: Likewise.
40269         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40270         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40271         * rt/clock_getres.c: Define __clock_getres as an alias.
40272         * sysdeps/posix/clock_getres.c: Likewise.
40273         * rt/clock_settime.c: Define __clock_settime as an alias.
40274         * sysdeps/unix/clock_settime.c: Likewise.
40275         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40276         * sysdeps/unix/clock_nanosleep.c: Likewise.
40277         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40278         * rt/clock-compat.c: New file.
40279         * rt/Makefile (librt-routines): Add clock-compat and move
40280         $(clock-routines) to ...
40281         (routines): ... here, new variable.
40282         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40283         Don't add get_clockfreq here.
40284         * rt/Versions (libc: GLIBC_2.17): New version set.
40285         Add clock_* symbols here.
40286         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40287         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40288         (GLIBC_2.17): Add clock_* symbols.
40289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40293         Likewise.
40294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40295         Likewise.
40296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40300         * NEWS: Mention the move.
40302         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40303         Use __open, __read, __close rather than their public counterparts.
40304         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40305         (__get_clockfreq_via_cpuinfo): Likewise.
40306         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40307         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40309         * config.h.in (HAVE_IFUNC): New #undef.
40310         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40311         was successful.
40312         * configure: Regenerated.
40314 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40316         * configure.in: Move READELF check to start of file.
40317         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40318         libc_cv_asm_gnu_indirect_function in the process.
40319         * configure: Regenerated.
40321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40323         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40324         send the output to /dev/null.
40325         (libc_cv_cc_with_libunwind): Likewise.
40326         (libc_cv_as_noexecstack): Likewise.
40327         * configure: Regenerate.
40329 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40331         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40333         * posix/globtest.sh (TMPDIR): Do not set.
40334         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40335         (testout): Likewise.
40337 2012-10-24  Andreas Jaeger  <aj@suse.de>
40339         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40340         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40341         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40342         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40343         posix_fadvise64, posix_fallocate64.
40345         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40346         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40347         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40348         Likewise.
40349         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40350         Likewise.
40351         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40354         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40355         <bits/fcntl-linux.h>.
40356         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40359         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40360         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40361         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40362         [__WORDSIZE != 64]: Likewise.
40364 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40366         * Makeconfig (run-built-tests): New variable.
40367         * Rules [$(cross-compiling) = yes]: Change condition to
40368         [$(run-built-tests) = no].
40369         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40370         to [$(run-built-tests) = yes].
40371         * elf/Makefile [$(cross-compiling) = no]: Likewise
40372         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40373         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40374         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40375         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40376         * io/Makefile [$(cross-compiling) = no]: Likewise.
40377         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40378         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40379         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40380         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40381         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40382         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40383         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40384         * string/Makefile [$(cross-compiling) = no]: Likewise.
40386         * posix/Makefile ($(objpfx)globtest.out): Pass
40387         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40388         $(rtld-installed-name).
40389         * posix/globtest.sh (elf_objpfx): Remove variable.
40390         (rtld_installed_name): Likewise.
40391         (library_path): Likewise.
40392         (run_program_prefix): New variable.  Use for running globtest
40393         binary.
40395 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40396             Joseph Myers  <joseph@codesourcery.com>
40398         * Makeconfig (host-built-program-cmd): New variable.
40399         * elf/Makefile (tst-stackguard1-ARGS): Use
40400         $(host-built-program-cmd).
40401         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40402         (tst-spawn-ARGS): Likewise.
40403         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40405 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40406             Jim Blandy  <jimb@codesourcery.com>
40408         * Makeconfig (run-via-rtld-prefix): New variable.
40409         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40410         (built-program-cmd): Likewise.
40412 2012-10-22  Andreas Jaeger  <aj@suse.de>
40414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40415         __O_RSYNC if it exists, otherwise to O_SYNC.
40417 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40418             Joseph Myers  <joseph@codesourcery.com>
40420         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40421         /dev/null.
40422         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40423         from /dev/null
40424         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40425         /dev/null.
40427 2012-10-22  Andreas Jaeger  <aj@suse.de>
40429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40430         Define always.
40431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40434         bits/fcntl-linux.h.
40436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40437         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40440         to __O_LARGEFILE.
40441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40442         to __O_LARGEFILE.
40444 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40445             Joseph Myers  <joseph@codesourcery.com>
40447         * config.make.in (NM): New variable.
40449 2012-10-21  Andreas Jaeger  <aj@suse.de>
40451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40452         definitions and declarations that are provided by
40453         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40455 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40457         [BZ #14683]
40458         * elf/Makefile (tests-static): Add tst-leaks1-static.
40459         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40460         ($(objpfx)tst-leaks1-static): New rule.
40461         ($(objpfx)tst-leaks1-static-mem): Likewise.
40462         (tst-leaks1-static-ENV): New macro.
40463         * elf/dl-open.c (dl_open_worker): Check the main application
40464         only if SHARED is defined.
40465         * elf/tst-leaks1-static.c: New file.
40467 2012-10-20  Andreas Jaeger  <aj@suse.de>
40469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40470         generic values for Linux.
40471         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40472         and declarations that are provided by <bits/fcntl-linux.h> and
40473         include <bits/fcntl-linux.h>.
40474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40477 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40479         * io/fcntl.h: Move include of <bits/types.h> to the top and
40480         include it unconditionally.
40482 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40484         * wcsmbs/Makefile (tests-ifunc): New variable.
40485         (tests): Add $(tests-ifunc).
40486         * wcsmbs/test-wcschr-ifunc.c: New file.
40487         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40488         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40489         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40490         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40491         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40493         * string/Makefile (tests-ifunc): New variable.
40494         (tests): Add $(tests-ifunc).
40495         * string/test-memccpy.c (TEST_NAME): New macro.
40496         * string/test-memchr.c (TEST_NAME): Likewise.
40497         * string/test-memcmp.c (TEST_NAME): Likewise.
40498         * string/test-memcpy.c (TEST_NAME): Likewise.
40499         * string/test-memmem.c (TEST_NAME): Likewise.
40500         * string/test-memmove.c (TEST_NAME): Likewise.
40501         * string/test-memset.c (TEST_NAME): Likewise.
40502         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40503         * string/test-stpcpy.c (TEST_NAME): Likewise.
40504         * string/test-stpncpy.c (TEST_NAME): Likewise.
40505         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40506         * string/test-strcasestr.c (TEST_NAME): Likewise.
40507         * string/test-strcat.c (TEST_NAME): Likewise.
40508         * string/test-strchr.c (TEST_NAME): Likewise.
40509         * string/test-strcmp.c(TEST_NAME): Likewise.
40510         * string/test-strcpy.c (TEST_NAME): Likewise.
40511         * string/test-strcspn.c (TEST_NAME): Likewise.
40512         * string/test-strlen.c (TEST_NAME): Likewise.
40513         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40514         * string/test-strncmp.c (TEST_NAME): Likewise.
40515         * string/test-strncpy.c (TEST_NAME): Likewise.
40516         * string/test-strnlen.c (TEST_NAME): Likewise.
40517         * string/test-strpbrk.c (TEST_NAME): Likewise.
40518         * string/test-strrchr.c (TEST_NAME): Likewise.
40519         * string/test-strspn.c (TEST_NAME): Likewise.
40520         * string/test-strstr.c (TEST_NAME): Likewise.
40521         * string/test-bcopy-ifunc.c: New file.
40522         * string/test-bzero-ifunc.c: Likewise.
40523         * string/test-memccpy-ifunc.c: Likewise.
40524         * string/test-memchr-ifunc.c: Likewise.
40525         * string/test-memcmp-ifunc.c: Likewise.
40526         * string/test-memcpy-ifunc.c: Likewise.
40527         * string/test-memmem-ifunc.c: Likewise.
40528         * string/test-memmove-ifunc.c: Likewise.
40529         * string/test-mempcpy-ifunc.c: Likewise.
40530         * string/test-memset-ifunc.c: Likewise.
40531         * string/test-rawmemchr-ifunc.c: Likewise.
40532         * string/test-stpcpy-ifunc.c: Likewise.
40533         * string/test-stpncpy-ifunc.c: Likewise.
40534         * string/test-strcasecmp-ifunc.c: Likewise.
40535         * string/test-strcasestr-ifunc.c: Likewise.
40536         * string/test-strcat-ifunc.c: Likewise.
40537         * string/test-strchr-ifunc.c: Likewise.
40538         * string/test-strchrnul-ifunc.c: Likewise.
40539         * string/test-strcmp-ifunc.c: Likewise.
40540         * string/test-strcpy-ifunc.c: Likewise.
40541         * string/test-strcspn-ifunc.c: Likewise.
40542         * string/test-strlen-ifunc.c: Likewise.
40543         * string/test-strncasecmp-ifunc.c: Likewise.
40544         * string/test-strncat-ifunc.c: Likewise.
40545         * string/test-strncmp-ifunc.c: Likewise.
40546         * string/test-strncpy-ifunc.c: Likewise.
40547         * string/test-strnlen-ifunc.c: Likewise.
40548         * string/test-strpbrk-ifunc.c: Likewise.
40549         * string/test-strrchr-ifunc.c: Likewise.
40550         * string/test-strspn-ifunc.c: Likewise.
40551         * string/test-strstr-ifunc.c: Likewise.
40553         * debug/Makefile (tests-ifunc): New variable.
40554         (tests): Add $(tests-ifunc).
40555         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40556         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40557         * debug/test-stpcpy_chk-ifunc.c: New file.
40558         * debug/test-strcpy_chk-ifunc.c: Likewise.
40560 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40562         [BZ #13601]
40563         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40564         header is not read in.
40566 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40568         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40569         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40570         directly.  Pass built executable to script as
40571         $(built-program-cmd).
40572         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40573         $testprogram without using LD_LIBRARY_PATH and $ldso.
40575         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40576         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40577         $(rtld-installed-name).
40578         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40579         (rtld_installed_name): Likewise.
40580         (library_path): Likewise.
40581         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40582         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40583         $(run-program-prefix) to tst-tables.sh.
40584         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40585         it to run tst-table-from and tst-table-to.
40586         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40587         Pass it to tst-table.sh.
40588         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40589         $(run-program-prefix) to tst-gettext.sh.
40590         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40591         tst-translit.sh.
40592         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40593         tst-gettext2.sh.
40594         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40595         to run tst-gettext.
40596         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40597         to run tst-gettext2.
40598         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40599         to run tst-translit.
40600         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40601         $(run-program-prefix) to tst-mtrace.sh.
40602         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40603         to run tst-mtrace.
40604         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40605         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40606         $(rtld-installed-name).
40607         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40608         (rtld_installed_name): Likewise.
40609         (run_program_prefix): New variable.  Use it to run wordexp-test.
40611         * Makeconfig (ARCH): Remove all definitions.
40612         (machine): Likewise.
40613         [ARCH]: Remove conditional code.
40614         [!objdir]: Give error.
40615         [!objdir] (objpfx): Remove.
40616         [!objdir] (common-objpfx): Likewise.
40617         [!objdir] (common-objdir): Likewise.
40618         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40619         AC_CONFIG_FILES call.
40620         * configure: Regenerated.
40622         [BZ #13888]
40623         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40624         or TMPDIR.
40625         (testout): Likewise.
40627         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40628         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40629         $(rtld-installed-name).
40630         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40631         (rtld_installed_name): Likwise.
40632         (runit): Remove function.
40633         (run_getconf): New variable,  Use it for running getconf binary.
40635 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40637         [BZ #14716]
40638         * string/test-memmem.c (check_result): New function.
40639         (do_one_test): Use it.
40640         (check1): New function.
40641         (test_main): Use it.
40643 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40645         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40647 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40649         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40650         (_G_LSEEK64): Likewise.
40651         (_G_MMAP64): Likewise.
40652         (_G_FSTAT64): Likewise.
40653         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40654         (_G_LSEEK64): Likewise.
40655         (_G_MMAP64): Likewise.
40656         (_G_FSTAT64): Likewise.
40657         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40658         unconditional.  Call __mmap64 directly.
40659         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40660         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40661         __lseek64 directly.
40662         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40663         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40664         __mmap64 directly.
40665         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40666         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40667         __lseek64 directly.
40668         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40669         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40670         __lseek64 directly.
40671         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40672         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40673         __lseek64 directly.
40674         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40675         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40676         __fxstat64 directly.
40677         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40678         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40679         unconditional.
40680         (freopen64) [!_G_OPEN64]: Remove conditional code.
40681         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40682         unconditional.
40683         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40684         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40685         unconditional.
40686         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40687         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40688         unconditional.
40689         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40690         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40691         unconditional.
40692         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40693         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40694         unconditional.
40695         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40696         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40697         unconditional.
40698         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40699         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40700         unconditional.
40701         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40703 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40705         [BZ #12140]
40706         * manual/memory.texi (Malloc Tunable Parameters): Add note
40707         about free list pointers overwriting some perturb bytes.
40708         Wording suggested by Roland McGrath.
40710 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40712         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40713         (lgamma_test): Likewise.
40714         (tgamma_test): Likewise.
40716 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40718         [BZ #14700]
40719         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40720         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40722 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40724         * NEWS: Mention BZ #14716.
40725         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40726         when removing AVAILABLE1_USES_J macro.
40728 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40730         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40731         (__bswap_64): __uint64_t for unsigned 64-bit int.
40733 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40735         * include/string.h (memmem): Declare libc hidden alias.
40736         * string/memmem.c (memmem): Define libc hidden alias.
40737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40738         __read, __close instead of open, read, close.
40740 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40743         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40744         global and hidden.
40745         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40746         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40747         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40748         Likewise.
40749         (__rawmemchr_sse2): Likewise.
40750         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40751         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40752         (__strchr_sse2): Likewise.
40753         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40754         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40755         (__strcasecmp_sse2): Likewise.
40756         (__strncasecmp_sse2): Likewise.
40757         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40758         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40759         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40760         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40761         (__strrchr_sse2): Likewise.
40762         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40763         ifunc-impl-list.c.
40764         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40765         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40766         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40767         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40768         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40769         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40770         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40771         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40772         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40773         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40774         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40775         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40776         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40777         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40778         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40779         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40780         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40781         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40782         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40783         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40784         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40785         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40786         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40787         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40788         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40789         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40790         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40791         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40792         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40793         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40795         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40796         global and hidden.
40797         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40798         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40799         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40800         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40801         Likewise.
40802         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40803         Likewise.
40804         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40805         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40806         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40807         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40808         ifunc-impl-list.c.
40809         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40810         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40811         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40812         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40813         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40814         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40815         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40816         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40818         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40819         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40820         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40821         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40822         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40823         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40825         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40826         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40831         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40843         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40844         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40846         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40847         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40848         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40849         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40851         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40852         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40853         * include/ifunc-impl-list.h: New file.
40854         * misc/ifunc-impl-list.c: Likewise.
40855         * misc/Makefile (routines): Add ifunc-impl-list.
40856         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40857         * string/test-string.h: Include <ifunc-impl-list.h>.
40858         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40859         TEST_NAME]: New variables.
40860         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40861         are defined.
40862         (test_init): Call __libc_ifunc_impl_list to initialize
40863         func_list if TEST_IFUNC and TEST_NAME are defined.
40865         * string/Makefile (strop-tests): Add bcopy and bzero.
40866         * string/test-bcopy.c: New file.
40867         * string/test-bzero.c: Likewise.
40868         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40869         defined.
40870         * string/test-memset.c: Support bzero test if TEST_BZERO is
40871         defined.
40872         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40873         __libc_memmove.
40874         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40875         __libc_memset.
40876         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40877         of memset.
40879 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40881         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40882         * configure: Regenerated.
40884         * Makeconfig (+link-static-before-libc): Don't include
40885         $(link-static-libc).
40887         * libio/libio.h (_IO_pos_t): Remove.
40889 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40891         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40892         McGrath.
40894 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40896         * crypt/crypt-entry.c: Include fips-private.h.
40897         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40898         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40899         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40900         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40902 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40904         * crypt/crypt-private.h: Include stdbool.h.
40905         (_ufc_setup_salt_r): Return bool.
40906         * crypt/crypt-entry.c: Include errno.h.
40907         (__crypt_r): Return NULL with EINVAL for bad salt.
40908         * crypt/crypt_util.c (bad_for_salt): New.
40909         (_ufc_setup_salt_r): Check that salt is long enough and within
40910         the specified alphabet.
40911         * crypt/badsalttest.c: New file.
40912         * crypt/Makefile (tests): Add it.
40913         ($(objpfx)badsalttest): New.
40915 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40917         * NEWS: Add entry for BZ #14602.
40919 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40921         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40922         type-generic.
40923         * math/libm-test.inc: Update comment listing what functions and
40924         macros are tested.
40925         (isgreater_test): New function.
40926         (isgreaterequal_test): Likewise.
40927         (isless_test): Likewise.
40928         (islessequal_test): Likewise.
40929         (islessgreater_test): Likewise.
40930         (isunordered_test): Likewise.
40931         (main): Call the new functions.
40933 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40935         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40936         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40937         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40938         * sysdeps/i386/configure: Regenerated.
40939         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40940         * sysdeps/mach/configure: Regenerated.
40941         * sysdeps/mach/hurd/configure: Regenerated.
40942         * sysdeps/powerpc/configure: Regenerated.
40943         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40944         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40945         * sysdeps/s390/s390-32/configure: Regenerated.
40946         * sysdeps/s390/s390-64/configure: Regenerated.
40947         * sysdeps/sh/configure: Regenerated.
40948         * sysdeps/sparc/configure: Regenerated.
40949         * sysdeps/unix/sysv/linux/configure: Regenerated.
40950         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40951         * sysdeps/x86_64/configure: Regenerated.
40953         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40954         defined.  Don't check if MAP is NULL.
40956 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40958         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40959         (_G_stat64): Likewise.
40960         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40961         (_G_stat64): Likewise.
40962         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40963         instead of struct _G_stat64.
40964         * libio/fileops.c (mmap_remap_check): Likewise.
40965         (decide_maybe_mmap): Likewise.
40966         (_IO_new_file_seekoff): Likewise.
40967         (_IO_file_stat): Likewise.
40968         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40969         _G_off64_t.
40970         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40971         instead of struct _G_stat64.
40972         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40974 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40976         [BZ #14602]
40977         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40978         Replace with ...
40979         (CHECK_EOL): New macro.
40980         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40981         CHECK_EOL.
40982         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40983         Replace with CHECK_EOL.
40984         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40985         Replace with CHECK_EOL.
40987 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40989         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40990         type-generic.
40991         * math/libm-test.inc: Update comment listing what functions and
40992         macros are tested.
40993         (finite_test): New function.
40994         (isinf_test): Likewise.
40995         (isnan_test): Likewise.
40996         (fpclassify_test): Test subnormal input.
40997         (isfinite_test): Likewise.
40998         (isnormal_test): Likewise.
40999         (main): Call the new functions.
41001 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41003         [BZ #14660]
41004         * Makerules (%.dynsym): Force C locale when running
41005         $(OBJDUMP) --dynamic-syms.
41007 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41009         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41010         <stdint.h>.
41012 2012-10-06  David S. Miller  <davem@davemloft.net>
41014         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41015         upper 32-bits of the length value in %o2 since we use branch-on-register
41016         tests which consider the entire 64-bit register.
41018 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41020         * string/test-strstr.c (check2): Add a test for page boundary.
41022 2012-10-05  David S. Miller  <davem@davemloft.net>
41024         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41025         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41026         file.
41027         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41028         sysdep_routines.
41029         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41030         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41031         and bzero when HWCAP_SPARC_CRYPTO is present.
41033 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41035         [BZ #14602]
41036         * string/test-strstr.c (check2): New function.
41037         (test_main): Call check2.
41039         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41040         and bug-strchr1.
41041         * string/bug-strcasestr1.c (do_test): Moved to ...
41042         * string/test-strcasestr.c (check1): Here.  New function.
41043         (do_one_test): Break out result checking code into ...
41044         (check_result): This.  New function.
41045         (do_one_test): Call check_result.
41046         (test_main): Call check1.
41047         * string/bug-strchr1.c (do_test): Moved to ...
41048         * string/test-strchr.c (check1): Here.  New function.
41049         (do_one_test): Break out result checking code into ...
41050         (check_result): This.  New function.
41051         (do_one_test): Call check_result.
41052         (test_main): Call check1.
41053         * string/bug-strstr1.c (main): Moved to ...
41054         * string/test-strstr.c (check1): Here.  New function.
41055         (do_one_test): Break out result checking code into ...
41056         (check_result): This.  New function.
41057         (do_one_test): Call check_result.
41058         (test_main): Call check1.
41059         * string/bug-strcasestr1.c: Removed.
41060         * string/bug-strchr1.c: Likewise.
41061         * string/bug-strstr1.c: Likewise.
41063         * elf/Makefile (dl-routines): Add hwcaps.
41064         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41065         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41066         (_dl_important_hwcaps): Moved to ...
41067         * elf/dl-hwcaps.c: Here.  New file.
41068         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41070         [BZ #14557]
41071         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41072         if IS_IN_rtld isn't defined.
41074         * elf/dl-support.c (_dl_sysinfo_map): New.
41075         Include "get-dynamic-info.h" and "setup-vdso.h".
41076         (_dl_non_dynamic_init): Call setup_vdso.
41077         * elf/dynamic-link.h: Don't include <assert.h>.
41078         (elf_get_dynamic_info): Moved to ...
41079         * elf/get-dynamic-info.h: Here.  New file.
41080         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41081         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41082         * elf/setup-vdso.h: Here.  New file.
41083         * elf/rtld.c: Include "setup-vdso.h".
41084         (dl_main): Call setup_vdso.
41086 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41088         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41089         creal in comment listing functions tested.  List finite, isinf,
41090         isnan, isless, islessequal, isgreater, isgreaterequal,
41091         islessgreater, isunordered, lgamma_r and pow10 as functions and
41092         macros not tested.  Mention which functions not tested are aliases
41093         for other functions.  Fix typo.  Note that signs of NaNs are not
41094         tested.
41096         * scripts/config.guess: Update from config.git.
41097         * scripts/config.sub: Likewise.
41099 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41101         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41102         * misc/madvise.c (madvise): Renamed to __madvise.
41103         Make madvise a weak alias.
41104         * include/sys/mman.h: Declare __madvise.
41105         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41106         * sysdeps/unix/syscalls.list
41107         (madvise): Make __madvise the strong name, and madvise a weak alias.
41108         * sysdeps/unix/sysv/linux/syscalls.list
41109         (madvise, mmap): Remove redundant entries.
41110         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41111         * malloc/malloc.c (mtrim): Likewise.
41112         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41114 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41116         * sysdeps/mach/hurd/dl-cache.c: File removed.
41117         * config.h.in (USE_LDCONFIG): New #undef.
41118         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41119         * configure: Regenerated.
41120         * elf/Makefile (dl-routines): Add dl-cache only under
41121         [$(use-ldconfig) = yes].
41122         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41123         cache on [USE_LDCONFIG].
41124         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41125         [USE_LDCONFIG].
41126         * elf/rtld.c (dl_main): Likewise.
41128 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41130         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41131         _SC_LEVEL4_CACHE_LINESIZE.
41133 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41135         * sysdeps/unix/bsd/confstr.h: File removed.
41137 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41139         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41140         sys/sdt-config.h.
41142 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41144         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41145         Make 'mapoff' field ElfW(Off) rather than off_t.
41147 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41149         * nscd/Makefile: Remove nscd-cflags and all its users.
41150         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41151         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41153         [BZ #10631]
41154         * malloc.c (malloc_printerr): Clarify error message.
41156 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41158         [BZ #14648]
41159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41160         Set bit_FMA_Usable if FMA is supported.
41161         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41162         macro.
41163         (bit_FMA4_Usable): Updated.
41164         (index_FMA_Usable): New macro.
41165         (CPUID_FMA): Likewise
41166         (HAS_FMA): Defined with bit_FMA_Usable.
41168 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41170         * bits/types.h (__swblk_t): Type removed.
41171         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41172         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41174         (__SWBLK_T_TYPE): Likewise.
41175         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41176         (__SWBLK_T_TYPE): Likewise.
41177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41178         (__SWBLK_T_TYPE): Likewise.
41179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41180         (__SWBLK_T_TYPE): Likewise.
41182 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41183             Honza Horak <hhorak@redhat.com>
41185         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41186         (xdr_mapname): Use YPMAXMAP as maxsize.
41187         (xdr_peername): Use YPMAXPEER as maxsize.
41188         (xdr_keydat): Use YPAXRECORD as maxsize.
41189         (xdr_valdat): Use YPMAXRECORD as maxsize.
41191 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41193         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41195         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41196         * csu/init-first.c: ... here.
41197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41198         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41199         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41200         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41201         * sysdeps/i386/init-first.c: File removed.
41202         * sysdeps/sh/init-first.c: File removed.
41204 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #14645]
41207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41208         if x * y might underflow to zero and z is zero.
41209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41210         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41211         * math/libm-test.inc (min_subnorm_value): New variable.
41212         (fma_test): Add more tests.
41213         (fma_test_towardzero): Likewise.
41214         (fma_test_downward): Likewise
41215         (fma_test_upward): Likewise.
41216         (initialize): Set min_subnorm_value.
41218 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41220         [BZ #14638]
41221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41222         0 + 0.
41223         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41224         mode for addition resulting in exact zero.
41225         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41227         exact 0 + 0.
41228         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41230         * math/libm-test.inc (fma_test): Add more tests.
41231         (fma_test_towardzero): New function.
41232         (fma_test_downward): Likewise.
41233         (fma_test_upward): Likewise.
41234         (main): Call the new functions.
41236 2012-09-28  David S. Miller  <davem@davemloft.net>
41238         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41240 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41242         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41243         instead of SIGALRM.
41245         * sysdeps/gnu/_G_config.h: Moved to ...
41246         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41247         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41248         * sysdeps/generic/_G_config.h: ... here.
41250         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41252         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41254         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41255         Conditionalize target on [libnss_test1.so-version].
41257         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41259         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41260         (elfobjdir): Move out of conditionals.
41262         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41263         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41264         (__nss_lookup_function): Conditionalize label remove_from_tree on
41265         [!DO_STATIC_NSS || SHARED], matching its only use.
41267 2012-09-28  David S. Miller  <davem@davemloft.net>
41269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41270         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41271         file.
41272         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41273         sysdep_routines.
41274         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41275         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41276         when HWCAP_SPARC_CRYPTO is present.
41278 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41280         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41282 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41284         [BZ #6530]
41285         * stdio-common/vfprintf.c (process_string_arg): Revert
41286         2000-07-22 change.
41288 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41290         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41291         for testcase.
41292         * stdio-common/tst-sprintf.c: Include <locale.h>
41293         (main): Test sprintf's handling of incomplete multibyte
41294         characters.
41296 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41298         * elf/dl-runtime.c (VERSYMIDX): Removed.
41299         * elf/dl-version.c (VERSYMIDX): Likewise.
41300         * elf/do-rel.h (VERSYMIDX): Likewise.
41301         (VALIDX): Likewise.
41302         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41303         * elf/rtld.c (VALIDX): Likewise.
41304         (ADDRIDX): Likewise.
41305         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41306         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41307         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41308         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41309         (VALIDX): Likewise.
41310         (ADDRIDX): Likewise.
41312 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41314         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41316 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41318         [BZ #11438]
41319         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41320         to global scope.
41321         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41322         addresses are in the same scope as 192.0.2/24.
41323         * posix/gai.conf: Document new scope table defaults.
41325 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         [BZ #5298]
41328         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41329         for ftell.  Compute offsets from write pointers instead.
41330         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41334         [BZ #14543]
41335         * libio/Makefile (tests): New test case tst-fseek.
41336         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41337         combination works in wide mode.
41338         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41339         state when the external buffer state changes.
41341 2012-09-27  David S. Miller  <davem@davemloft.net>
41343         [BZ #14376]
41344         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41345         pass reloc->r_addend in as the 'high' argument to
41346         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41350 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41352         * rt/tst-aio2.c: Include <pthread.h>.
41353         * rt/tst-aio3.c: Likewise.
41355 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41357         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41359 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41361         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41362         contents on [SHARED].
41364 2012-09-26  Marek Polacek  <polacek@redhat.com>
41366         [BZ #14530]
41367         [BZ #13741]
41368         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41369         for C++ and GCC <4.3 as well as for non GCC compilers.
41371 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41375 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41377         * Makefile.in (all, install): Declare with .PHONY.
41378         Reported by Michael Hope <michael.hope@linaro.org>.
41380 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41382         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41383         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41384         system header.
41385         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41386         Likewise.
41387         (sydep_routines): Add the new and the internal functions.
41388         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41389         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41391         (GLIBC_2.17): Add the new function.
41392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41393         (GLIBC_2.17): Likewise.
41394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41395         (GLIBC_2.17): Likewise.
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41397         (GLIBC_2.17): Likewise.
41398         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41400 2012-09-25  Alan Modra  <amodra@gmail.com>
41402         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41403         Add release barrier before setting once_control to say
41404         initialisation is done.  Add hints on lwarx.  Use macro in
41405         place of isync.
41406         (clear_once_control): Add release barrier.
41408 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #13629]
41411         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41412         specially.
41413         * math/s_clog10.c (__clog10): Likewise.
41414         * math/s_clog10f.c (__clog10f): Likewise.
41415         * math/s_clog10l.c (__clog10l): Likewise.
41416         * math/s_clogf.c (__clogf): Likewise.
41417         * math/s_clogl.c (__clogl): Likewise.
41418         * math/Makefile (libm-calls): Add x2y2m1.
41419         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41420         (__x2y2m1): Likewise.
41421         (__x2y2m1l): Likewise.
41422         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41423         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41424         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41425         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41426         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41427         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41428         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41429         * sysdeps/i386/fpu/libm-test-ulps: Update.
41430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41432         [BZ #14621]
41433         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41434         int as type of variable DEPTH.
41435         (glob): Use size_t instead of int as type of variables NEWCOUNT
41436         and OLD_PATHC.
41438 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41440         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41441         Add s_sincosf-sse2.
41442         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41443         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41444         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41445         macros for using routine as __sincosf_ia32.
41446         Use macro for function declaration and weak_alias.
41447         * sysdeps/i386/fpu/libm-test-ulps: Update.
41449         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41452         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41453         subnormal argument.
41454         * math/s_cexpf.c (__cexpf): Likewise.
41455         * math/s_csinf.c (__csinf): Likewise.
41456         * math/s_csinhf.c (__csinhf): Likewise.
41457         * math/s_ctanf.c (__ctanf): Likewise.
41458         * math/s_ctanhf.c (__ctanhf): Likewise.
41459         * math/s_ccosh.c (__ccoshf): Likewise.
41460         * math/s_cexp.c (__cexpl): Likewise.
41461         * math/s_csin.c (__csin): Likewise.
41462         * math/s_csinh.c (__csinh): Likewise.
41463         * math/s_ctan.c (__ctan): Likewise.
41464         * math/s_ctanh.c (ctanh): Likewise.
41465         * math/s_ccoshl.c (__ccoshl): Likewise.
41466         * math/s_cexpl.c (__cexpl): Likewise.
41467         * math/s_csinl.c (__csinl): Likewise.
41468         * math/s_csinhl.c (__csinhl): Likewise.
41469         * math/s_ctanl.c (__ctanl): Likewise.
41470         * math/s_ctanhl.c (__ctanhl): Likewise.
41472 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41474         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41475         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41476         (_IO_off_t): Define to __off_t, not _G_off_t.
41477         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41478         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41479         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41480         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41481         type of __dummy and __dummy2 fields.
41482         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41483         (_G_ssize_t): Likewise.
41484         (_G_off_t): Likewise.
41485         (_G_pid_t): Likewise.
41486         (_G_uid_t): Likewise.
41487         (_G_wchar_t): Likewise.
41488         (_G_wint_t): Likewise.
41489         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41490         (_G_ssize_t): Likewise.
41491         (_G_off_t): Likewise.
41492         (_G_pid_t): Likewise.
41493         (_G_uid_t): Likewise.
41494         (_G_wchar_t): Likewise.
41495         (_G_wint_t): Likewise.
41496         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41497         (_G_ssize_t): Likewise.
41498         (_G_off_t): Likewise.
41499         (_G_pid_t): Likewise.
41500         (_G_uid_t): Likewise.
41501         (_G_wchar_t): Likewise.
41502         (_G_wint_t): Likewise.
41504 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41506         * malloc/arena.c: Include malloc-sysdep.h.
41507         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41508         is sufficient to shrink the heap or an unmap is needed.
41509         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41510         new function check_may_shrink_heap.
41511         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41512         new function check_may_shrink_heap.
41514 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41516         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41517         comments.
41519 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41521         * catgets/test-gencat.sh: Add "set -e".
41522         * elf/tst-pathopt.sh: Likewise.
41523         * grp/tst_fgetgrent.sh: Likewise.
41524         * iconvdata/run-iconv-test.sh: Likewise.
41525         * intl/tst-gettext.sh: Likewise.
41526         * intl/tst-gettext2.sh: Likewise.
41527         * intl/tst-gettext4.sh: Likewise.
41528         * intl/tst-gettext6.sh: Likewise.
41529         * intl/tst-translit.sh: Likewise.
41530         * io/ftwtest-sh: Likewise.
41531         * libio/test-freopen.sh: Likewise.
41532         * malloc/tst-mtrace.sh: Likewise.
41533         * posix/globtest.sh: Likewise.
41534         * posix/tst-getconf.sh: Likewise.
41535         * posix/wordexp-tst.sh: Likewise.
41536         * stdio-common/tst-printf.sh: Likewise.
41537         * stdio-common/tst-unbputc.sh: Likewise.
41538         * stdlib/tst-fmtmsg.sh: Likewise.
41539         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41540         * catgets/Makefile: Do not specify -e option when running
41541         testsuite shell scripts.
41542         * elf/Makefile: Likewise.
41543         * grp/Makefile: Likewise.
41544         * iconvdata/Makefile: Likewise.
41545         * intl/Makefile: Likewise.
41546         * io/Makefile: Likewise.
41547         * libio/Makefile: Likewise.
41548         * malloc/Makefile: Likewise.
41549         * posix/Makefile: Likewise.
41550         * stdio-common/Makefile: Likewise.
41551         * stdlib/Makefile: Likewise.
41552         * sysdeps/x86_64/Makefile: Likewise.
41554         * io/ftwtest-sh: Add copyright header.
41555         * posix/globtest.sh: Likewise.
41556         * posix/tst-getconf.sh: Likewise.
41557         * posix/wordexp-tst.sh: Likewise.
41558         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41560 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41562         [BZ #13679]
41563         * Makeconfig (+link): Defined as $(+link-static) if
41564         $(build-shared) isn't yes.
41565         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41566         isn't yes.
41567         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41569         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41571         [BZ #14562]
41572         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41573         new chunk size with MALLOC_ALIGN_MASK.
41575 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41577         [BZ #5044]
41578         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41579         <rounding-mode.h>.
41580         (__printf_fphex): Determine rounding using get_rounding_mode and
41581         round_away.
41582         * stdio-common/tst-printf-round.c (struct hex_test): New
41583         structure.
41584         (hex_tests): New variable.
41585         (test_hex_in_one_mode): New function.
41586         (do_test): Also run tests for hex float output.
41588 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41590         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41591         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41592         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41593         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41594         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41595         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41596         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41597         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41599 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41601         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41602         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41603         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41604         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41606 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41608         [BZ #14579]
41609         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41610         mode only.
41611         * elf/tst-rtld-load-self.sh: New test.
41612         * elf/Makefile: Run it.
41614 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41616         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41617         (tst-writev-ENV): Remove.
41618         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41620 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41622         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41624 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41626         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41627         unconditional.
41628         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41629         Likewise.
41630         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41631         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41632         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41633         Likewise.
41635 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41637         [BZ #14587]
41638         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41639         * config.make.in (have-cpp-asm-debuginfo): Removed.
41640         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41641         * configure: Regenerated.
41643 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41645         [BZ #5044]
41646         * stdio-common/printf_fp.c: Include <stdbool.h> and
41647         <rounding-mode.h>.
41648         (___printf_fp): Determine rounding using get_rounding_mode and
41649         round_away.
41650         * stdio-common/tst-printf-round.c: New file.
41651         * stdio-common/Makefile (tests): Add tst-printf-round.
41652         (link-libm): New variable.
41653         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41655 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41657         [BZ #14576]
41658         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41659         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41660         Likewise.
41661         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41662         Likewise.
41664 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41666         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41667         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41668         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41669         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41671 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41673         [BZ #14518]
41674         * include/rounding-mode.h: New file.
41675         * sysdeps/generic/get-rounding-mode.h: Likewise.
41676         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41677         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41678         (MAX_VALUE): New macro.
41679         (MIN_VALUE): Likewise.
41680         (overflow_value): New function.
41681         (underflow_value): Likewise.
41682         (round_and_return): Use overflow_value and underflow_value to
41683         determine return values in overflow and underflow cases.  Use
41684         round_away to determine rounding depending on rounding mode.
41685         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41686         determine return values in overflow and underflow cases.
41687         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41688         (struct test_results): New structure.
41689         (struct test): Use struct test_results to store expected results
41690         for all rounding modes.
41691         (TEST): Include expected results for all rounding modes.
41692         (test_in_one_mode): New function.
41693         (do_test): Use test_in_one_mode to compute and check results.
41694         Check results for all rounding modes.
41695         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41696         $(link-libm).
41698 2012-12-09  Allan McRae  <allan@archlinux.org>
41700         * sysdeps/i386/fpu/libm-test-ulps: Update
41702 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41704         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41705         (_G_int32_t): Likewise.
41706         (_G_uint16_t): Likewise.
41707         (_G_uint32_t): Likewise.
41708         (_G_HAVE_BOOL): Likewise.
41709         (_G_HAVE_ATEXIT): Likewise.
41710         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41711         (_G_HAVE_IO_FILE_OPEN): Likewise.
41712         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41713         (_G_int32_t): Likewise.
41714         (_G_uint16_t): Likewise.
41715         (_G_uint32_t): Likewise.
41716         (_G_HAVE_BOOL): Likewise.
41717         (_G_HAVE_ATEXIT): Likewise.
41718         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41719         (_G_HAVE_IO_FILE_OPEN): Likewise.
41720         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41721         (_G_int32_t): Likewise.
41722         (_G_uint16_t): Likewise.
41723         (_G_uint32_t): Likewise.
41724         (_G_HAVE_BOOL): Likewise.
41725         (_G_HAVE_ATEXIT): Likewise.
41726         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41727         (_G_HAVE_IO_FILE_OPEN): Likewise.
41729 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41731         * csu/libc-tls.c: Update copyright years.
41733 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41735         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41736         [!_G_USING_THUNKS]: Remove conditional code.
41737         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41738         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41740         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41741         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41742         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41743         (_G_VTABLE_LABEL_PREFIX): Likewise.
41744         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41745         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41746         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41747         (_G_VTABLE_LABEL_PREFIX): Likewise.
41748         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41749         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41750         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41751         (_G_VTABLE_LABEL_PREFIX): Likewise.
41752         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41754 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41756         * libio/Makefile: Include ../Makeconfig before tests.
41757         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41758         only if $(build-shared) is yes.
41760         * iconv/gconv_db.c: Update copyright years.
41762 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41764         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41765         unwind info if defined PIC. Fix special cases description.
41766         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41768         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41769         DP_HI_MASK entry.
41770         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41772 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41774         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41776         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41777         is NULL.
41779         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41780         (LDLIBS-tst-chk4): This.
41781         (LDFLAGS-tst-chk5): Renamed to ...
41782         (LDLIBS-tst-chk5): This.
41783         (LDFLAGS-tst-chk6): Renamed to ...
41784         (LDLIBS-tst-chk6): This.
41785         (LDFLAGS-tst-lfschk4): Renamed to ...
41786         (LDLIBS-tst-lfschk4): This.
41787         (LDFLAGS-tst-lfschk5): Renamed to ...
41788         (LDLIBS-tst-lfschk5): This.
41789         (LDFLAGS-tst-lfschk6): Renamed to ...
41790         (LDLIBS-tst-lfschk6): This.
41792         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41793         on $(common-objpfx)soversions.mk.
41795 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41797         [BZ #10014]
41798         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41799         example host name.
41801 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41803         * malloc/arena.c (arena_get_retry): New function that gets
41804         another arena for the caller to try its request on.
41805         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41806         current arena cannot fulfill the request.
41807         (__libc_memalign): Likewise.
41808         (__libc_memalign): Likewise.
41809         (__libc_pvalloc): Likewise.
41810         (__libc_calloc): Likewise.
41812 2012-09-05  John Tobey  <john.tobey@gmail.com>
41814         [BZ #13542]
41815         * manual/arith.texi (Operations on Complex): Fix description
41816         of carg branch cut.
41818 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41820         [BZ #10014]
41821         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41822         host name.
41824         [BZ #10038]
41825         * manual/memory.texi (Memory): Make order of menu items match
41826         order of sections.
41828 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41830         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41831         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41832         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41834 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41836         * csu/libc-tls.c (static_dtv): Renamed to ...
41837         (_dl_static_dtv): This.  Make it global.
41838         (_dl_initial_dtv): Removed.
41839         (__libc_setup_tls): Updated.
41840         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41841         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41842         DL_INITIAL_DTV.
41844 2012-09-06  Petr Machata  <pmachata@redhat.com>
41846         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41847         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41848         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41849         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41851 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41853         [BZ #14545]
41854         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41855         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41856         freeing dtv[-1].
41858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41860         [BZ #14544]
41861         * Makeconfig (link-static-before-libc): Replace $(+prector)
41862         with $(+prectorT).
41863         (link-static-after-libc): Replace $(+postctor) with
41864         $(+postctorT).
41865         (link-bounded): Replace $(+prector)/$(+postctor) with
41866         $(+prectorT)/$(+postctorT).
41867         (+prectorT): New macro.
41868         (+postctorT): Likewise.
41870 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41872         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41873         (round_str): Handle values above the maximum for IBM long double
41874         as inexact.
41875         * stdlib/tst-strtod-round.c (tests): Regenerated.
41877 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41879         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41880         assembler flag.
41881         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41882         zarch_nohighgprs around the zarch optimized routines.
41883         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41884         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41886         for zarch.
41888 2012-09-05  David S. Miller  <davem@davemloft.net>
41890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41892         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41893         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41894         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41895         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41896         entries.
41898 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41900         * malloc/arena.c: Fold copyright years.
41901         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41903 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41905         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41909         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41911 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41913         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41914         change internal state upon failure.
41916 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41918         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41919         * malloc/memusage.c (mmap): Likewise.
41920         (mmap64, mremap): Likewise.  Adjust name in comment.
41922 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41924         * libio/fileops.c: Fix typos in comments.
41925         * libio/oldfileops.c: Likewise.
41926         * libio/wfileops.c: Likewise.
41928 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41930         [BZ #1349]
41931         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41932         (tst-malloc-usable-ENV): Set environment for test case.
41933         * malloc/hooks.c (malloc_check_get_size): New function to get
41934         requested size.
41935         * malloc/malloc.c (musable): Use malloc_check_get_size.
41936         * malloc/tst-malloc-usable.c: New test case.
41938 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41940         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41942 2012-09-05  Allan McRae  <allan@archlinux.org>
41944         [BZ #13966]
41945         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41946         determine header location.
41947         * configure: Regenerated.
41949 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41951         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41952         float format.
41953         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41954         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41955         format.
41956         (test): Regenerate.
41958 2012-09-04  David S. Miller  <davem@davemloft.net>
41960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41962         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41964 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41966         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41967         failures.
41969         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41971 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41973         [BZ #9914]
41974         * libio/iogetdelim.c: Include <limits.h>.
41975         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41976         + len + 1 would overflow.
41978 2012-09-03  Andreas Jaeger  <aj@suse.de>
41980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41981         * sysdeps/i386/fpu/libm-test-ulps: Update.
41983 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41985         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41986         Add s_sinf-sse2, s_conf-sse2.
41988         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41989         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41990         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41991         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41993         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41994         for using routine as __sinf_ia32.
41995         Use macro for function declaration and weak_alias.
41996         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41997         for using routine as __cosf_ia32.
41998         Use macro for function declaration and weak_alias.
42000         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42001         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42003         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42004         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42007         * math/libm-test.inc (cos_test): Add more test cases.
42008         (sin_test): Likewise.
42009         (sincos_test): Likewise.
42011 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42014         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42015         hidden.
42016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42018 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42020         [BZ #14538]
42021         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42022         first element of the GOT.
42023         (elf_machine_load_address): Return the difference between
42024         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42026 2012-09-01  Allan McRae  <allan@archlinux.org>
42028         [BZ #13412]
42029         * configure.in (AWK): Require gawk version 3.0 or later.
42030         * configure: Regenerated.
42032 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42034         * sysdeps/unix/sysv/linux/kernel-features.h
42035         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42036         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42037         [__NR_clock_getres]: Make code unconditional.
42038         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42039         (clock_getcpuclockid): Remove code left unreachable by removal of
42040         conditionals.
42041         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42042         code unconditional.
42043         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42044         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42045         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42046         Make code unconditional.
42047         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42048         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42049         * sysdeps/unix/sysv/linux/clock_settime.c
42050         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42051         conditional code.
42052         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42053         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42055 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42057         [BZ #14476]
42058         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42059         scripts/test-installation.pl.
42061         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42062         and $ld_so_version if it is set.
42064 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42066         [BZ #14516]
42067         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42068         failure if reading from procfs failed.
42069         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42071 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42073         * sysdeps/unix/sysv/linux/kernel-features.h
42074         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42075         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42076         Remove conditional code.
42077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42078         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42079         Remove conditional code.
42080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42081         * sysdeps/unix/sysv/linux/i386/fxstat.c
42082         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42084         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42085         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42086         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42087         * sysdeps/unix/sysv/linux/i386/lxstat.c
42088         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42089         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42090         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42091         Remove conditional code.
42092         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42093         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42094         Remove conditional code.
42095         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42096         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42097         <kernel-features.h>.
42098         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42099         Remove.
42100         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42101         Remove conditional code.
42102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42103         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42104         Remove conditional.
42106 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42108         [BZ #5400]
42109         * NEWS: Add fixed bug number.
42111 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42113         [BZ #14519]
42114         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42115         underflowing exponent in case of negative sign.
42116         * stdlib/tst-strtod-round-data: Add more tests.
42117         * stdlib/tst-strtod-round.c (tests): Regenerated.
42119         [BZ #3479]
42120         * stdlib/strtod_l.c (NDIG): Remove.
42121         (HEXNDIG): Likewise.
42122         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42123         smallest representable value.
42124         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42125         lie within an exact representation of 1/2 ulp of the result.
42126         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42127         unconditionally.
42128         (TENS_P9_IDX): Define unconditionally.
42129         (TENS_P9_SIZE): Likewise.
42130         (TENS_P10_IDX): Likewise.
42131         (TENS_P10_SIZE): Likewise.
42132         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42133         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42134         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42135         entries for 10^2^13 and 10^2^14.
42136         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42137         (TENS_P13_IDX): Define.
42138         (TENS_P13_SIZE): Likewise.
42139         (TENS_P14_IDX): Likewise.
42140         (TENS_P14_SIZE): Likewise.
42141         (_fpioconst_pow10): Change array size to
42142         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42143         unconditional.
42144         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42145         1024]: Add entries for 10^2^13 and 10^2^14.
42146         [LAST_POW10 > _LAST_POW10]: Remove #error.
42147         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42148         (_fpioconst_pow10): Change array size to
42149         FPIOCONST_POW10_ARRAY_SIZE.
42150         * stdlib/gen-fpioconst.c: New file.
42151         * stdlib/gen-tst-strtod-round.c: Likewise.
42152         * stdlib/tst-strtod-round-data: Likewise.
42153         * stdlib/tst-strtod-round.c: Likewise.
42154         * stdlib/Makefile (tests): Add tst-strtod-round.
42156         [BZ #14459]
42157         * stdlib/strtod_l.c: Include <stdint.h>.
42158         (NDEBUG): Do not define.
42159         (round_and_return): Change EXPONENT parameter to type intmax_t.
42160         Rearrange calculations to avoid internal overflow possibilities.
42161         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42162         Rearrange calculations to avoid internal overflow possibilities.
42163         Assert that number fits inside MPNSIZE limbs.
42164         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42165         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42166         calculations and add assertions to avoid internal overflow
42167         possibilities.  Add casts to avoid signed/unsigned operations.
42168         * stdlib/tst-strtod-overflow.c: New file.
42169         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42171 2012-08-25  Marek Polacek  <polacek@redhat.com>
42173         * time/time.h: Fix some typos in comments.
42175 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42177         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42178         * posix/tst-rfc3484-2.c: Likewise.
42179         * posix/tst-rfc3484-3.c: Likewise.
42181 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42183         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42184         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42186 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42188         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42189         #include of fxstatat64.c.
42191 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42193         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42194         * shadow/getspent_r.c: Likewise.
42195         * shadow/getspnam.c: Likewise.
42196         * shadow/getspnam_r.c: Likewise.
42197         * gshadow/getsgent.c: Likewise.
42198         * gshadow/getsgent_r.c: Likewise.
42199         * gshadow/getsgnam.c: Likewise.
42200         * gshadow/getsgnam_r.c: Likewise.
42201         * inet/getnetbyad.c: Likewise.
42202         * inet/getnetbyad_r.c: Likewise.
42203         * inet/getnetbynm.c: Likewise.
42204         * inet/getnetbynm_r.c: Likewise.
42205         * inet/getnetent.c: Likewise.
42206         * inet/getnetent_r.c: Likewise.
42207         * inet/getproto.c: Likewise.
42208         * inet/getproto_r.c: Likewise.
42209         * inet/getprtent.c: Likewise.
42210         * inet/getprtent_r.c: Likewise.
42211         * inet/getprtname.c: Likewise.
42212         * inet/getprtname_r.c: Likewise.
42213         * inet/getrpcbyname.c: Likewise.
42214         * inet/getrpcbyname_r.c: Likewise.
42215         * inet/getrpcbynumber.c: Likewise.
42216         * inet/getrpcbynumber_r.c: Likewise.
42217         * inet/getrpcent.c: Likewise.
42218         * inet/getrpcent_r.c: Likewise.
42219         * inet/getaliasent.c: Likewise.
42220         * inet/getaliasent_r.c: Likewise.
42221         * inet/getaliasname.c: Likewise.
42222         * inet/getaliasname_r.c: Likewise.
42223         * nscd/getgrgid_r.c: Likewise.
42224         * nscd/getgrnam_r.c: Likewise.
42225         * nscd/gethstbyad_r.c: Likewise.
42226         * nscd/gethstbynm3_r.c: Likewise.
42227         * nscd/getpwnam_r.c: Likewise.
42228         * nscd/getpwuid_r.c: Likewise.
42229         * nscd/getsrvbynm_r.c: Likewise.
42230         * nscd/getsrvbypt_r.c: Likewise.
42231         * nscd/gai.c: Likewise.
42233         * configure.in (build_nscd): New substituted variable, set
42234         by --disable-build-nscd and defaults to $use_nscd.
42235         * configure: Regenerated.
42236         * config.make.in (build-nscd): New substituted variable.
42237         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42238         Change conditional to require [$(build-nscd) = yes] as well.
42239         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42241         [BZ# 13696]
42242         * configure.in (use_nscd): New substituted variable, set by
42243         --disable-nscd.  If enabled, define USE_NSCD.
42244         * configure: Regenerated.
42245         * config.h.in: Add USE_NSCD.
42246         * config.make.in (use-nscd): New substituted variable.
42247         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42248         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42249         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42250         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42251         (CFLAGS-getgrnam_r.c): Likewise.
42252         (CFLAGS-initgroups.c): Likewise.
42253         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42254         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42255         Variables removed.
42256         * inet/getnetgrent_r.c
42257         (nscd_setnetgrent): New function, broken out of ...
42258         (setnetgrent): ... here.  Call it.
42259         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42260         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42261         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42262         * nscd/Makefile (routines, aux): Move definitions after include of
42263         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42264         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42265         Conditionalize on [USE_NSCD].
42266         (is_nscd, nscd_init_cb): Likewise.
42267         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42268         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42269         * nss/nss_db/db-init.c: Likewise.
42270         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42271         [USE_NSCD].
42272         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42273         (make_request): Use it.
42274         (cache_valid_p): New function.
42275         (__check_pf): Use it.
42276         * NEWS: Add item for --disable-nscd.
42278 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42280         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42281         to support sed >= 4.2.1-20-ga9bf076.
42282         * configure: Regenerated.
42284 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42286         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42287         Conditionalize whole body on [IREL].
42289 2012-08-22  Jeff Law <law@redhat.com>
42291         [BZ #14505]
42292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42293         if the family is PF_UNSPEC.
42295 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42297         * Makerules (lib-version): Rename from V.
42298         (install-lib-nosubdir): Change V to lib-version.
42300 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42302         [BZ #14252]
42303         * powerpc32/power6/wcschr.c: New file.
42304         * powerpc32/power6/wcscpy.c: New file.
42305         * powerpc32/power6/wcsrchr.c: New file.
42306         * powerpc64/power6/wcschr.c: New file.
42307         * powerpc64/power6/wcscpy.c: New file.
42308         * powerpc64/power6/wcsrchr.c: New file.
42310 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42312         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42313         (two_way_short_needle): Use it.
42314         * string/strstr.c (AVAILABLE1_USES_J): Define.
42315         * string/strcasestr.c: Likewise.
42317         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42318         array references.
42319         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42321         [BZ #11607]
42322         * NEWS: Add an entry.
42323         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42324         define their defaults.
42325         (two_way_short_needle): Detect end-of-string on-the-fly.
42326         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42327         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42328         * string/bug-strcasestr1.c: New test.
42329         * string/Makefile: Run it.
42331 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42333         [BZ #11607]
42334         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42335         the first character.
42337 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42339         * csu/elf-init.c (__libc_csu_irel): Function removed.
42340         * csu/libc-start.c (apply_irel): New function.
42341         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42343 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42345         * sysdeps/unix/sysv/linux/kernel-features.h
42346         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42347         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42348         <kernel-features.h>.
42349         [__NR_fadvise64_64]: Make code unconditional.
42350         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42351         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42352         !__NR_fadvise64_64)]: Likewise.
42353         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42354         !__NR_fadvise64_64))]: Likewise.
42355         [__NR_fadvise64]: Make code unconditional.
42356         [!__NR_fadvise64]: Remove conditional code.
42357         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42358         <kernel-features.h>.
42359         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42360         unconditional.
42361         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42362         conditional code.
42363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42364         not include <kernel-features.h>.
42365         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42366         unconditional.
42367         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42368         conditional code.
42369         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42370         include <kernel-features.h>.
42371         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42372         unconditional.
42373         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42374         conditional code.
42376 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42378         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42379         slight instruction rearrangements per scrollpipe analysis.
42380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42382 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42384         * manual/syslog.texi (syslog; vsyslog, closelog):
42385         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42386         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42388         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42389         DSOCAPS to match condition on defining it.
42391 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42393         * sysdeps/unix/sysv/linux/kernel-features.h
42394         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42396         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42397         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42399         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42400         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42402         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42403         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42405         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42406         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42408         * sysdeps/unix/sysv/linux/kernel-features.h
42409         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42410         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42411         unconditional.
42412         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42413         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42414         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42415         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42416         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42417         Make code unconditional.
42418         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42419         (__mmap64) [!__NR_mmap2]: Likewise.
42420         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42423         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42424         [__NR_mmap2]: Make code unconditional.
42425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42426         (__mmap64) [!__NR_mmap2]: Likewise.
42428 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42430         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42432 2012-08-18  Andreas Jaeger  <aj@suse.de>
42434         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42436 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42438         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42439         * include/unistd.h (__have_sock_cloexec): Likewise.
42440         (__have_pipe2): Likewise.
42441         (__have_dup3): Likewise.
42443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42445         [BZ #9685]
42446         * include/unistd.h (__have_pipe2): Change define into an extern int.
42447         (__have_dup3): Likewise.
42448         * socket/have_sock_cloexec.c: Include fcntl.h.
42449         (__have_pipe2): New variable.
42450         (__have_dup3): Likewise.
42452 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42454         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42456 2012-08-17  Marek Polacek  <polacek@redhat.com>
42458         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42459         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42461 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42463         * configure.in: Add AC_SUBST for sysheaders.
42464         * configure: Regenerated.
42465         * config.make.in (sysheaders): New substituted variable.
42467         * sysdeps/unix/mkfifo.c: Moved ...
42468         * sysdeps/posix/mkfifo.c: ... here.
42469         * sysdeps/unix/mkfifoat.c: Moved ...
42470         * sysdeps/posix/mkfifoat.c: ... here.
42472         * sysdeps/unix/utime.c: Moved ...
42473         * sysdeps/posix/utime.c: ... here.
42475         * sysdeps/unix/time.c: Moved ...
42476         * sysdeps/posix/time.c: ... here.
42477         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42478         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42480         * sysdeps/unix/nice.c: Moved ...
42481         * sysdeps/posix/nice.c: ... here.
42483         * sysdeps/unix/alarm.c: Moved ...
42484         * sysdeps/posix/alarm.c: ... here.
42486         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42488 2012-08-17  Jeff Law <law@redhat.com>
42490         * intl/Makefile (codeset_mo): New variable.
42491         ($(codeset_mo)): New target.
42492         (tst-codeset.out): Depend on that.  Remove explicit rule.
42493         (tst-gettext3.out, tst-gettext5.out): Likewise.
42494         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42495         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42496         * intl/tst-codeset.sh: Remove.
42497         * intl/tst-gettext3.sh: Likewise.
42498         * intl/tst-gettext5.sh: Likewise.
42500 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42502         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42503         * sysdeps/unix/syscalls.list: ... here.
42505         * sysdeps/posix/getaddrinfo.c
42506         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42507         (gaiconf_init, gaiconf_reload): Use them.
42508         [!_STATBUF_ST_NSEC]
42509         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42510         Define using time_t rather than struct timespec.
42512         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42513         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42514         Macros removed.
42515         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42516         [!NO_THREADS].
42517         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42518         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42519         Likewise.
42521         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42522         __libc_cleanup_push argument.
42524         * bits/param.h: New file.
42525         * misc/sys/param.h: New file.
42526         * include/sys/param.h: New file.
42527         * misc/Makefile (headers): Add bits/param.h.
42528         * sysdeps/generic/sys/param.h: File removed.
42529         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42530         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42531         * sysdeps/mach/hurd/bits/param.h: New file.
42532         * sysdeps/mach/hurd/sys/param.h: File removed.
42534         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42535         last change.
42537         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42538         [_IO_MTSAFE_IO].
42539         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42540         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42541         New macros.
42543         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42544         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42545         rather than -D_IO_MTSAFE_IO conditionally.
42546         * stdio-common/Makefile (CPPFLAGS): Likewise.
42547         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42548         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42549         Use $(libio-mtsafe).
42550         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42551         of -D_IO_MTSAFE_IO.
42552         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42553         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42554         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42555         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42556         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42557         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42558         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42559         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42560         (CFLAGS-fread_u_chk.c): Likewise.
42561         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42562         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42563         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42564         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42565         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42566         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42567         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42568         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42569         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42571         * libio/Makefile: Test [$(libc-reentrant) = yes]
42572         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42574         * Makeconfig
42575         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42576         * sysdeps/pthread/configure: File removed.
42577         * sysdeps/pthread/Makeconfig: New file.
42578         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42579         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42581 2012-08-16  Gary Benson  <gbenson@redhat.com>
42583         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42584         unmapping the first object in a namespace.
42586 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42588         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42589         (__internal_setnetgrent): ... this.  Add internal_function to
42590         definition.  Add libc_hidden_def.
42591         (setnetgrent): Update caller.
42592         (internal_endnetgrent): Renamed to ...
42593         (__internal_endnetgrent): ... this.  Add internal_function to
42594         definition.  Add libc_hidden_def.
42595         (endnetgrent): Update caller.
42596         (internal_getnetgrent_r): Renamed to ...
42597         (__internal_getnetgrent_r): ... this.  Add internal_function to
42598         definition.  Add libc_hidden_def.
42599         (__getnetgrent_r): Update caller.
42600         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42602 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42604         * stdlib/longlong.h: Update from GCC.
42606 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42608         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42609         on _QL, which is set by umul_ppmm but never used.
42610         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42611         variables, which are set by GMP macros but never used.
42612         * stdio-common/_itowa.c (_itowa): Likewise.
42613         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42614         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42616 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42618         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42619         struct La_sh_regs is not constant.
42620         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42621         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42622         and struct La_sparc64_regs are not constant.
42624 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42626         * sysdeps/unix/sysv/linux/kernel-features.h
42627         (__ASSUME_POSIX_TIMERS): Remove.
42628         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42630         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42631         Make code unconditional.
42632         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42633         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42634         Make code unconditional.
42635         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42636         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42637         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42638         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42639         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42640         Make code unconditional.
42641         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42642         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42643         (__libc_missing_posix_timers): Remove.
42645 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42647         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42648         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42650         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42652         * elf/dl-sym.c: Include <stdlib.h>.
42654         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42655         constants, which avoids warnings in 32-bit builds.
42657         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42658         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42660         * misc/lseek.c: File moved to ...
42661         * io/lseek.c: ... here.
42663         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42665         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42666         shifting LEN more than 31 bits at once.
42668 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42670         [BZ #14195]
42671         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42672         segmentation fault for a case of two empty input strings.
42673         * string/test-strncasecmp.c (check1): Renamed to...
42674         (bz12205): ...this.
42675         (bz14195): Add new testcase for two empty input strings and N > 0.
42676         (test_main): Call new testcase, adapt for renamed function.
42678 2012-08-15  Andreas Jaeger  <aj@suse.de>
42680         [BZ #14090]
42681         * crypt/md5test2.c: New test, based on test supplied by Serge
42682         Belyshev <belyshev@depni.sinp.msu.ru>.
42683         * crypt/Makefile (xtests): Add md5test-giant..
42684         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42686 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42688         [BZ #14090]
42689         * crypt/md5.c (md5_process_block): Don't assume the buffer
42690         length is less than 2**32.
42691         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42692         length is less than 2**64.
42694 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42696         * string/str-two-way.h: Include <sys/param.h>.
42697         (MAX): Macro removed.
42699         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42700         Move #define and #undef of memmove to just before and after
42701         including <string.h>.
42703         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42704         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42705         and after including <string.h>.  Move declarations of
42706         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42707         to before #include "string/memmove.c".
42709         * include/dirent.h: Declare __getdirentries.
42711         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42712         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42714 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42716         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42717         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42718         * sysdeps/i386/configure: Regenerated.
42719         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42720         STABS_CURRENT_FILE, and STABS_FUN.
42721         (END): Remove call to STABS_FUN_END.
42722         (STABS_CURRENT_FILE1): Delete.
42723         (STABS_CURRENT_FILE): Likewise.
42724         (STABS_FUN): Likewise.
42725         (STABS_FUN_END): Likewise.
42726         (STABS_FUN2): Likewise.
42727         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42728         * sysdeps/x86_64/configure: Regenerated.
42730 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42732         * elf/dl-open.c: Include <atomic.h>.
42733         * elf/dl-lookup.c: Likewise.
42735 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42737         * sysdeps/unix/sysv/linux/kernel-features.h
42738         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42739         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42740         unconditionally.
42741         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42742         unconditionally.
42743         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42744         condition on __ASSUME_CLONE_THREAD_FLAGS.
42746 2012-08-14  Andreas Jaeger  <aj@suse.de>
42748         * sysdeps/i386/fpu/libm-test-ulps: Update.
42750 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42752         * include/atomic.h (atomic_exchange_and_add): Split into ...
42753         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42754         New atomic macros.
42756 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42760 2012-08-13  Jeff Law <law@redhat.com>
42762         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42763         null byte in the output string.
42765 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42767         * sysdeps/unix/sysv/linux/kernel-features.h
42768         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42769         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42770         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42771         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42772         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42773         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42774         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42776 2012-08-09  Jeff Law <law@redhat.com>
42778         [BZ #13939]
42779         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42780         When avoid_arena is set, don't retry in the that arena.  Pick the
42781         next one, whatever it might be.
42782         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42783         (arena_lock): Pass in new parameter to arena_get2.
42784         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42785         arena_get2.
42786         (__libc_malloc): Unify retrying after main arena failure with
42787         __libc_memalign version.
42788         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42790 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42792         [BZ #14166]
42793         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42794         to __redirect_strstr.
42795         (__strstr_sse42): Use typeof __redirect_strstr.
42796         (__strstr_ia32): Likewise.
42797         (__libc_strstr): New prototype.
42798         (strstr): Renamed to ...
42799         (__libc_strstr): This.
42800         (strstr): New strong alias of __libc_strstr.
42801         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42802         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42803         __redirect_time.
42804         Include <time.h>.
42805         (__libc_time): New prototype.
42806         (time_ifunc): Replace time with __libc_time.
42807         (time): New strong alias and hidden definition of __libc_time.
42808         (__GI_time): Remove strong alias.
42809         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42810         Include <stddef.h>.
42811         (memmove): Redefined to __redirect_memmove.
42812         (__memmove_sse2): Use typeof __redirect_memmove.
42813         (__memmove_ssse3): Likewise.
42814         (__memmove_ssse3_back): Likewise.
42815         (__libc_memmove): New prototype.
42816         (memmove): Renamed to ...
42817         (__libc_memmove): This.
42818         (memmove): New strong alias of __libc_memmove.
42820 2012-08-08  Mark Salter  <msalter@redhat.com>
42822         * elf/elf.h
42823         (R_MN10300_TLS_GD): Define.
42824         (R_MN10300_TLS_LD): Likewise.
42825         (R_MN10300_TLS_LDO): Likewise.
42826         (R_MN10300_TLS_GOTIE): Likewise.
42827         (R_MN10300_TLS_IE): Likewise.
42828         (R_MN10300_TLS_LE): Likewise.
42829         (R_MN10300_TLS_DTPMOD): Likewise.
42830         (R_MN10300_TLS_DTPOFF): Likewise.
42831         (R_MN10300_TLS_TPOFF): Likewise.
42832         (R_MN10300_SYM_DIFF): Likewise.
42833         (R_MN10300_ALIGN): Likewise.
42834         (R_MN10300_NUM): Update.
42836 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42839         Remove.
42841 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42843         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42845         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42846         sysdeps/unix -> sysdeps/posix move.
42847         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42849 2012-08-07      Allan McRae     <allan@archlinux.org>
42851         [BZ #14303]
42852         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42853         (SUNOS_CPP): Likewise.
42854         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42855         not found.
42856         (open_input): Call CPP using execvp.
42858 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42860         * sysdeps/unix/sysv/linux/kernel-features.h
42861         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42862         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42863         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42864         (__ASSUME_WAITID_SYSCALL): Likewise.
42865         * sysdeps/unix/sysv/linux/dl-execstack.c
42866         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42867         code unconditional.
42868         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42869         conditional code.
42870         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42871         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42872         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42873         code.
42874         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42875         unconditional.
42876         [__ASSUME_WAITID_SYSCALL]: Likewise.
42877         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42879 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42881         * sysdeps/unix/closedir.c: Renamed to ...
42882         * sysdeps/posix/closedir.c: ... here.
42883         * sysdeps/unix/dirfd.c: Renamed to ...
42884         * sysdeps/posix/dirfd.c: ... here.
42885         * sysdeps/unix/dirstream.h: Renamed to ...
42886         * sysdeps/posix/dirstream.h: ... here.
42887         * sysdeps/unix/fdopendir.c: Renamed to ...
42888         * sysdeps/posix/fdopendir.c: ... here.
42889         * sysdeps/unix/opendir.c: Renamed to ...
42890         * sysdeps/posix/opendir.c: ... here.
42891         * sysdeps/unix/readdir.c: Renamed to ...
42892         * sysdeps/posix/readdir.c: ... here.
42893         * sysdeps/unix/readdir_r.c: Renamed to ...
42894         * sysdeps/posix/readdir_r.c: ... here.
42895         * sysdeps/unix/rewinddir.c: Renamed to ...
42896         * sysdeps/posix/rewinddir.c: ... here.
42897         * sysdeps/unix/seekdir.c: Renamed to ...
42898         * sysdeps/posix/seekdir.c: ... here.
42899         * sysdeps/unix/telldir.c: Renamed to ...
42900         * sysdeps/posix/telldir.c: ... here.
42901         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42902         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42903         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42904         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42906         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42907         * bits/fcntl.h: ... here.
42909         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42910         not 0.
42911         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42912         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42913         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42914         (struct flock): Move l_start, l_len to the beginning.
42915         Use __pid_t for l_pid.
42916         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42917         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42918         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42919         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42920         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42921         [__USE_LARGEFILE64] (struct flock64): New type.
42922         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42924         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42925         * bits/dirent.h: ... here.
42927         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42928         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42930 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42933         Change from 2.6.0 to 2.6.16.
42934         * sysdeps/unix/sysv/linux/configure: Regenerated.
42935         * sysdeps/unix/sysv/linux/kernel-features.h
42936         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42937         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42938         version.
42939         (__ASSUME_UTIMES): Likewise.
42940         (__ASSUME_CLONE_STOPPED): Remove.
42941         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42942         architectures, not kernel version.
42943         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42944         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42945         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42946         (__ASSUME_WAITID_SYSCALL): Likewise.
42947         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42948         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42949         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42950         refer to older versions.
42952 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42954         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42955         Define alphasort64 as an alias.
42956         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42957         Define versionsort64 as an alias.
42958         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42959         Define scandir64 as an alias.
42960         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42961         Define scandirat64 as an alias.
42962         * dirent/alphasort64.c (alphasort64):
42963         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42964         * dirent/versionsort64.c: Likewise.
42965         * dirent/scandir64.c: Likewise.
42966         * dirent/scandirat64.c: Likewise.
42967         * sysdeps/wordsize-64/alphasort.c: File removed.
42968         * sysdeps/wordsize-64/alphasort64.c: File removed.
42969         * sysdeps/wordsize-64/scandir.c: File removed.
42970         * sysdeps/wordsize-64/scandir64.c: File removed.
42971         * sysdeps/wordsize-64/scandirat.c: File removed.
42972         * sysdeps/wordsize-64/scandirat64.c: File removed.
42973         * sysdeps/wordsize-64/versionsort.c: File removed.
42974         * sysdeps/wordsize-64/versionsort64.c: File removed.
42975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42976         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42977         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42979         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42981         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42982         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42984         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42986         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42988         [defined __arch64__ || defined __sparcv9]
42989         (__INO_T_MATCHES_INO64_T): New macro.
42990         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42991         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42992         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42993         * sysdeps/unix/sysv/linux/bits/dirent.h
42994         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42995         (_DIRENT_MATCHES_DIRENT64): New macro.
42997         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42998         Define lockf64 as an alias.
42999         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43000         Define fseeko64 as an alias.
43001         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43002         Define ftello64 as an alias.
43003         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43004         Define _IO_fgetpos64 and fgetpos64 as aliases.
43005         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43006         Define _IO_fsetpos64 and fsetpos64 as aliases.
43007         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43008         Conditionalize body on this.
43009         * libio/fseeko64.c: Likewise.
43010         * libio/ftello64.c: Likewise.
43011         * libio/iofgetpos64.c: Likewise.
43012         * libio/iofsetpos64.c: Likewise.
43013         * sysdeps/wordsize-64/lockf.c: File removed.
43014         * sysdeps/wordsize-64/lockf64.c: File removed.
43015         * sysdeps/wordsize-64/fseeko.c: File removed.
43016         * sysdeps/wordsize-64/fseeko64.c: File removed.
43017         * sysdeps/wordsize-64/ftello.c: File removed.
43018         * sysdeps/wordsize-64/ftello64.c: File removed.
43019         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43020         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43021         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43022         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43023         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43024         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43026         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43028         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43030         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43032         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43034         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43035         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43036         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43037         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43038         [defined __arch64__ || defined __sparcv9]
43039         (__OFF_T_MATCHES_OFF64_T): New macro.
43040         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43041         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43043         (__OFF_T_MATCHES_OFF64_T): New macro.
43045 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43047         * stdlib/secure-getenv.c (__secure_getenv): Replace
43048         GLIBC_2_16 with GLIBC_2_17.
43050 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43052         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43053         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43055 2012-08-03  David S. Miller  <davem@davemloft.net>
43057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43059 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43061         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43062         Remove.
43063         (__ASSUME_CORRECT_SI_PID): Likewise.
43064         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43065         (__ASSUME_TMPFS_NAME): Likewise.
43066         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43067         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43068         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43069         (HAVE_AUX_SECURE): Make definition unconditional.
43070         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43071         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43073 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43075         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43076         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43077         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43078         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43079         __eloop_threshold instead of SYMLOOP_MAX.
43081         * sysdeps/generic/eloop-threshold.h: New file.
43082         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43083         of MAXSYMLINKS.
43084         * elf/chroot_canon.c (chroot_canon): Likewise.
43086 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43088         [BZ #13717]
43089         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43090         Change to 2.6.0 everywhere.
43091         * sysdeps/unix/sysv/linux/configure: Regenerated.
43092         * sysdeps/unix/sysv/linux/kernel-features.h
43093         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43094         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43095         kernel versions.
43096         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43097         (__ASSUME_FUTEX_REQUEUE): Remove.
43098         (__ASSUME_STATFS64): Define unconditionally.
43099         (__ASSUME_AT_SECURE): Likewise.
43100         (__ASSUME_CORRECT_SI_PID): Likewise.
43101         (__ASSUME_TGKILL): Define without depending on kernel version for
43102         i386.
43103         (__ASSUME_UTIMES): Likewise.
43104         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43105         kernel version.
43106         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43107         (__ASSUME_TMPFS_NAME): Likewise.
43108         * README: Update reference to Linux kernel versions.
43110 2012-08-02  Marek Polacek  <polacek@redhat.com>
43112         [BZ# 14150]
43113         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43114         libc_cv_asm_type_prefix with %.
43115         * configure: Regenerated.
43116         * include/libc-symbols.h: Remove comment about
43117         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43118         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43119         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43120         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43121         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43122         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43123         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43124         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43125         * elf/tst-unique2mod1.c: Likewise.
43126         * elf/tst-unique1mod2.c: Likewise.
43127         * elf/tst-unique1mod1.c: Likewise.
43128         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43129         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43130         Replace ASM_TYPE_DIRECTIVE with .type.
43131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43132         * sysdeps/i386/sysdep.h: Likewise.
43133         * sysdeps/x86_64/sysdep.h: Likewise.
43134         * sysdeps/sh/sysdep.h: Likewise.
43135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43136         Do not define ASM_TYPE_DIRECTIVE.
43137         * sysdeps/powerpc/sysdep.h: Likewise.
43138         * sysdeps/powerpc/powerpc32/sysdep.h:
43139         Replace ASM_TYPE_DIRECTIVE with .type.
43140         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43141         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43142         * sysdeps/i386/fpu/e_powf.S: Likewise.
43143         * sysdeps/i386/fpu/e_expl.S: Likewise.
43144         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43145         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43146         * sysdeps/i386/fpu/e_pow.S: Likewise.
43147         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43148         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43149         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43150         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43151         * sysdeps/i386/fpu/e_log2.S: Likewise.
43152         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43153         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43154         * sysdeps/i386/fpu/e_powl.S: Likewise.
43155         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43156         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43157         * sysdeps/i386/fpu/e_logl.S: Likewise.
43158         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43159         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43160         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43161         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43162         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43163         * sysdeps/i386/fpu/e_log.S: Likewise.
43164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43165         * sysdeps/i386/fpu/e_logf.S: Likewise.
43166         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43167         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43168         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43169         * sysdeps/i386/fpu/e_log10.S: Likewise.
43170         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43171         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43172         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43173         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43174         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43175         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43176         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43177         * sysdeps/i386/i686/strtok.S: Likewise.
43178         * sysdeps/i386/i386-mcount.S: Likewise.
43179         * sysdeps/i386/strtok.S: Likewise.
43180         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43181         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43182         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43183         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43184         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43185         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43186         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43187         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43189         * sysdeps/x86_64/_mcount.S: Likewise.
43190         * sysdeps/x86_64/strtok.S: Likewise.
43191         * sysdeps/sh/_mcount.S: Likewise.
43193 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43195         * libio/iofopen.c: Include <fcntl.h>.
43196         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43197         (_IO_fopen64, fopen64): Define as aliases.
43198         * libio/iofopen64.c: Include <fcntl.h>.
43199         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43200         Conditionalize body on this.
43201         * sysdeps/wordsize-64/iofopen.c: File removed.
43202         * sysdeps/wordsize-64/iofopen64.c: File removed.
43204 2012-08-01  Marek Polacek  <polacek@redhat.com>
43206         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43207         Use dlfcn directly instead of a variable.
43208         (binfmt-subdir): Do not define.
43209         (dlfcn): Likewise.
43211 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43214         Remove all definitions.
43215         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43216         <kernel-features.h>.
43217         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43218         (miss_F_GETOWN_EX): Remove all definitions.
43219         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43220         macro definition.
43221         [!__ASSUME_FCNTL64]: Remove conditional code.
43222         [__ASSUME_FCNTL64]: Make code unconditional.
43223         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43224         <kernel-features.h>.
43225         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43226         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43227         (lockf64) [__NR_fcntl64]: Make code unconditional.
43228         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43230         * sysdeps/unix/sysv/linux/kernel-features.h
43231         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43232         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43233         Make code unconditional.
43234         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43235         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43237         [__NR_vfork]: Make code unconditional.
43238         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43239         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43241         [__NR_vfork]: Make code unconditional.
43242         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43243         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43245 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43247         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43248         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43250         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43251         Define mkstemp64 as an alias.
43252         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43253         Define mkstemps64 as an alias.
43254         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43255         Define mkostemp64 as an alias.
43256         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43257         Define mkostemps64 as an alias.
43258         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43259         Conditionalize body on this.
43260         * misc/mkostemp64.c: Likewise.
43261         * misc/mkostemps64.c: Likewise.
43262         * misc/mkstemps64.c: Likewise.
43263         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43264         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43265         * sysdeps/wordsize-64/mkostemp.c: File removed.
43266         * sysdeps/wordsize-64/mkstemp.c: File removed.
43267         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43269         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43270         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43272         [BZ #14138]
43273         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43274         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43275         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43276         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43278         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43279         compat_symbol macros from <shlib-compat.h> rather than the underlying
43280         default_symbol_version and symbol_version macros, so that DEFAULT
43281         lines in shlib-versions are respected.
43282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43284 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43286         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43287         Declare with warn_unused_result.
43288         (setgid, setregid, setegid, setresgid): Likewise.
43289         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43290         Likewise.
43291         * WUR-REPORT: Remove set*id functions.
43293 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43295         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43297 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43299         [BZ #10191]
43300         * include/sys/socket.h (__libc_accept, __libc_accept4):
43301         Add attribute_hidden.
43302         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43304         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43305         use of PTR_MANGLE.
43306         * inet/getnetgrent_r.c (setup): Likewise.
43308         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43310 2012-07-31  David S. Miller  <davem@davemloft.net>
43312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43314 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43316         [BZ #13629]
43317         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43318         value between 1.0 and 2.0 and smaller part has absolute value less
43319         than 1.0.
43320         * math/s_clog10.c (__clog10): Likewise.
43321         * math/s_clog10f.c (__clog10f): Likewise.
43322         * math/s_clog10l.c (__clog10l): Likewise.
43323         * math/s_clogf.c (__clogf): Likewise.
43324         * math/s_clogl.c (__clogl): Likewise.
43325         * math/libm-test.inc (clog_test): Add more tests.
43326         (clog10_test): Likewise.
43327         * sysdeps/i386/fpu/libm-test-ulps: Update.
43328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43330 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43332         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43333         Exit with zero in case no suitable GID is found, and write a
43334         message to standard error.
43336 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43338         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43339         rather than to 1.
43340         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43341         (MAXPATHLEN): Removed.
43342         (NOGROUP, NODEV): New macros.
43343         (setbit, clrbit, isset, isclr): New macros.
43344         (howmany, roundup, powerof2): New macros.
43345         (DEV_BSIZE): New macro.
43347         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43348         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43350         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43351         definition on [!__NO_LONG_DOUBLE_MATH].
43353         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43354         PTR_MANGLE and PTR_DEMANGLE.
43356         * socket/accept4.c (accept4): Rename to __libc_accept4.
43357         Define accept4 as a weak alias.
43359         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43360         on [_DIRENT_HAVE_D_TYPE].
43361         * io/ftw.c (ftw_dir): Likewise.
43363         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43365         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43367         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43368         Use the BSD numbers rather than the arbitrary ones we had.
43369         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43370         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43371         (SIGXCPU, SIGXFSZ): New macros.
43372         (_NSIG): Now 32.
43374         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43375         initializer on [_LIBC_REENTRANT].
43377         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43378         definitions inside [_POSIX_MAPPED_FILES].
43380         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43382         * dirent/opendir.c: Include <fcntl.h>.
43384         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43385         (__libc_getspecific): Likewise.
43386         (__libc_key_create): Likewise.
43388         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43389         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43390         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43391         (tmpfile64): Define as alias.
43392         * sysdeps/wordsize-64/tmpfile.c: File removed.
43393         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43394         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43395         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43397         * stdio-common/vfscanf.c: Include <stdbool.h>.
43398         * nss/makedb.c: Likewise.
43399         * stdio-common/_i18n_number.h: Likewise.
43400         * argp/argp-help.c: Likewise.
43401         * posix/wordexp.c: Likewise.
43402         * sysdeps/posix/spawni.c: Likewise.
43403         * nss/nss_files/files-initgroups.c: Likewise.
43404         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43405         * nss/nss_files/files-initgroups.c: Likewise.
43406         * nss/nss_db/db-netgrp.c: Likewise.
43407         * nss/nss_db/db-initgroups.c: Likewise.
43408         * io/fchmodat.c: Include <sys/stat.h>.
43410         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43411         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43413         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43414         [HAVE_MMAP].
43416         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43417         Add multiple inclusion protection.
43419 2012-07-27  David S. Miller  <davem@davemloft.net>
43421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43423 2012-07-27  Gary Benson  <gbenson@redhat.com>
43425         [BZ #14298]
43426         * elf/rtld.c: Include <stap-probe.h>.
43427         (dl_main): Added static probes "init_start" and "init_complete".
43428         * elf/dl-load.c: Include <stap-probe.h>.
43429         (lose): Take new parameter "nsid".
43430         Added static probe "map_failed".
43431         (_dl_map_object_from_fd): Pass namespace id to lose.
43432         Added static probe "map_start".
43433         (open_verify): Pass namespace id to lose.
43434         * elf/dl-open.c: Include <stap-probe.h>.
43435         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43436         and "reloc_complete".
43437         * elf/dl-close.c: Include <stap-probe.h>.
43438         (_dl_close_worker): Added static probes "unmap_start" and
43439         "unmap_complete".
43440         * elf/rtld-debugger-interface.txt: New file documenting the above.
43442 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43444         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43445         rather than a string variable.
43446         * sunrpc/rpc_main.c (h_output): Likewise.
43447         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43449 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43451         * inet/check_native.c: New file.
43453 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43455         [BZ #13629]
43456         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43457         if larger part has absolute value 1.0.
43458         * math/s_clog10.c (__clog10): Likewise.
43459         * math/s_clog10f.c (__clog10f): Likewise.
43460         * math/s_clog10l.c (__clog10l): Likewise.
43461         * math/s_clogf.c (__clogf): Likewise.
43462         * math/s_clogl.c (__clogl): Likewise.
43463         * math/libm-test.inc (clog_test): Add more tests.
43464         (clog10_test): Likewise.
43465         * sysdeps/i386/fpu/libm-test-ulps: Update.
43466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43468         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43469         (pltexit): Likewise.
43470         (La_regs): Likewise.
43471         (La_retval): Likewise.
43472         (int_retval): Likewise.
43473         Update #error for removed macros to refer only to definitions in
43474         tst-audit.h.
43475         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43476         macro.
43477         (pltexit): Likewise.
43478         (La_regs): Likewise.
43479         (La_retval): Likewise.
43480         (int_retval): Likewise.
43481         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43482         macro.
43483         (pltexit): Likewise.
43484         (La_regs): Likewise.
43485         (La_retval): Likewise.
43486         (int_retval): Likewise.
43487         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43488         macro.
43489         (pltexit): Likewise.
43490         (La_regs): Likewise.
43491         (La_retval): Likewise.
43492         (int_retval): Likewise.
43493         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43494         macro.
43495         (pltexit): Likewise.
43496         (La_regs): Likewise.
43497         (La_retval): Likewise.
43498         (int_retval): Likewise.
43499         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43500         macro.
43501         (pltexit): Likewise.
43502         (La_regs): Likewise.
43503         (La_retval): Likewise.
43504         (int_retval): Likewise.
43505         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43506         macro.
43507         (pltexit): Likewise.
43508         (La_regs): Likewise.
43509         (La_retval): Likewise.
43510         (int_retval): Likewise.
43511         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43512         macro definitions in tst-audit.h.
43513         * sysdeps/i386/tst-audit.h: New file.
43514         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43515         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43516         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43517         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43518         * sysdeps/sh/tst-audit.h: Likewise.
43519         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43520         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43521         * sysdeps/x86_64/tst-audit.h: Likewise.
43523 2012-07-26  Andreas Jaeger  <aj@suse.de>
43525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43526         ptrace.
43528         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43529         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43530         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43531         PTRACE_O_MASK.
43532         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43533         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43534         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43536         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43537         value.
43539         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43540         _sigsys.
43541         (si_call_addr, si_syscall, si_arch): Define new macro.
43542         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43543         _sigsys.
43544         (si_call_addr, si_syscall, si_arch): Define new marcro.
43545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43546         _sigsys.
43547         (si_call_addr, si_syscall, si_arch): Define new macro.
43548         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43549         _sigsys.
43550         (si_call_addr, si_syscall, si_arch): Define new macro.
43552 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43554         [BZ #13717]
43555         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43556         Change to 2.4.21 where previously 2.4.1.
43557         * sysdeps/unix/sysv/linux/configure: Regenerated.
43558         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43559         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43560         Linux kernel version.
43561         (__ASSUME_STD_AUXV): Remove.
43562         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43563         kernel version.
43564         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43565         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43566         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43567         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43568         (__ASSUME_NETLINK_SUPPORT): Likewise.
43569         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43570         (__no_netlink_support): Remove conditional definition.
43571         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43572         Remove.
43573         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43574         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43575         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43576         (if_nameindex_ioctl): Remove.
43577         (if_nameindex_netlink): Do not handle __no_netlink_support.
43578         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43579         code.
43580         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43581         Remove conditional code.
43582         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43583         code.
43584         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43585         unconditional.
43586         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43587         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43588         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43589         Remove.
43590         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43591         [!__ASSUME_STD_AUXV]: Remove conditional code.
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43593         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43594         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43596         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43597         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43598         code.
43599         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43601         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43602         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43603         conditional code.
43604         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43606         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43607         code.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43610         conditional code.
43611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43612         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43613         code unconditional.
43614         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43615         conditional code.
43616         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43617         unconditional.
43618         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43619         conditional code.
43620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43621         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43622         unconditional.
43623         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43624         conditional code.
43625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43626         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43627         code unconditional.
43628         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43629         conditional code.
43630         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43631         unconditional.
43632         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43633         conditional code.
43634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43635         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43636         code unconditional.
43637         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43638         conditional code.
43639         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43640         unconditional.
43641         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43642         conditional code.
43644 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43646         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43647         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43648         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43649         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43650         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43651         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43652         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43653         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43654         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43655         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43656         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43657         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43658         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43659         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43660         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43661         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43662         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43663         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43664         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43666         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43667         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43668         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43670 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43672         * Versions.def: Add GLIBC_2.17.
43673         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43674         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43675         Introduce __libc_secure_getenv.
43676         * stdlib/Versions (2.17): Add secure_getenv
43677         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43678         * stdlib/secure-getenv.c: Rename __secure_getenv to
43679         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43680         symbol __secure_getenv for GLIBC_2.0.
43681         * stdlib/tst-secure-getenv.c: New.
43682         * stdlib/Makefile (tests): Add testcase.
43683         * manual/startup.texi (Environment Access): Document
43684         secure_getenv.
43685         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43686         __libc_secure_getenv.
43687         * inet/ruserpass.c (ruserpass): Likewise.
43688         * malloc/mtrace.c (mtrace): Likewise.
43689         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43690         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43691         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43692         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43693         HAVE_SECURE_GETENV.
43694         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43695         __secure_getenv to __libc_secure_getenv.
43696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43698         Likewise.
43699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43700         Likewise.
43701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43709 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43711         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43712         (struct La_i86_retval): Likewise.
43713         (struct La_x86_64_regs): Likewise.
43714         (struct La_x86_64_retval): Likewise.
43715         (struct La_x32_regs): Likewise.
43716         (struct La_x32_retval): Likewise.
43717         (struct La_ppc32_regs): Likewise.
43718         (struct La_ppc32_retval): Likewise.
43719         (struct La_ppc64_regs): Likewise.
43720         (struct La_ppc64_retval): Likewise.
43721         (struct La_sh_regs): Likewise.
43722         (struct La_sh_retval): Likewise.
43723         (struct La_s390_32_regs): Likewise.
43724         (struct La_s390_32_retval): Likewise.
43725         (struct La_s390_64_regs): Likewise.
43726         (struct La_s390_64_retval): Likewise.
43727         (struct La_sparc32_regs): Likewise.
43728         (struct La_sparc32_retval): Likewise.
43729         (struct La_sparc64_regs): Likewise.
43730         (struct La_sparc64_retval): Likewise.
43731         (struct audit_ifaces): Remove architecture-specific pltenter and
43732         pltexit members.
43733         * sysdeps/i386/ldsodefs.h: New file.
43734         * sysdeps/powerpc/ldsodefs.h: Likewise.
43735         * sysdeps/s390/ldsodefs.h: Likewise.
43736         * sysdeps/sh/ldsodefs.h: Likewise.
43737         * sysdeps/sparc/ldsodefs.h: Likewise.
43738         * sysdeps/x86_64/ldsodefs.h: Likewise.
43740 2012-07-25  Marek Polacek  <polacek@redhat.com>
43742         [BZ #6808]
43743         * math/libm-test.inc (yn_test): Add another test.
43744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43745         to ERANGE when the result is +-Inf.
43746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43747         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43748         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43749         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43751 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43753         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43754         equal to 0.
43755         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43756         clock_t.
43757         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43759 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43761         * configure.in <sysdeps resolving>: Correct printing
43762         Implies_before.
43763         * configure: Regenerate.
43765 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43767         * math/w_ilogb.c: Include <limits.h>.
43768         * math/w_ilogbl.c: Likewise.
43770 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43772         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43773         va_copy.  Document allowing for unavailable va_copy only as
43774         pre-C99 compatibility.
43775         * manual/string.texi (Copying and Concatenation): Use va_copy
43776         instead of __va_copy in concat example.
43778 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43780         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43781         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43782         it if not null.
43784         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43785         with O_NOLINK passed to __file_name_lookup.
43787         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43788         with O_NOLINK passed to __file_name_lookup.
43790         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43791         negative N or less than NGIDS.
43793         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43794         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43795         enough.  Use memcpy instead of strncpy.
43797 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43799         * elf/Makefile (check-data): Remove.
43800         (localplt.data): New vpath directive.
43801         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43802         instead of $(check-data).
43803         * scripts/data/localplt-generic.data: Move to ...
43804         * sysdeps/generic/localplt.data: ... here.
43805         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43806         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43807         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43809         ... here.
43810         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43812         ... here.
43813         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43815         ... here.
43816         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43818         ... here.
43819         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43821         ... here.
43822         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43824         ... here.
43826 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43828         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43829         PPC32 and PPC64 files.
43830         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43831         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43833 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43835         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43836         __makecontext_ret to ...
43837         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43838         ... here and call exit if uc_link is NULL.  New file.
43839         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43840         __makecontext_ret.S.
43841         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43842         __makecontext_ret to ...
43843         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43844         ... here and call exit if uc_link is NULL.  New file.
43845         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43846         __makecontext_ret.S.
43848 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43850         * elf/elf.h (R_390_IRELATIVE): New definition.
43851         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43852         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43853         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43855         (elf_machine_lazy_rel): Likewise.
43856         * sysdeps/s390/dl-irel.h: New file.
43857         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43858         * sysdeps/s390/s390-64/memset.S: New asm code.
43859         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43860         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43861         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43862         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43863         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43864         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43865         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43866         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43867         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43868         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43869         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43870         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43871         * sysdeps/s390/s390-32/memset.S: New asm code.
43872         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43874 2012-07-17  Marek Polacek  <polacek@redhat.com>
43876         [BZ #14349]
43877         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43878         * sysdeps/s390/s390-64/configure.in: Likewise.
43879         * sysdeps/sparc/configure.in: Likewise.
43880         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43881         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43882         * sysdeps/i386/configure.in: Likewise.
43883         * sysdeps/x86_64/configure.in: Likewise.
43884         * sysdeps/sh/configure.in: Likewise.
43885         * sysdeps/s390/s390-32/configure: Regenerated.
43886         * sysdeps/s390/s390-64/configure: Likewise.
43887         * sysdeps/x86_64/configure: Likewise.
43888         * sysdeps/sh/configure: Likewise.
43889         * sysdeps/powerpc/powerpc64/configure: Likewise.
43890         * sysdeps/powerpc/powerpc32/configure: Likewise.
43891         * sysdeps/sparc/configure: Likwise.
43892         * sysdeps/i386/configure: Likewise.
43894         * elf/dl-open.c: Comment fixes.
43896 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43898         * Makefile [CXX] (check-data): Remove.
43899         [CXX] (c++-types.data): New vpath directive.
43900         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43901         vpath.  Do not allow for C++ type data being missing.
43902         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43903         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43904         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43905         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43906         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43907         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43908         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43910         ... here.
43911         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43913         ... here.
43914         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43916         ... here.
43917         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43919         ... here.
43920         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43922         ... here.
43923         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43925         ... here.
43926         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43928         ... here.
43929         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43932         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43933         definitions to architecture-specific files.
43934         (TLS_IE): Likewise.
43935         (TLS_LD): Likewise.
43936         (TLS_GD): Likewise.
43937         * sysdeps/i386/tls-macros.h: New file.
43938         * sysdeps/powerpc/tls-macros.h: Likewise.
43939         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43940         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43941         * sysdeps/sh/tls-macros.h: Likewise.
43942         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43943         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43944         * sysdeps/x86_64/tls-macros.h: Likewise.
43946 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43948         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43949         zero value for regular exit case.
43951         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43952         (__start_context): Preserve zero value for regular exit case.
43954 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43955             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43957         * manual/setjmp.texi (setcontext): Clarify normal process
43958         termination when uc_link is the null pointer.
43959         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43960         exit call.
43962 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43964         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43965         preprocessor.  Test for each exception mask separately.
43967 2012-07-16  Andreas Jaeger  <aj@suse.de>
43969         * po/ru.po: Update from translation team.
43971 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43973         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43974         equal to 0.
43975         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43976         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43977         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43978         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43979         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43981 2012-07-13  Andreas Jaeger  <aj@suse.de>
43983         * po/fr.po: Update from translation team.
43985 2012-07-12  Marek Polacek  <polacek@redhat.com>
43987         [BZ #14173]
43988         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43989         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43990         loop condition.
43992 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43994         [BZ #13717]
43995         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43996         Change to 2.4.1 where previously 2.4.0.
43997         * sysdeps/unix/sysv/linux/configure: Regenerated.
43998         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43999         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44000         version.
44001         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44002         (__ASSUME_AT_CLKTCK): Remove.
44003         (__ASSUME_AT_PAGESIZE): Likewise.
44004         (__ASSUME_AT_XID): Likewise.
44005         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44006         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44007         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44008         unconditionally.
44009         (HAVE_AUX_PAGESIZE): Likewise.
44010         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44011         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44012         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44014 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44016         [BZ #14307]
44017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44018         the temporary buffer used to invoke __gethostbyname2_r,
44019         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44020         host_data / struct gaih_addrtuple.
44021         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44022         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44023         header file nss/nsswitch.h.
44024         * nss/nsswitch.h (global scope): Add definition of implementation
44025         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44026         resolv/nss_dns/dns-host.c).
44028 2012-07-11  Andreas Jaeger  <aj@suse.de>
44030         * po/fr.po: Update from translation team.
44032         * po/sv.po: Update from translation team
44033         * po/fr.po: Another update from translation team.
44035 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44037         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44038         for subnormals or multiply small sinh result by itself.
44039         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44042 2012-07-11  David S. Miller  <davem@davemloft.net>
44044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44046 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44048         [BZ #14347]
44049         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44050         (INTERNAL_MARK): Shift it here.
44052 2012-07-10  Marek Polacek  <polacek@redhat.com>
44054         [BZ #14151]
44055         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44056         libc_cv_asm_global_directive with .globl.
44057         * configure: Regenerated.
44058         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44059         with .globl.
44060         * sysdeps/i386/configure: Regenerated.
44061         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44062         with .globl.
44063         * sysdeps/x86_64/configure: Regenerated.
44064         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44065         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44066         * elf/tst-unique2mod2.c: Likewise.
44067         * elf/tst-unique2mod1.c: Likewise.
44068         * elf/tst-unique1mod2.c: Likewise.
44069         * elf/tst-unique1mod1.c: Likewise.
44070         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44071         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44073         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44074         * sysdeps/mach/sysdep.h: Likewise.
44075         * sysdeps/i386/sysdep.h: Likewise.
44076         * sysdeps/i386/i386-mcount.S: Likewise.
44077         * sysdeps/x86_64/_mcount.S: Likewise.
44078         * sysdeps/x86_64/sysdep.h: Likewise.
44079         * sysdeps/sh/_mcount.S: Likewise.
44080         * sysdeps/sh/sysdep.h: Likewise.
44081         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44082         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44083         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44084         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44085         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44086         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44087         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44088         * locale/localeinfo.h: Likewise.
44089         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44090         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44092 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44094         [BZ #14336]
44095         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44096         system".
44097         * manual/message.texi (The Uniforum approach): Likewise.
44098         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44099         (glibc iconv Implementation): Likewise.
44101 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44103         [BZ #14337]
44104         * math/s_clog.c (__clog): Avoid scaling a value down where that
44105         could result in underflow.
44106         * math/s_clog10.c (__clog10): Likewise.
44107         * math/s_clog10f.c (__clog10f): Likewise.
44108         * math/s_clog10l.c (__clog10l): Likewise.
44109         * math/s_clogf.c (__clogf): Likewise.
44110         * math/s_clogl.c (__clogl): Likewise.
44111         * math/libm-test.inc (clog_test): Add more tests.
44112         (clog10_test): Likewise.
44113         * sysdeps/i386/fpu/libm-test-ulps: Update.
44114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44116 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44118         [BZ #14283]
44119         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44120         by 7 not 8 to examine high bit of fractional part.
44122         [BZ #14042]
44123         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44124         for call to __mcount_internal.
44125         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44126         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44127         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44129 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44131         [BZ #14154]
44132         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44133         approximation for values within 0x1p-13f of an odd multiple of
44134         pi/4.
44135         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44136         exception.  Add more tests.
44137         * sysdeps/i386/fpu/libm-test-ulps: Update.
44139         [BZ #6778]
44140         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44141         inputs and return -1 for them.  Do not check for +Inf in case not
44142         reachable for +Inf.
44143         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44144         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44145         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44146         and return -1 for them.  Do not check for +Inf in case not
44147         reachable for +Inf.
44148         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44149         define.
44150         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44151         and return -1 for them.  Do not check for +Inf in case not
44152         reachable for +Inf.
44153         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44154         spurious underflow.
44155         * sysdeps/i386/fpu/libm-test-ulps: Update.
44156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44158 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44160         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44162 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44164         [BZ #14157]
44165         [BZ #14331]
44166         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44167         could result in spurious underflow.  Scale down values above
44168         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44169         * math/s_csqrtf.c (__csqrtf): Likewise.
44170         * math/s_csqrtl.c (__csqrtl): Likewise.
44171         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44172         spurious underflow.
44173         * sysdeps/i386/fpu/libm-test-ulps: Update.
44174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44176 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44178         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44179         xopen-msg.sed.
44180         * catgets/xopen-msg.awk: New file.
44181         * catgets/xopen-msg.sed: Removed.
44183         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44184         po2text.sed.
44185         * intl/po2test.awk: New file.
44186         * intl/po2test.sed: Removed.
44188 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44190         [BZ #14328]
44191         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44192         or multiply small sinh result by itself.
44193         * math/s_ctanf.c (__ctanf): Likewise.
44194         * math/s_ctanh.c (__ctanh): Likewise.
44195         * math/s_ctanhf.c (__ctanhf): Likewise.
44196         * math/s_ctanhl.c (__ctanhl): Likewise.
44197         * math/s_ctanl.c (__ctanl): Likewise.
44198         * math/libm-test.inc (ctan_test_tonearest): New function.
44199         (ctan_test_towardzero): Likewise.
44200         (ctan_test_downward): Likewise.
44201         (ctan_test_upward): Likewise.
44202         (ctanh_test_tonearest): Likewise.
44203         (ctanh_test_towardzero): Likewise.
44204         (ctanh_test_downward): Likewise.
44205         (ctanh_test_upward): Likewise.
44206         (main): Call these new functions.
44207         * sysdeps/i386/fpu/libm-test-ulps: Update.
44208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44210 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44212         * .gitignore: Delete /ports entry.
44214 2012-07-03  Andreas Jaeger  <aj@suse.de>
44216         * po/bg.po: Update from translation team.
44217         * po/cs.po: Likewise.
44218         * po/de.po: Likewise.
44219         * po/hr.po: Likewise.
44220         * po/nl.pl: Likewise.
44221         * po/pl.po: Likewise.
44222         * po/vi.po: Likewise.
44224 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44226         * Makeconfig [!+link] (+link-before-libc): New variable.
44227         [!+link] (+link-after-libc): Likewise.
44228         [!+link] (+link-tests): Likewise.
44229         [!+link] (+link): Define in terms of $(+link-before-libc) and
44230         $(+link-after-libc).
44231         [!+link-static] (+link-static-before-libc): New variable.
44232         [!+link-static] (+link-static-after-libc): Likewise.
44233         [!+link-static] (+link-static-tests): Likewise.
44234         [!+link-static] (+link-static): Define in terms of
44235         $(+link-static-before-libc) and $(+link-static-after-libc).
44236         [build-shared] (link-libc-before-gnulib): New variable.
44237         [build-shared] (link-libc-tests): Likewise.
44238         [build-shared] (link-libc): Define in terms of
44239         $(link-libc-before-gnulib).
44240         [!build-shared] (link-libc-tests): New variable.
44241         (link-libc-static-tests): New variable.
44242         [!gnulib] (gnulib-arch): New variable.
44243         [!gnulib] (gnulib-tests): Likewise.
44244         [!gnulib] (static-gnulib-arch): Likewise.
44245         [!gnulib] (static-gnulib-tests): Likewise.
44246         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44247         Define with "=" instead of ":=".
44248         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44249         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44250         * Rules (binaries-all-notests): New variable.
44251         (binaries-all-tests): Likewise.
44252         (binaries-static-notests): Likewise.
44253         (binaries-static-tests): Likewise.
44254         (binaries-all): Define using $(binaries-all-notests) and
44255         $(binaries-all-tests).
44256         (binaries-static): Define using $(binaries-static-notests) and
44257         $(binaries-static-tests).
44258         (binaries-shared-tests): New variable.
44259         (binaries-shared-notests): Likewise.
44260         (binaries-shared): Remove variable.
44261         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44262         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44263         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44264         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44265         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44266         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44267         * elf/Makefile (sln-modules): New variable.
44268         (extra-objs): Add $(sln-modules:=.o).
44269         (ldconfig-modules): Add static-stubs.
44270         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44271         * elf/static-stubs.c: New file.
44273         [BZ #14283]
44274         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44275         by 7 not 8 to examine high bit of fractional part.  Use volatile
44276         variables when splitting into final array of floats if
44277         __FLT_EVAL_METHOD__ != 0.
44278         * math/libm-test.inc (cos_test): Add another test.
44279         (sin_test): Likewise.
44280         * sysdeps/i386/fpu/libm-test-ulps: Update.
44282         [BZ #14273]
44283         * math/libm-test.inc (cosh_test): Add more tests.
44285         * version.h (RELEASE): Set to "development".
44286         (VERSION): Set to "2.16.90".
44288 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44290         * NEWS: Update copyright. Remove last-updated date.
44291         Mention math library bug fixes and timezone data changes.
44292         * README: Mention GNU/Hurd, x32, and HPPA support status.
44294 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44296         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44298 2012-06-27  Andreas Jaeger  <aj@suse.de>
44300         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44302 2012-06-25  Andreas Jaeger  <aj@suse.de>
44304         * sysdeps/s390/fpu/libm-test-ulps: Update.
44306 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44307             Thomas Schwinge  <thomas@codesourcery.com>
44309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44310         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44312         fanotify_mark.
44314 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44316         * sysdeps/mach/start.c: Remove file.
44317         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44318         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44319         * sysdeps/sh/init-first.c: Likewise.
44321         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44322         registers for frame unwinding purposes, add CFI directives.
44323         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44324         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44325         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44326         Likewise.
44328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44329         __fortify_fail returning.
44330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44332         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44333         sysdeps/sh/____longjmp_chk.S.
44334         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44335         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44336         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44337         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44339         * sysdeps/sh/abort-instr.h: New file.
44340         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44341         process in case exit returns.
44343         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44344         initialize the GOT register before use.
44346         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44347         calculation of ARGC > 4.
44349         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44350         meaningful names to some local labels.
44352 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44353             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44355         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44356         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44357         (__arch_compare_and_exchange_val_16_acq): Likewise.
44358         (__arch_compare_and_exchange_val_32_acq): Likewise.
44359         (atomic_exchange_and_add): Fix gUSA sequence.
44360         (atomic_add): Likewise.
44361         (atomic_add_negative): Likewise.
44362         (atomic_add_zero): Likewise.
44363         (atomic_bit_test_set): Likewise.
44365 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44367         [BZ #13579]
44368         * include/link.h (struct link_map): Add l_free_initfini.
44369         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44370         l_initfini.
44371         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44372         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44373         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44374         set.
44376 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44378         * configure.in: Use AC_LANG_SOURCE.
44379         * configure: Regenerate.
44381 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44383         * configure.in (libc_cv_localstatedir): New substituted variable.
44384         * configure: Regenerated.
44385         * config.make.in (localstatedir): New variable, substituted from
44386         libc_cv_localstatedir.
44387         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44388         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44389         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44390         * sysdeps/gnu/configure: Regenerated.
44392 2012-06-21  Jeff Law  <law@redhat.com>
44394         [BZ #14277]
44395         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44396         free.  Simplify list management for _LIBC case.
44398 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44400         [BZ #14273]
44401         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44402         Clear sign bit of 64-bit integer value before comparing against
44403         overflow value.
44405         * sysdeps/mach/configure: Regenerated.
44407 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44409         [BZ #14278]
44410         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44412 2012-06-21  Jeff Law  <law@redhat.com>
44414         [BZ #13882]
44415         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44416         uint16_t for elements in the "seen" array to avoid char overflows.
44417         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44418         * elf/dl-open.c (dl_open_worker): Likewise.
44420 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44422         * scripts/list-sources.sh: Scan PORTS for translations.
44423         * po/libc.pot: Regenerated.
44425 2012-06-21  Andreas Jaeger  <aj@suse.de>
44427         [BZ #12194]
44428         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44429         warning.
44430         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44431         * bits/byteswap-16.h (__bswap_16): Likewise.
44432         * bits/byteswap.h (__bswap_constant_16): Likewise.
44434 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44436         [BZ #14117]
44437         * sysdeps/i386/fpu_control.h: Removed.
44438         * sysdeps/x86_64/fpu_control.h: Moved to ...
44439         * sysdeps/x86/fpu_control.h: Here.
44441         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44442         (_FPU_SETCW): Likewise.
44444 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44446         [BZ #14117]
44447         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44448         * sysdeps/x86/fpu/bits/mathinline.h: This.
44449         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44451         [BZ #14050]
44452         [BZ #14117]
44453         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44454         functions if __x86_64__ is defined.
44456 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44458         * string/endian.h: Add !__ASSEMBLER__ condition for including
44459         conversion interfaces.
44461 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44463         [BZ #14241]
44464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44465         of ABS(x) in calculating zero to negative powers other than odd
44466         integers.
44467         * math/libm-test.inc (pow_test): Add more tests.
44469 2012-06-15  Andreas Jaeger  <aj@suse.de>
44471         * manual/contrib.texi (Contributors): Update entry of Liubov
44472         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44473         Machado Filho.
44475 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44477         * string/string.h: Add __wur to GNU version of strerror_r.
44479 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44481         [BZ #14229]
44482         * string/Makefile (tests): Add tst-strtok_r.
44483         * string/tst-strtok_r.c: New file.
44484         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44485         RAX_LP/RDX_LP on SAVE_PTR.
44487 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44489         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44491 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44493         * libm_test.inc (csqrt_test): Allow more spurious underflow
44494         exceptions.
44495         (j0_test): Likewise.
44496         (j1_test): Likewise.
44497         (y0_test): Likewise.
44498         (y1_test): Likewise.
44500 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44502         * po/Makefile (libc.pot): Use UTF-8 charset.
44504 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44506         [BZ #14210]
44507         Suppress sign-conversion warning from FD_SET.
44508         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44509         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44510         not unsigned long int.
44511         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44513 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44515         [BZ #14050]
44516         [BZ #14117]
44517         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44518         __extern_always_inline instead of __extern_inline.
44519         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44520         (__signbit): Likewise.
44521         (__signbitl): Support C++ namespace.
44522         (lrintf): New inline function.
44523         (lrint): Likewise.
44524         (llrintf): Likewise.
44525         (llrint): Likewise.
44526         (fmaxf): Likewise.
44527         (fmax): Likewise.
44528         (fminf): Likewise.
44529         (fmin): Likewise.
44530         (rint): Likewise.
44531         (rintf): Likewise.
44532         (ceil): Likewise.
44533         (ceilf): Likewise.
44534         (floor): Likewise.
44535         (floorf): Likewise.
44536         (nearbyint): Likewise.
44537         (nearbyintf): Likewise.
44539 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44541         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44542         non-default versions.
44544 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44546         [BZ #14218]
44547         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44549 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44551         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44552         (FE_UPWARD, FE_DOWNWARD): Don't define.
44553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44554         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44557         reading it.
44558         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44559         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44561 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44563         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44564         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44565         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44566         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44568 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44570         [BZ #14117]
44571         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44572         * sysdeps/i386/fpu/Implies: New file.
44573         * sysdeps/x86_64/fpu/Implies: Likewise.
44574         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44575         * sysdeps/x86/fpu/bits/fenv.h: This.
44577         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44578         __SSE_MATH__.
44580 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         [BZ #14134]
44583         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44584         character 0xffff that matches the last element of the
44585         conversion table.
44587 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44590         fmodl commit.
44592 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44595         values higher than 25.6283.
44597 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44599         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44600         subnormal exponent extraction and add some __builtin_expect.
44601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44602         Fix for subnormal mantissa calculation.
44604 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44606         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44607         cpu2 is -1 and errno is not ENOSYS.
44609 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44611         [BZ #14117]
44612         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44613         * sysdeps/x86/bits/string.h: This.
44614         * sysdeps/x86_64/bits/string.h: Removed.
44616         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44617         if not compiling for x86-64, but compiling for >= i486.
44619         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44620         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44622         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44623         New macro from Linux kernel 3.4.0.
44624         (FP_XSTATE_MAGIC2): Likewise.
44625         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44626         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44627         (struct _fpx_sw_bytes): New struct.
44628         (struct _xsave_hdr): Likewise.
44629         (struct _ymmh_state): Likewise.
44630         (struct _xstate): Likewise.
44632         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44633         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44634         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44635         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44636         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44637         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44639         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44640         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44641         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44642         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44643         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44644         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44646 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44648         [BZ #13743]
44649         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44650         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44651         (sysdep_headers): Include sys/platform/ppc.h.
44652         * sysdeps/powerpc/test-gettimebase.c: Test for
44653         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44654         * manual/Makefile (appendices): Include platform.texi.
44655         * manual/contrib.texi (Contributors): Update @node pointers.
44656         * manual/maint.texi (Maintenance): Likewise.
44657         (Platform): New node.
44658         * manual/platform.texi: New file.  Document the new features.
44660 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44661             Jakub Jelinek  <jakub@redhat.com>
44663         [BZ #14188]
44664         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44665         where __builtin_expect is unavailable.
44667 2012-06-03  David S. Miller  <davem@davemloft.net>
44669         * stdlib/longlong.h: Updated from GCC.
44671 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44673         [BZ #14042]
44674         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44675         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44676         __mcount_internal.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44678         (GLIBC_2.16): Likewise.
44680 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44682         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44684 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44687         (default-abi): New variable.
44688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44689         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44690         variable.
44691         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44692         Likewise.
44693         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44694         Likewise.
44695         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44696         Likewise.
44698         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44699         definition.  Document in comment.
44701 2012-06-01  David S. Miller  <davem@davemloft.net>
44703         * stdlib/longlong.h: Updated from GCC.
44705 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44707         [BZ #14117]
44708         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44709         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44710         sys/debugreg.h sys/io.h here.
44711         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44712         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44713         sys/io.h.
44714         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44715         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44716         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44717         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44718         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44719         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44721         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44722         Define only if __x86_64__ is defined.
44724 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44726         [BZ #14048]
44727         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44728         Use int64_t for variable i.
44729         * math/libm-test.inc (fmod_test): Add more tests.
44731         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44732         z computation is not scheduled after fetestexcept.
44733         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44734         Use math_force_eval instead of asm to ensure calculation scheduled
44735         before exception test.
44736         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44737         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44739 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44742         computation is not scheduled after fetestexcept.
44744 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44746         [BZ #14117]
44747         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44748         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44750 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44752         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44753         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44755 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44757         [BZ #14117]
44758         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44759         <bits/wordsize.h>.
44760         (__WCHAR_MIN): Support __WORDSIZE == 64.
44761         (__WCHAR_MAX): Likewise.
44763         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44766         [BZ #14183]
44767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44768         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44770         [BZ #14117]
44771         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44774         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44775         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44777         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44778         Defined to 1 if __x86_64__ isn't defined.
44779         (_STAT_VER_LINUX_OLD): New.
44780         (st_atime): Remove duplicate.
44781         (st_mtime): Likewise.
44782         (st_ctime): Likewise.
44784 2012-05-31  David S. Miller  <davem@davemloft.net>
44786         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44787         entries.
44789 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44791         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44792         gen-libm-test.pl.
44794         [BZ #14132]
44795         * elf/dl-reloc.c: Include <_itoa.h>.
44796         (_dl_reloc_bad_type): Remove use of INTUSE.
44797         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44798         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44799         * stdio-common/psiginfo.c (psiginfo): Likewise.
44800         * stdio-common/psignal.c (psignal): Likewise.
44801         * string/strsignal.c (strsignal): Likewise.
44802         * include/signal.h (_sys_siglist): Declare hidden proto.
44803         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44804         INTVARDEF with libc_hidden_data_def.
44805         * stdio-common/itoa-udigits.c: Likewise.
44806         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44807         (_itoa_lower_digits_internal): Remove declaration.
44808         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44809         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44810         (_sys_sigabbrev_internal): Remove aliases.
44811         (_sys_siglist): Define hidden alias.
44813 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44816         bits/sysctl.h.
44818 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44820         [BZ #14117]
44821         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44822         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44824         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44825         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44826         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44827         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44828         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44829         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44831         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44832         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44833         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44835         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44836         with __addr.
44837         (insw): Likewise.
44838         (insl): Likewise.
44839         (outsb): Likewise.
44840         (outsw): Likewise.
44841         (outsl): Likewise.
44843         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44845         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44847         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44848         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44849         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44850         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44851         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44852         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44854         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44855         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44857         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44858         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44860         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44861         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44862         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44864         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44865         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44866         to ...
44867         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44869         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44870         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44871         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44873         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44874         for x86-64.
44875         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44877 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44879         * math/math.h (M_El): Use two more decimal places.
44880         (M_LOG2El): Likewise.
44881         (M_LOG10El): Likewise.
44882         (M_LN2l): Likewise.
44883         (M_LN10l): Likewise.
44884         (M_PIl): Likewise.
44885         (M_PI_2l): Likewise.
44886         (M_PI_4l): Likewise.
44887         (M_1_PIl): Likewise.
44888         (M_2_PIl): Likewise.
44889         (M_2_SQRTPIl): Likewise.
44890         (M_SQRT2l): Likewise.
44891         (M_SQRT1_2l): Likewise.
44893 2012-05-31  David S. Miller  <davem@davemloft.net>
44895         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44896         values between float registers.
44897         * sysdeps/sparc/sparc64/memset.S: Likewise.
44898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44900 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44902         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44903         -D_FORTIFY_SOURCE=1.
44904         (CPPFLAGS-tst-longjmp_chk.c): Define.
44905         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44906         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44907         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44908         CFLAGS-tst-wchar-h.c.
44910 2012-05-31  Marek Polacek  <polacek@redhat.com>
44912         [BZ #14132]
44913         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44914         __endmntent_internal): Remove declaration.
44915         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44916         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44917         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44919 2012-05-30  David S. Miller  <davem@davemloft.net>
44921         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44922         (___Q_simulate_exceptions): Use real FP ops rather than writing
44923         into the %fsr.
44924         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44925         Likewise.
44927 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44929         [BZ #14117]
44930         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44931         * sysdeps/x86/bits/xtitypes.h: This.
44933         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44934         * sysdeps/x86/bits/wordsize.h: This.
44936         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44937         * sysdeps/x86/bits/huge_vall.h: This.
44939         * sysdeps/i386/bits/select.h: Removed.
44940         * sysdeps/x86_64/bits/select.h: Renamed to ...
44941         * sysdeps/x86/bits/select.h: This.
44943         * sysdeps/i386/bits/setjmp.h: Removed.
44944         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44945         * sysdeps/x86/bits/setjmp.h: This.
44947         * sysdeps/i386/bits/mathdef.h: Removed.
44948         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44949         * sysdeps/x86/bits/mathdef.h: This.
44951 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44953         [BZ #14132]
44954         * include/sys/socket.h (__connect_internal)
44955         (__libc_sa_len_internal): Remove declaration.
44956         (__connect, __libc_sa_len): Declare hidden_proto.
44957         (SA_LEN): Remove use of INTUSE.
44958         * socket/connect.c: Add libc_hidden_def.
44959         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44960         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44961         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44962         alias.
44963         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44965         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44966         of adding _internal alias.
44968 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44970         [BZ #14117]
44971         * sysdeps/i386/bits/link.h: Removed.
44972         * sysdeps/i386/bits/linkmap.h: Likewise.
44973         * sysdeps/x86_64/bits/link.h: Renamed to ...
44974         * sysdeps/x86/bits/link.h: This.
44975         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44976         * sysdeps/x86/bits/linkmap.h: This.
44978         * sysdeps/i386/bits/endian.h: Removed.
44979         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44980         * sysdeps/x86/bits/endian.h: This.
44982         * sysdeps/i386/bits/byteswap.h: Removed.
44983         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44984         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44985         * sysdeps/x86/bits/byteswap.h: This.
44986         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44987         * sysdeps/x86/bits/byteswap-16.h: This.
44988         * sysdeps/i386/Implies: Add x86.
44989         * sysdeps/x86_64/Implies: Likewise.
44991 2012-05-30  David S. Miller  <davem@davemloft.net>
44993         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44994         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44995         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44996         (FP_TRAPPING_EXCEPTIONS): Define.
44997         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44998         (FP_TRAPPING_EXCEPTIONS): Define.
44999         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45000         subnormals only when inexact has been signalled or underflow
45001         exceptions are enabled.
45002         (_FP_PACK_CANONICAL): Likewise.
45004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45006         [BZ #14183]
45007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45008         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45010 2012-05-30  Richard Henderson  <rth@twiddle.net>
45012         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45013         with #ifndef NOT_IN_libc.
45015         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45016         marked to avoid plt entry.
45018 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45020         [BZ #14112]
45021         * Makeconfig (default-abi): New macro.
45022         (abi-includes): Likewise.
45023         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45024         $(abi-$(default-abi)-lib-soname) for soname if defined.
45025         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45026         abi-variants.
45027         * Makefile (installed-stubs): Likewise.
45028         * include/stubs-biarch.h: Removed.
45029         * scripts/lib-names.awk: Only handle one library at a time.
45030         * scripts/soversions.awk: Remove WORDSIZE support.
45031         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45032         entries.
45033         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45034         Removed.
45035         (syscall-list-default-condition): Likewise.
45036         (syscall-list-default-condition): Likewise.
45037         (syscall-list-includes): Likewise.
45038         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45039         syscall-list-* with abi-*.  Handle undefined abi-variants.
45040         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45041         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45042         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45043         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45044         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45045         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45046         Removed.
45047         (syscall-list-32-options): Likewise.
45048         (syscall-list-32-condition): Likewise.
45049         (syscall-list-64-options): Likewise.
45050         (syscall-list-64-condition): Likewise.
45051         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45052         macro.
45053         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45054         Renamed to ...
45055         (abi-*): This.
45056         (abi-64-ld-soname): New macro.
45057         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45058         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45059         Renamed to ...
45060         (abi-*): This.
45061         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45062         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45064 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45066         * sysdeps/unix/sysv/linux/kernel-features.h
45067         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45068         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45069         include <kernel-features.h>.
45070         [!__NR_ftruncate64]: Remove conditional code.
45071         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45072         [__NR_ftruncate64]: Make code unconditional.
45073         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45074         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45075         include <kernel-features.h>.
45076         [!__NR_ftruncate64]: Remove conditional code.
45077         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45078         [__NR_ftruncate64]: Make code unconditional.
45079         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45081         include <kernel-features.h>.
45082         [!__NR_ftruncate64]: Remove conditional code.
45083         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45084         [__NR_ftruncate64]: Make code unconditional.
45085         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45087         include <kernel-features.h>.
45088         [!__NR_ftruncate64]: Remove conditional code.
45089         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45090         [__NR_ftruncate64]: Make code unconditional.
45091         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45093         * configure.in (libc_cv_fpie): Weaken to a compile test using
45094         LIBC_TRY_CC_OPTION.
45095         * configure: Regenerated.
45097 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45103         Refreshed.
45104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45110         Refreshed.
45112 2012-05-27  David S. Miller  <davem@davemloft.net>
45114         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45115         (___Q_zero): New.
45116         (__Q_simulate_exceptions): Return void.  Change to simulate
45117         exceptions by writing into the %fsr.
45118         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45119         (__Qp_handle_exceptions): Likewise.
45120         (numbers): Delete.
45121         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45122         __Qp_handle_exceptions.
45123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45124         __Qp_handle_exceptions.
45125         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45126         as unused and give dummy FP_RND_NEAREST initializer.
45127         (FP_INHIBIT_RESULTS): Define.
45128         (___Q_simulate_exceptions): Update declaration.
45129         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45130         formatting.
45131         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45132         as unused and give dummy FP_RND_NEAREST initializer.
45133         (__Qp_handle_exceptions): Update declaration.
45134         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45135         formatting.
45137 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45139         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45140         the temporary FPU control word.
45141         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45142         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45143         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45144         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45145         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45146         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45147         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45148         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45149         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45150         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45151         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45153 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45155         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45156         fields.
45158 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45160         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45161         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45162         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45163         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45164         Likewise.
45165         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45166         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45167         Likewise.
45169 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45171         * po/h.po: Update from translation team.
45173 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45175         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45177         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45178         handling of denormals.
45179         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45180         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45181         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45182         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45186         Likewise.
45188 2012-05-26  Marek Polacek  <polacek@redhat.com>
45190         [BZ #14152]
45191         * math/libm-test.inc (fma_test): Don't always expect underflow
45192         exception.
45194 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45196         [BZ #12416]
45197         * elf/tst-execstack.c: Include stackinfo.h.
45198         (do_test): Adjust test case to ensure that pthread_getattr_np
45199         behaviour remains the same after marking stack executable.
45201 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45203         * sysdeps/unix/sysv/linux/kernel-features.h
45204         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45205         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45206         kernel-features.h.
45207         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45208         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45209         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45210         kernel-features.h.
45211         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45212         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45214 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45216         * configure.in: Define the default includes to being none.
45217         * configure: Regenerated.
45219 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45221         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45222         * sysdeps/x86_64/setjmp.S: Likewise.
45223         * sysdeps/i386/bsd-setjmp.S: Likewise.
45224         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45225         * sysdeps/i386/setjmp.S: Likewise.
45226         * sysdeps/i386/__longjmp.S: Likewise.
45227         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45228         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45230         * include/stap-probe.h: New file.
45231         * configure.in: Handle --enable-systemtap.
45232         * configure: Regenerated.
45233         * config.h.in (USE_STAP_PROBE): New #undef.
45234         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45235         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45236         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45238 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45240         [BZ #13717]
45241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45242         to 2.4.0 where earlier.
45243         * sysdeps/unix/sysv/linux/configure: Regenerated.
45244         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45245         <kernel-features.h>.
45246         [__ASSUME_32BITUIDS]: Make code unconditional.
45247         [!__ASSUME_32BITUIDS]: Remove conditional code.
45248         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45249         <kernel-features.h>.
45250         [__ASSUME_32BITUIDS]: Make code unconditional.
45251         [!__ASSUME_32BITUIDS]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45253         [__ASSUME_32BITUIDS]: Make code unconditional.
45254         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45255         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45256         <kernel-features.h>.
45257         [__ASSUME_32BITUIDS]: Make code unconditional.
45258         [!__ASSUME_32BITUIDS]: Remove conditional code.
45259         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45260         <kernel-features.h>.
45261         [__ASSUME_32BITUIDS]: Make code unconditional.
45262         [!__ASSUME_32BITUIDS]: Remove conditional code.
45263         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45264         <kernel-features.h>.
45265         [__ASSUME_32BITUIDS]: Make code unconditional.
45266         [!__ASSUME_32BITUIDS]: Remove conditional code.
45267         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45268         <kernel-features.h>.
45269         [__ASSUME_32BITUIDS]: Make code unconditional.
45270         [!__ASSUME_32BITUIDS]: Remove conditional code.
45271         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45272         <kernel-features.h>.
45273         [__ASSUME_32BITUIDS]: Make code unconditional.
45274         [!__ASSUME_32BITUIDS]: Remove conditional code.
45275         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45276         <kernel-features.h>.
45277         [__ASSUME_32BITUIDS]: Make code unconditional.
45278         [!__ASSUME_32BITUIDS]: Remove conditional code.
45279         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45280         <kernel-features.h>.
45281         [__ASSUME_32BITUIDS]: Make code unconditional.
45282         [!__ASSUME_32BITUIDS]: Remove conditional code.
45283         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45284         <kernel-features.h>.
45285         [__ASSUME_32BITUIDS]: Make code unconditional.
45286         [!__ASSUME_32BITUIDS]: Remove conditional code.
45287         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45288         <kernel-features.h>.
45289         [__ASSUME_32BITUIDS]: Make code unconditional.
45290         [!__ASSUME_32BITUIDS]: Remove conditional code.
45291         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45292         <kernel-features.h>.
45293         [__ASSUME_32BITUIDS]: Make code unconditional.
45294         [!__ASSUME_32BITUIDS]: Remove conditional code.
45295         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45296         <kernel-features.h>.
45297         [__NR_setresgid] (__setresgid): Do not declare.
45298         [__ASSUME_32BITUIDS]: Make code unconditional.
45299         [!__ASSUME_32BITUIDS]: Remove conditional code.
45300         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45301         <kernel-features.h>.
45302         [__NR_setresuid] (__setresuid): Do not declare.
45303         [__ASSUME_32BITUIDS]: Make code unconditional.
45304         [!__ASSUME_32BITUIDS]: Remove conditional code.
45305         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45306         <kernel-features.h>.
45307         [__ASSUME_32BITUIDS]: Make code unconditional.
45308         [!__ASSUME_32BITUIDS]: Remove conditional code.
45309         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45310         <kernel-features.h>.
45311         [__ASSUME_32BITUIDS]: Make code unconditional.
45312         [!__ASSUME_32BITUIDS]: Remove conditional code.
45313         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45314         <kernel-features.h>.
45315         [__ASSUME_32BITUIDS]: Make code unconditional.
45316         [!__ASSUME_32BITUIDS]: Remove conditional code.
45317         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45318         <kernel-features.h>.
45319         [__ASSUME_32BITUIDS]: Make code unconditional.
45320         [!__ASSUME_32BITUIDS]: Remove conditional code.
45321         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45322         <kernel-features.h>.
45323         [__ASSUME_32BITUIDS]: Make code unconditional.
45324         [!__ASSUME_32BITUIDS]: Remove conditional code.
45325         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45326         <kernel-features.h>.
45327         [__ASSUME_32BITUIDS]: Make code unconditional.
45328         [!__ASSUME_32BITUIDS]: Remove conditional code.
45329         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45330         <kernel-features.h>.
45331         [__ASSUME_32BITUIDS]: Make code unconditional.
45332         [!__ASSUME_32BITUIDS]: Remove conditional code.
45333         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45334         <kernel-features.h>.
45335         [__ASSUME_32BITUIDS]: Make code unconditional.
45336         [!__ASSUME_32BITUIDS]: Remove conditional code.
45337         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45338         <kernel-features.h>.
45339         [__ASSUME_32BITUIDS]: Make code unconditional.
45340         [!__ASSUME_32BITUIDS]: Remove conditional code.
45341         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45342         <kernel-features.h>.
45343         [__ASSUME_32BITUIDS]: Make code unconditional.
45344         [!__ASSUME_32BITUIDS]: Remove conditional code.
45345         * sysdeps/unix/sysv/linux/kernel-features.h
45346         (__ASSUME_SETRESUID_SYSCALL): Remove.
45347         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45348         (__ASSUME_32BITUIDS): Likewise.
45349         (__ASSUME_LDT_WORKS): Likewise.
45350         (__ASSUME_O_DIRECTORY): Likewise.
45351         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45352         architecture but not kernel version.
45353         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45354         (__ASSUME_MMAP2_SYSCALL): Likewise.
45355         (__ASSUME_STAT64_SYSCALL): Likewise.
45356         (__ASSUME_IPC64): Likewise.
45357         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45358         <kernel-features.h>.
45359         [__ASSUME_32BITUIDS]: Make code unconditional.
45360         [!__ASSUME_32BITUIDS]: Remove conditional code.
45361         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45362         <kernel-features.h>.
45363         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45364         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45365         132096]: Remove conditional code.
45366         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45367         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45368         <kernel-features.h>.
45369         [__ASSUME_32BITUIDS]: Make code unconditional.
45370         [!__ASSUME_32BITUIDS]: Remove conditional code.
45371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45372         <kernel-features.h>.
45373         [__ASSUME_32BITUIDS]: Make code unconditional.
45374         [!__ASSUME_32BITUIDS]: Remove conditional code.
45375         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45376         <kernel-features.h>.
45377         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45378         unconditional.
45379         (__setresgid): Do not declare.
45380         [__ASSUME_32BITUIDS]: Make code unconditional.
45381         [!__ASSUME_32BITUIDS]: Remove conditional code.
45382         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45383         <kernel-features.h>.
45384         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45385         unconditional.
45386         (__setresuid): Do not declare.
45387         [__ASSUME_32BITUIDS]: Make code unconditional.
45388         [!__ASSUME_32BITUIDS]: Remove conditional code.
45389         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45390         <kernel-features.h>.
45391         [__ASSUME_32BITUIDS]: Make code unconditional.
45392         [!__ASSUME_32BITUIDS]: Remove conditional code.
45393         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45394         <kernel-features.h>.
45395         [__ASSUME_32BITUIDS]: Make code unconditional.
45396         [!__ASSUME_32BITUIDS]: Remove conditional code.
45398 2012-05-25  Richard Henderson  <rth@twiddle.net>
45400         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45401         dl_hwcap to ifunc resolver.
45402         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45403         elf_ifunc_invoke.
45404         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45405         dl_hwcap to ifunc resolver.
45406         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45408 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45410         [BZ #14153]
45411         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45412         for |x| <= 2**-26, not 2**-57.
45413         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45414         exception.
45416 2012-05-24  Jeff Law  <law@redhat.com>
45418         * stdio-common/Makefile (tests): Add bug25.
45419         * stdio-common/bug25.c: New test.
45421 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45423         [BZ #13576]
45424         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45425         multiple of MALLOC_ALIGNMENT in size.
45426         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45428 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45430         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45431         Require >= 256.
45432         (FILENAME_MAX): Use macro-int-constant.
45433         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45434         (_IOFBF): Use macro-int-constant.
45435         (_IOLBF): Likewise.
45436         (_IONBF): Likewise.
45437         (SEEK_CUR): Likewise.
45438         (SEEK_END): Likewise.
45439         (SEEK_SET): Likewise.
45440         (TMP_MAX): Likewise.
45441         (EOF): Use macro-int-constant.  Require < 0.
45442         (NULL): Use macro-constant.  Require == 0.
45443         (stdin): Require type to be FILE *.
45444         (stdout): Likewise.
45445         (stderr): Likewise.
45446         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45447         macro-int-constant.
45448         (EXIT_SUCCESS): Likewise.
45449         (NULL): Use macro-constant.  Require == 0.
45450         (RAND_MAX): Use macro-int-constant.
45451         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45452         [C99-based standards] (strtof): Require function.
45453         [C99-based standards] (strtold): Likewise.
45454         [C99-based standards] (strtoll): Likewise.
45455         [C99-based standards] (strtoull): Likewise.
45456         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45457         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45458         [ISO || ISO99 || ISO11] (math.h): Likewise.
45459         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45460         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45461         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45463 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45465         [BZ #14132]
45466         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45467         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45468         * intl/dgettext.c (DCGETTEXT): Likewise.
45469         * intl/gettext.c (DCGETTEXT): Likewise.
45470         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45471         * posix/regex_internal.h (gettext): Likewise.
45472         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45473         Remove declaration.
45474         * include/argz.h (__argz_count_internal)
45475         (__argz_stringify_internal): Remove declaration.
45476         (__argz_count, __argz_stringify): Declare hidden proto.
45477         * intl/dcgettext.c: Remove use of INTDEF.
45478         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45479         * string/argz-stringify.c: Likewise.
45480         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45481         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45482         Declare hidden proto.
45483         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45484         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45485         Declare hidden proto.
45486         * include/stdio.h (__asprintf_internal): Don't declare.
45487         (__asprintf): Don't define as macro.  Declare hidden proto.
45488         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45489         (__fsetlocking): Declare hidden proto.
45490         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45491         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45492         hidden proto.
45493         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45494         (_IO_setlinebuf): Remove use of INTUSE.
45495         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45496         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45497         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45498         Remove declaration.
45499         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45500         (_IO_do_flush): Remove use of INTUSE.
45501         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45502         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45503         (_IO_adjust_column, _IO_least_wmarker)
45504         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45505         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45506         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45507         (_IO_default_doallocate, _IO_wdefault_doallocate)
45508         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45509         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45510         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45511         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45512         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45513         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45514         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45515         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45516         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45517         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45518         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45519         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45520         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45521         proto.
45522         (_IO_flush_all_internal, _IO_adjust_column_internal)
45523         (_IO_default_uflow_internal, _IO_default_finish_internal)
45524         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45525         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45526         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45527         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45528         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45529         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45530         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45531         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45532         (_IO_file_close_internal, _IO_file_close_it_internal)
45533         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45534         (_IO_file_init_internal, _IO_file_attach_internal)
45535         (_IO_file_fopen_internal, _IO_file_read_internal)
45536         (_IO_file_sync_internal, _IO_file_seek_internal)
45537         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45538         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45539         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45540         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45541         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45542         (_IO_list_all_internal, _IO_link_in_internal)
45543         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45544         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45545         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45546         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45547         (_IO_do_write_internal, _IO_padn_internal)
45548         (_IO_getline_info_internal, _IO_getline_internal)
45549         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45550         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45551         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45552         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45553         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45554         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45555         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45556         with libc_hidden_ver, remove use of INTUSE.
45557         * libio/genops.c: Likewise.
45558         * libio/freopen.c: Likewise.
45559         * libio/freopen64.c: Likewise.
45560         * libio/iofclose.c: Likewise.
45561         * libio/iofdopen.c: Likewise.
45562         * libio/iofflush.c: Likewise.
45563         * libio/iofflush_u.c: Likewise.
45564         * libio/iofgets.c: Likewise.
45565         * libio/iofgets_u.c: Likewise.
45566         * libio/iofopen.c: Likewise.
45567         * libio/iofopncook.c: Likewise.
45568         * libio/iofread.c: Likewise.
45569         * libio/iofread_u.c: Likewise.
45570         * libio/ioftell.c: Likewise.
45571         * libio/iofwrite.c: Likewise.
45572         * libio/iogetline.c: Likewise.
45573         * libio/iogets.c: Likewise.
45574         * libio/iogetwline.c: Likewise.
45575         * libio/iopadn.c: Likewise.
45576         * libio/iopopen.c: Likewise.
45577         * libio/ioseekoff.c: Likewise.
45578         * libio/ioseekpos.c: Likewise.
45579         * libio/iosetbuffer.c: Likewise.
45580         * libio/iosetvbuf.c: Likewise.
45581         * libio/ioungetc.c: Likewise.
45582         * libio/ioungetwc.c: Likewise.
45583         * libio/iovdprintf.c: Likewise.
45584         * libio/iovsprintf.c: Likewise.
45585         * libio/iovsscanf.c: Likewise.
45586         * libio/memstream.c: Likewise.
45587         * libio/obprintf.c: Likewise.
45588         * libio/oldfileops.c: Likewise.
45589         * libio/oldiofclose.c: Likewise.
45590         * libio/oldiofdopen.c: Likewise.
45591         * libio/oldiofopen.c: Likewise.
45592         * libio/oldiopopen.c: Likewise.
45593         * libio/oldstdfiles.c: Likewise.
45594         * libio/putc.c: Likewise.
45595         * libio/setbuf.c: Likewise.
45596         * libio/setlinebuf.c: Likewise.
45597         * libio/stdfiles.c: Likewise.
45598         * libio/strops.c: Likewise.
45599         * libio/vasprintf.c: Likewise.
45600         * libio/vscanf.c: Likewise.
45601         * libio/vsnprintf.c: Likewise.
45602         * libio/vswprintf.c: Likewise.
45603         * libio/wfiledoalloc.c: Likewise.
45604         * libio/wfileops.c: Likewise.
45605         * libio/wgenops.c: Likewise.
45606         * libio/wmemstream.c: Likewise.
45607         * libio/wstrops.c: Likewise.
45608         * libio/__fpurge.c: Likewise.
45609         * libio/__fsetlocking.c: Likewise.
45610         * assert/assert.c: Likewise.
45611         * debug/fgets_chk.c: Likewise.
45612         * debug/fgets_u_chk.c: Likewise.
45613         * debug/fread_chk.c: Likewise.
45614         * debug/fread_u_chk.c: Likewise.
45615         * debug/gets_chk.c: Likewise.
45616         * debug/obprintf_chk.c: Likewise.
45617         * debug/vasprintf_chk.c: Likewise.
45618         * debug/vdprintf_chk.c: Likewise.
45619         * debug/vsnprintf_chk.c: Likewise.
45620         * debug/vsprintf_chk.c: Likewise.
45621         * malloc/mtrace.c: Likewise.
45622         * misc/error.c: Likewise.
45623         * misc/syslog.c: Likewise.
45624         * stdio-common/asprintf.c: Likewise.
45625         * stdio-common/fxprintf.c: Likewise.
45626         * stdio-common/getw.c: Likewise.
45627         * stdio-common/isoc99_fscanf.c: Likewise.
45628         * stdio-common/isoc99_scanf.c: Likewise.
45629         * stdio-common/isoc99_vfscanf.c: Likewise.
45630         * stdio-common/isoc99_vscanf.c: Likewise.
45631         * stdio-common/isoc99_vsscanf.c: Likewise.
45632         * stdio-common/printf-prs.c: Likewise.
45633         * stdio-common/printf_fp.c: Likewise.
45634         * stdio-common/printf_fphex.c: Likewise.
45635         * stdio-common/printf_size.c: Likewise.
45636         * stdio-common/putw.c: Likewise.
45637         * stdio-common/scanf.c: Likewise.
45638         * stdio-common/sprintf.c: Likewise.
45639         * stdio-common/tmpfile.c: Likewise.
45640         * stdio-common/vfprintf.c: Likewise.
45641         * stdio-common/vfscanf.c: Likewise.
45642         * stdlib/strfmon_l.c: Likewise.
45643         * sunrpc/openchild.c: Likewise.
45644         * sunrpc/xdr_stdio.c: Likewise.
45645         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45646         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45648 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45650         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45652         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45653         in the third column, to generate for the shared library an IFUNC
45654         that uses _dl_vdso_vsym.
45655         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45656         * Makeconfig (object-suffixes-noshared): New variable.
45658         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45659         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45660         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45661         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45663         [BZ #14132]
45664         * include/sys/time.h (__gettimeofday): Remove macro.
45665         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45666         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45667         Remove INTDEF.
45668         (__gettimeofday): Add libc_hidden_def.
45669         (gettimeofday): Add libc_hidden_weak.
45670         * sysdeps/mach/gettimeofday.c: Likewise.
45671         * sysdeps/posix/gettimeofday.c: Likewise.
45672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45673         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45675         (__gettimeofday_internal): Remove strong_alias.
45676         (__gettimeofday): Add libc_hidden_def.
45677         (gettimeofday): Add libc_hidden_weak.
45678         * sysdeps/unix/syscalls.list (gettimeofday):
45679         Remove __gettimeofday_internal alias.
45681 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45682             H.J. Lu  <hongjiu.lu@intel.com>
45684         [BZ #12495]
45685         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45686         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45687         (largebin_index_32_big): New.
45688         (largebin_index): Use it for 16-byte alignment.
45689         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45690         correction with front_misalign.
45692 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45696         Likewise.
45697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45698         Likewise.
45699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45700         Likewise.
45701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45702         Likewise.
45703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45704         Likewise.
45705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45706         Likewise.
45707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45708         Likewise.
45709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45710         Likewise.
45711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45712         Likewise.
45713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45714         Likewise.
45715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45716         Likewise.
45717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45718         Likewise.
45720         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45721         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45723 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45725         [BZ #10846]
45726         [BZ #14036]
45727         * math/libm-test.inc (exp_test): Add test from bug 14036.
45728         (pow_test): Add test from bug 10846.
45730         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45731         and other flags.
45732         (special_function): Do not include flags in test name.
45733         (parse_args): Likewise.
45734         * sysdeps/i386/fpu/libm-test-ulps: Update.
45735         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45736         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45737         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45740         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45741         exceptions.
45742         * math/libm-test.inc ("Philosophy"): Update comment about
45743         exception testing.
45744         (UNDERFLOW_EXCEPTION): New macro.
45745         (UNDERFLOW_EXCEPTION_OK): Likewise.
45746         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45747         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45748         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45749         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45750         (INVALID_EXCEPTION_OK): Update value.
45751         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45752         (OVERFLOW_EXCEPTION_OK): Likewise.
45753         (IGNORE_ZERO_INF_SIGN): Likewise.
45754         (test_exceptions): Handle underflow exceptions.
45755         (acos_test): Update for underflow exception expectations.
45756         (cexp_test): Likewise.
45757         (clog_test): Likewise.
45758         (clog10_test): Likewise.
45759         (csqrt_test): Likewise.
45760         (ctan_test): Likewise.
45761         (ctanh_test): Likewise.
45762         (exp_test): Likewise.
45763         (exp10_test): Likewise.
45764         (exp2_test): Likewise.
45765         (expm1_test): Likewise.
45766         (fma_test): Likewise.
45767         (j0_test): Likewise.
45768         (jn_test): Likewise.
45769         (nexttoward_test): Likewise.
45770         (pow_test): Likewise.
45771         (scalbn_test): Likewise.
45772         (scalbln_test): Likewise.
45773         (tan_test): Likewise.
45774         (y1_test): Likewise.
45775         * sysdeps/i386/fpu/libm-test-ulps: Update.
45776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45778 2012-05-23  David S. Miller  <davem@davemloft.net>
45780         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45781         (__libc_sigaction): Remove unused local variables.
45783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45785         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45787 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45789         mktime: avoid signed integer overflow
45790         * time/mktime.c (__mktime_internal): Do not mishandle the case
45791         where diff == INT_MIN.
45793         mktime: simplify computation of average
45794         * time/mktime.c (ranged_convert): Use new time_t_avg function
45795         instead of rolling our own (probably-slower) code.
45797         mktime: do not assume signed right shift propagates sign bit
45798         * time/mktime.c (isdst_differ): New static function.
45799         (__mktime_internal): No need to normalize tm_isdst now.
45800         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45801         tm_isdst values.
45803         mktime: merge another wrapv change from gnulib
45804         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45805         from some compilers.
45807         mktime: remove incorrect attempt at unusual arithmetics
45808         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45809         The code didn't really work on such machines anyway.
45810         (TYPE_MINIMUM): Assume two's complement.
45811         (twos_complement_arithmetic): Verify that long_int and time_t
45812         are two's complement (or unsigned, in the latter case).
45814         mktime: check signed shifts on long_int and time_t, too
45815         * time/mktime.c (SHR): Check that shifts work as desired
45816         on the types long_int and time_t too, as SHR is used on
45817         such types.
45819         mktime: do not assume 'long' is wide enough
45820         * time/mktime.c (verify): Move decl up.
45821         (long_int): New type.
45822         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45823         to remove assumption in the code that 'long' is wide enough to
45824         store year values.  This assumption is not true on x32 and on
45825         some non-glibc platforms.
45827         mktime: merge wrapv change from gnulib
45828         * time/mktime.c (WRAPV): New macro.
45829         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45830         (guess_time_tm, __mktime_internal): Do not assume that signed
45831         integer overflow wraps around; modern compilers generate code
45832         where this assumption is no longer valid.
45834 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45836         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45837         Replace "jmp L(pseudo_end)" with "ret".
45838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45839         Likewise.
45841 2012-05-23  Andreas Jaeger  <aj@suse.de>
45843         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45844         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45846 2012-05-23  Andreas Jaeger  <aj@suse.de>
45847             Maximilian Attems  <max@stro.at>
45849         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45850         New macros.
45852 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45854         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45855         code so that pseudo_end is just ret and the stack pointer is
45856         correct also for static library in error case.
45858 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45860         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45861         move to syscalls.list.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45867         * manual/install.texi (Running make install): Do not mention Linux
45868         kernel version for which pt_chown is not needed.
45869         (Linux): Do not mention problems with nscd with 2.0 kernels.
45870         * INSTALL: Regenerated.
45872 2012-05-23  Andreas Jaeger  <aj@suse.de>
45874         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45875         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45876         macro.
45877         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45878         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45879         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45880         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45881         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45883         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45885         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45887         * sysdeps/unix/sysv/linux/bits/in.h
45888         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45890 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45892         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45893         (PREPARE_VERSION): Just use assert instead, it will be elided
45894         under [NDEBUG] anyway.
45896 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45898         * sysdeps/unix/sysv/linux/Makefile: Include
45899         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45900         (sysdep_routines): Remove sysctl.
45901         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45902         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45903         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45904         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45905         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45907 2012-05-22  Andreas Jaeger  <aj@suse.de>
45909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45910         that pseudo_end is just ret and the stack pointer is correct also
45911         for static library in error case.
45913 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45915         [BZ #14122]
45916         * nss/nsswitch.c (defconfig_entries): New variable.
45917         (__nss_database_lookup): Don't leak defconfig entries.
45918         (nss_parse_service_list): Don't leak on error paths.
45919         (free_database_entries): New function.
45920         (free_defconfig): New function.
45921         (free_mem): Move common code to free_database_entries.
45923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45925         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45926         Add arch_prctl.
45927         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45929         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45930         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45932         New macro.
45933         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45934         (INTERNAL_SYSCALL_TYPES): Likewise.
45935         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45936         (LOAD_REGS_TYPES_[1-6]): Likewise.
45937         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45938         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45940 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45942         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45943         copysignl for GLIBC_2_0.
45944         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45945         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45947         logbl for GLIBC_2_0.
45948         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45951 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45953         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45954         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45956         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45957         Use "neg %eax".
45959         * time/mktime.c: Update copyright years.
45961 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45963         mktime: merge comment-quoting-style change from gnulib
45964         * time/mktime.c: Quote 'like this' in comments.
45965         The GNU coding standards suggest that we no longer quote `like this',
45966         as "`" and "'" are typically rendered asymmetrically nowadays.
45967         The typical gnulib style is to quote 'like this' when quoting
45968         code, and "like this" when quoting English.
45970         * time/mktime.c (compile-command): Add "-I.".
45972         mktime: merge mktime-internal.h change from gnulib
45973         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45975         mktime: merge time_r change from gnulib
45976         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45978         mktime: merge DEBUG change from gnulib
45979         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45980         case system <time.h> has a #define.
45982         mktime: merge <sys/types.h> change from gnulib
45983         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45984         since <time.t> is now guaranteed to define time_t.
45986         mktime: merge HAVE_CONFIG_H change from gnulib
45987         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45989 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45992         Use "neg %eax".
45994         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45995         __rlim_t cast.
45996         (struct rusage): Use anonymous union to pad each field to
45997         __syscall_slong_t.
45999 2012-05-21  David S. Miller  <davem@davemloft.net>
46001         * Makefules (o-iterator): Remove .s cases.
46002         (compile-command.s): Delete.
46003         (COMPILE.s): Delete.
46004         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46006 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46008         * configure.in (libc_cv_predef_stack_protector): Only consider
46009         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46010         * configure: Regenerated.
46012 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46015         New macro.  Use R*LP on int and pointer.
46016         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46017         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46018         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46019         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46021         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46022         [__WORDSIZE_TIME64_COMPAT32] instead of
46023         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46024         (struct utmp): Likewise.
46025         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46026         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46027         Renamed to ...
46028         (__WORDSIZE_TIME64_COMPAT32): This.
46029         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46030         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46031         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46032         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46033         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46034         (__WORDSIZE_TIME64_COMPAT32): New macro.
46036 2012-05-21  Andreas Jaeger  <aj@suse.de>
46038         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46039         only if [SHARED]. Add prototype for __wcschr_ia32.
46041 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46043         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46044         of %rbp unmolested in the jmp_buf while mangling the low bits.
46045         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46046         unmolested high bits of %rbp while demangling the low bits.
46047         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46049 2012-05-21  Andreas Jaeger  <aj@suse.de>
46051         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46052         * sunrpc/svc_simple.c: Use it for registerrpc.
46053         * sunrpc/xcrypt.c: Use it for passwd2des.
46055         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46057 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46059         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46060         Don't define if [__SYSCALL_WORDSIZE != 32].
46061         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46062         New macro.
46064 2012-05-21  Bruno Haible  <bruno@clisp.org>
46065             Andreas Jaeger  <aj@suse.de>
46067         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46068         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46069         inptr and inend for must_buffer_ch.
46070         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46071         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46072         * stdio-common/Makefile (tests): Remove bug15.
46073         (bug15-ENV): Remove macro.
46074         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46075         anymore.
46077 2012-05-19  Andreas Jaeger  <aj@suse.de>
46078             Roland McGrath  <roland@hack.frob.com>
46080         * manual/contrib.texi: Completely rewritten. It contains now an
46081         alphabetical list of contributors and their contributions.
46083 2012-05-21  Richard Henderson  <rth@twiddle.net>
46085         * misc/getauxval.c (__getauxval): Use unsigned long int.
46086         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46087         (getauxval): Use unsigned long int.
46089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46091         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46093 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46095         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46096         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46097         __alignof__ (long double).
46099 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46103 2012-05-20  Richard Henderson  <rth@twiddle.net>
46105         * misc/getauxval.c: New file.
46106         * misc/sys/auxv.h: New file.
46107         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46108         (routines): Add getauxval.
46109         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46110         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46111         * elf/dl-sysdep.c (_dl_auxv): Remove.
46112         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46113         * elf/dl-support.c (_dl_auxv): New variable.
46114         (_dl_aux_init): Initialize it.
46115         * manual/startup.texi (Auxiliary Vector): New node.
46116         * sysdeps/generic/bits/hwcap.h: New file.
46117         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46118         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46119         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46120         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46121         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46122         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46124         Update.
46125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46128         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46134 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46138 2012-05-19  David S. Miller  <davem@davemloft.net>
46140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46142 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46144         [BZ #14123]
46145         * math/s_ccosh.c: Include <float.h>
46146         (__ccosh): Avoid internal overflow calculating sinh and cosh
46147         values before multiplying by sin and cos values.
46148         * math/s_ccoshf.c: Likewise.
46149         * math/s_ccoshl.c: Likewise.
46150         * math/s_csin.c: Likewise.
46151         * math/s_csinf.c: Likewise.
46152         * math/s_csinl.c: Likewise.
46153         * math/s_csinh.c: Likewise.
46154         * math/s_csinhf.c: Likewise.
46155         * math/s_csinhl.c: Likewise.
46156         * math/libm-test.inc (ccos_test): Add more tests.
46157         (ccosh_test): Likewise.
46158         (csin_test): Likewise.
46159         (csinh_test): Likewise.
46160         * sysdeps/i386/fpu/libm-test-ulps: Update.
46161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46163 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46165         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46166         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46168         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46170 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46172         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46173         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46174         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46175         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46176         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46177         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46178         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46179         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46180         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46181         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46182         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46183         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46184         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46185         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46186         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46187         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46188         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46189         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46190         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46191         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46192         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46193         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46194         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46195         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46196         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46197         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46198         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46199         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46200         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46201         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46202         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46204 2012-05-18  Andreas Jaeger  <aj@suse.de>
46206         * csu/.gitignore: Delete.
46208 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46210         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46211         (timex): Use __syscall_slong_t.
46213 2012-05-18  Andreas Jaeger  <aj@suse.de>
46214             Carlos O'Donell  <carlos_odonell@mentor.com>
46216         * manual/install.texi (Configuring and compiling): Update
46217         description about files modified in the source directory.
46218         * INSTALL: Regenerated.
46220 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46222         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46223         value.  Use "or" to set return value to -1.
46224         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46225         negate return value.
46227 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46229         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46230         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46231         failure if the compiler has Graphite support disabled.
46232         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46233         Likewise.
46234         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46235         (CFLAGS-memmove.c): Likewise.
46236         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46237         Likewise.
46239 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46241         * sysdeps/x86_64/x32/_itoa.h: New file.
46243         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46244         getdents system call only if kernel and user dirents have the
46245         same d_ino and d_off.
46247         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46248         LLONG_MAX != LONG_MAX.
46249         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46250         (_fitoa_word): Likewise.
46252         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46253         years.
46254         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46255         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46256         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46258         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46259         include <bits/wordsize.h>.  Check __x86_64__ instead of
46260         __WORDSIZE.
46261         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46262         if __x86_64__ is defined.  Use anonymous union on fpstate.
46264         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46265         anonymous union.
46267 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46269         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46270         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46272         Refer to _rtld_local_ro instead of _rtld_global_ro.
46273         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46274         Likewise.
46275         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46276         Likewise.
46277         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46278         Likewise.
46279         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46280         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46281         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46283         * sysdeps/powerpc/powerpc32/dl-machine.c
46284         (__elf_machine_runtime_setup) [PROF]: Don't reference
46285         _dl_prof_resolve.
46287 2012-05-18  Andreas Jaeger  <aj@suse.de>
46289         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46290         function only available for GCCs before 3.4 since GCC 3.4
46291         introduced a builtin.
46292         (lrint): Likewise.
46293         (llrintf): Likewise.
46294         (llrint): Likewise.
46295         (fmaxf): Likewise.
46296         (fmax): Likewise.
46297         (fminf): Likewise.
46298         (fmin): Likewise.
46299         (rint): Likewise.
46300         (rintf): Likewise.
46301         (nearbyint): Likewise.
46302         (nearbyintf): Likewise.
46303         (ceil): Likewise.
46304         (ceilf): Likewise.
46305         (floor): Likewise.
46306         (floorf): Likewise.
46308 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46310         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46311         on both fields and cast pointer to __syscall_ulong_t.
46313         * bits/types.h (__fsword_t): New type.
46314         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46315         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46317         (__FSWORD_T_TYPE): Likewise.
46318         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46319         (__FSWORD_T_TYPE): Likewise.
46320         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46321         (__FSWORD_T_TYPE): Likewise.
46322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46323         (__FSWORD_T_TYPE): Likewise.
46324         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46325         __SWORD_TYPE with __fsword_t.
46326         (statfs64): Likewise.
46328 2012-05-17  David S. Miller  <davem@davemloft.net>
46330         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46332 2012-05-17  Andreas Jaeger  <aj@suse.de>
46334         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46335         warning.
46337 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46339         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46341 2012-05-17  Andreas Jaeger  <aj@suse.de>
46343         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46344         when it is used.
46346 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46348         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46350 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46352         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46353         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46355 2012-05-17  Andreas Jaeger  <aj@suse.de>
46356             Carlos O'Donell  <carlos_odonell@mentor.com>
46358         [BZ #14059]
46359         * sysdeps/x86_64/multiarch/init-arch.h
46360         (bit_YMM_Usable): Rename to...
46361         (bit_AVX_Usable): ... this.
46362         (bit_FMA4_Usable): New macro.
46363         (bit_XMM_state): New macro.
46364         (bit_YMM_state): New macro.
46365         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46366         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46367         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46368         (CPUID_OSXSAVE): New macro.
46369         (CPUID_AVX): New macro.
46370         (CPUID_FMA4): New macro.
46371         (index_YMM_Usable): Rename to...
46372         (index_AVX_Usable): ... this.
46373         (HAS_AVX): Use HAS_ARCH_FEATURE.
46374         (HAS_FMA4): Likewise.
46375         (HAS_YMM_USABLE): Remove.
46376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46377         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46378         are present.
46379         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46380         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46381         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46382         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46383         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46385 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46387         * math/libm-test.c: Support platforms without multiple rounding modes.
46388         * math/bug-nextafter.c: Support platforms without FP exceptions.
46389         * math/bug-nexttoward.c: Likewise.
46390         * math/test-fenv.c: Likewise.
46391         * math/test-misc.c: Likewise.
46392         * stdlib/bug-getcontext.c: Likewise.
46394 2012-05-17  Andreas Jaeger  <aj@suse.de>
46396         * manual/examples/search.c (critter_cmp): Change signature to
46397         avoid warnings.
46398         * manual/string.texi (Collation Functions): Likewise.
46400 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46402         * bits/types.h: Fold copyright years.
46403         * bits/typesizes.h: Likewise.
46404         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46406         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46407         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46408         * time/time.h: Likewise.
46410 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46412         [BZ #208]
46413         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46414         in instead of returning them.  Return void.
46415         (__libc_mallinfo): Accumulate over all arenas.
46416         (__malloc_stats): Adjust for change in int_mallinfo interface.
46418 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46420         [BZ #10375]
46421         * configure.in (NM): Add AC_CHECK_TOOL for it.
46422         (libc_extra_cflags): New substituted variable.
46423         Check for -fstack-protector being used implicitly.
46424         * configure: Regenerated.
46425         * config.make.in (config-extra-cflags): New variable,
46426         gets @libc_extra_cflags@.
46427         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46429         [BZ #10375]
46430         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46431         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46432         * configure: Regenerated.
46433         * config.make.in (CPPUNDEFS): New substituted variable.
46434         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46435         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46436         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46438 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46440         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46441         (mq_attr): Use __syscall_slong_t.
46443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46445         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46446         Check __x86_64__ instead of __WORDSIZE.
46447         (_STAT_VER_LINUX): Likewise.
46448         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46449         __syscall_ulong_t and __syscall_slong_t.
46450         (stat64): Likewise.
46452 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46454         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46456 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46458         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46462         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46463         __syscall_ulong_t.
46465         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46466         include <bits/wordsize.h>.  Check __x86_64__ instead of
46467         __WORDSIZE.
46468         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46469         defined.
46470         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46473         include <bits/wordsize.h>.  Check __x86_64__ instead of
46474         __WORDSIZE.
46475         (user_regs_struct): Use "__extension__ unsigned long long"
46476         instead of "unsigned long" if __x86_64__ is defined.
46477         (user): Likewise.  Pad after pointer field if __ILP32__ is
46478         defined.
46480 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46482         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46483         versions 5 to 9.
46484         * configure: Regenerated.
46485         * manual/install.texi (texinfo): Increase version requirement to
46486         4.5 or later.
46487         * INSTALL: Regenerated.
46489         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46493         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46495         * sysdeps/x86_64/x32/ffs.c: New file.
46497         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46498         __syscall_ulong_t.
46499         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46500         defined.  Use __syscall_ulong_t.
46501         (shminfo): Use __syscall_ulong_t.
46502         (shm_info): Likewise.
46504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46505         __syscall_ulong_t.
46507         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46508         <bits/wordsize.h>.
46509         (msgqnum_t): Use __syscall_ulong_t.
46510         (msglen_t): Likewise.
46511         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46512         __syscall_ulong_t.
46514         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46515         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46517         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46519         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46520         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46522         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46523         __syscall_slong_t.
46525         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46526         include <bits/wordsize.h>.  Check __x86_64__ instead of
46527         __WORDSIZE.
46529         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46530         "unsigned long long int" if __x86_64__ is defined.
46531         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46533         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46534         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46535         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46537         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46538         <stdint.h>.
46539         (GET_PC): Cast to uintptr_t first.
46540         (GET_FRAME): Likewise.
46541         (GET_STACK): Likewise.
46543         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46544         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46546         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46548         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46549         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46550         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46551         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46552         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46553         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46554         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46555         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46557         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46559         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46561         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46563         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46564         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46566         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46567         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46568         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46569         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46570         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46571         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46573 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46575         * Makerules (+depfiles): Also collect depfiles from .oS in
46576         $(extra-objs).
46577         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46578         .oS, $(libnldbl-routines)).
46580         * Makerules (native-compile-mkdep-flags): Define.
46581         * sunrpc/Makefile (extra-objs): Add $(addprefix
46582         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46583         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46584         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46585         calling $(make-target-directory).
46587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46589         * bits/types.h (__snseconds_t): Removed.
46590         * time/time.h (struct timespec): Replace __snseconds_t with
46591         __syscall_slong_t.
46592         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46593         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46594         Likewise.
46595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46596         (__SNSECONDS_T_TYPE): Likewise.
46597         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46598         (__SNSECONDS_T_TYPE): Likewise.
46599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46600         (__SNSECONDS_T_TYPE): Likewise.
46602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46604         * sysdeps/mach/hurd/bits/typesizes.h
46605         (__SYSCALL_SLONG_TYPE): New macro.
46606         (__SYSCALL_ULONG_TYPE): Likewise.
46608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46610         * bits/types.h (__syscall_slong_t): New type.
46611         (__syscall_ulong_t): Likewise.
46613         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46614         (__SYSCALL_ULONG_TYPE): Likewise.
46615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46616         (__SYSCALL_SLONG_TYPE): Likewise.
46617         (__SYSCALL_ULONG_TYPE): Likewise.
46618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46619         (__SYSCALL_SLONG_TYPE): Likewise.
46620         (__SYSCALL_ULONG_TYPE): Likewise.
46621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46622         (__SYSCALL_SLONG_TYPE): Likewise.
46623         (__SYSCALL_ULONG_TYPE): Likewise.
46625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46627         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46628         Add sigaltstack-offsets.sym.
46629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46630         <sigaltstack-offsets.h>.
46631         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46632         longjmp_msg pointer.
46633         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46634         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46635         signal stack.
46636         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46638 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46640         * elf/stackguard-macros.h: Remove file.
46641         * sysdeps/generic/stackguard-macros.h: New file.
46642         * sysdeps/i386/stackguard-macros.h: Likewise.
46643         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46644         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46645         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46646         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46647         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46648         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46649         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46650         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46651         <elf/stackguard-macros.h>.
46653         [BZ #14109]
46654         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46655         __aligned__ in attribute.
46656         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46657         (gregset_t): Likewise.
46659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46661         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46662         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46663         * sysdeps/x86_64/x32/Implies-after: New file.
46665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46667         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46668         and access return value for _dl_profile_fixup.  Use R10_LP to
46669         load frame size.
46671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46673         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46677         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46678         * sysdeps/x86_64/x32/sysdep.h: New file.
46680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46682         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46683         * sysdeps/x86_64/setjmp.S: Likewise.
46685 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46687         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46688         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46689         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46691         remove unused global constant.
46693 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46695         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46696         include of <not-cancel.h>.
46698 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46700         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46702 2012-05-15  Jeff Law  <law@redhat.com>
46703             Andreas Jaeger  <aj@suse.de>
46705         [BZ #13594]
46706         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46707         out from...
46708         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46709         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46710         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46711         code changing __hst_map_handle.map.
46713 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46715         * configure.in (sysnames): Look for Implies-before and Implies-after
46716         files.
46717         * configure: Regenerated.
46719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46721         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46722         8-byte data alignment with LP_SIZE alignment.
46724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46726         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46727         into R10_LP.
46729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46731         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46735         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46736         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46737         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46738         Likewise.
46739         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46743         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46744         (stackinfo_sub_sp): Likewise.
46746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46748         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46749         RAX_LP.
46751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46753         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46754         into R*_LP.
46756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46758         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46759         sizes into R*_LP.
46761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46763         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46767         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46768         into R11_LP and load __x86_64_shared_cache_size_half into
46769         R8_LP.
46771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46773         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46774         R8_LP.
46776 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46778         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46779         logb for POWER7.
46780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46781         logbf for POWER7.
46782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46783         logbl for POWER7.
46784         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46785         powerpc32/power7/fpu/s_logb.c via #include.
46786         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46787         powerpc32/power7/fpu/s_logbf.c via #include.
46788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46789         powerpc32/power7/fpu/s_logbl.c via #include.
46791 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46793         * README.libm: Remove file.
46795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46797         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46798         count for x32.  Use R*_LP and omit operand-size suffix.
46800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46802         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46803         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46804         * sysdeps/x86_64/x32/shlib-versions: New file.
46806 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46808         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46809         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46810         Use _dl_fatal_printf instead.
46812 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46814         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46815         set if not set by the user.  Do not allow for being unset.
46816         * sysdeps/unix/sysv/linux/configure: Regenerated.
46818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46820         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46821         the `q' suffix from lea and replace .quad with ASM_ADDR.
46823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46826         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46827         instead of $17.
46828         (PTR_DEMANGLE): Likewise.
46830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46832         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46833         (LP_OP): Likewise.
46834         (ASM_ADDR): Likewise.
46835         (RAX_LP): Likewise.
46836         (RBP_LP): Likewise.
46837         (RBX_LP): Likewise.
46838         (RCX_LP): Likewise.
46839         (RDI_LP): Likewise.
46840         (RSI_LP): Likewise.
46841         (RSP_LP): Likewise.
46842         (R8_LP): Likewise.
46843         (R9_LP): Likewise.
46844         (R10_LP): Likewise.
46845         (R10_LP): Likewise.
46846         (R11_LP): Likewise.
46847         (R12_LP): Likewise.
46848         (R13_LP): Likewise.
46849         (R14_LP): Likewise.
46850         (R15_LP): Likewise.
46852 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46854         * sysdeps/x86_64/x32/dl-machine.h: New file.
46856 2012-05-14  Andreas Jaeger  <aj@suse.de>
46858         * manual/Makefile (subdir): Remove export of subdir.
46859         (all): Remove target.
46860         (.PHONY): Remove all from list.
46861         (mkinstalldirs): Remove.
46862         (.PHONY): Remove installdirs from list.
46863         ($(inst_infodir)/libc.info): Use make-target-directory.
46864         (installdirs): Remove.
46865         (subdir_%): Remove.
46866         (glibc-targets): Remove.
46867         (lib): Remove.
46868         (stubs): Remove.
46869         ($(objpfx)stubs ../po/manual.pot): Remove.
46870         ($(objpfx)stamp%): Remove.
46871         (make-target-directory): Remove.
46872         (subdir_install): Remove.
46873         (routines): Remove.
46874         (aux): Remove.
46875         (sources): Remove.
46876         (objects): Remove.
46877         (headers): Remove.
46879         [BZ #13750]
46880         * manual/.gitignore: Remove, it's not needed anymore.
46881         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46882         all files in it.
46883         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46884         directory.
46885         (texis): Renamed to $(objpfx)texis.
46886         (texis-path): New, contains path to generated files.
46887         (chapters.%): Use texis-path for complete path, add extra argument
46888         libc-texinfo.sh.
46889         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46890         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46891         (summary,texi, stamp-summary): Use complete path of
46892         files. Generate files in build dir.
46893         (dir-add.texi): Build in build dir.
46894         (libm-err.texi,stamp-libm-err): Likewise.
46895         (version.texi, stamp-version): Likewise.
46896         (.%c.texi): Likewise.
46897         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46898         (mostlyclean): Remove target.
46899         (realclean): Remove target.
46900         (generated): Add new variable with contents from mostlyclean and
46901         realclean, remove entries duplicated in common-mostlyclean, add
46902         stamp-libm-err and stamp-version.
46903         (generated-dirs): Add libc directory.
46904         ($(inst_infodir)/libc.info): Install files from build dir.
46906         * manual/install.texi (Configuring and compiling): Adjust since
46907         the info files are not part of the tar ball anymore.
46909 2012-05-14  Andreas Jaeger  <aj@suse.de>
46911         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46912         variable.
46914 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46916         [BZ #13717]
46917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46918         to 2.2.0 where earlier.
46919         * sysdeps/unix/sysv/linux/configure: Regenerated.
46920         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46921         Remove conditional code.
46922         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46923         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46924         Remove conditional code.
46925         [!__NR_lchown]: Likewise.
46926         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46927         [__NR_lchown]: Likewise.
46928         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46929         comment referencing __ASSUME_LCHOWN_SYSCALL.
46930         * sysdeps/unix/sysv/linux/i386/sigaction.c
46931         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46932         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46933         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46934         Remove conditional code.
46935         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46936         (__protocol_available): Remove #if 0 code.
46937         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46938         conditional code.
46939         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46940         * sysdeps/unix/sysv/linux/kernel-features.h
46941         (__ASSUME_GETCWD_SYSCALL): Don't define.
46942         (__ASSUME_REALTIME_SIGNALS): Likewise.
46943         (__ASSUME_PREAD_SYSCALL): Likewise.
46944         (__ASSUME_PWRITE_SYSCALL): Likewise.
46945         (__ASSUME_POLL_SYSCALL): Likewise.
46946         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46947         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46948         non-SPARC.
46949         (__ASSUME_SIOCGIFNAME): Don't define.
46950         (__ASSUME_MSG_NOSIGNAL): Likewise.
46951         (__ASSUME_SENDFILE): Define unconditionally.
46952         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46953         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46954         conditional code.
46955         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46956         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46957         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46958         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46959         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46960         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46961         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46963         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46975         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46978         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46984         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46985         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46986         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46987         Remove conditional code.
46988         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46989         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46990         Remove conditional code.
46991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46992         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46993         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46994         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46995         Remove conditional code.
46996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46997         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46998         Remove conditional code.
46999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47000         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47001         Remove conditional code.
47002         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47003         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47004         Remove conditional code.
47005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47006         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47007         Remove conditional code.
47008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47009         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47010         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47011         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47012         * sysdeps/unix/sysv/linux/sigaction.c
47013         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47014         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47015         * sysdeps/unix/sysv/linux/sigpending.c
47016         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47017         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47018         * sysdeps/unix/sysv/linux/sigprocmask.c
47019         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47020         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47021         * sysdeps/unix/sysv/linux/sigsuspend.c
47022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47024         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47025         (__libc_missing_rt_sigs): Remove.
47026         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47027         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47028         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47029         Remove conditional code.
47030         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47031         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47032         return 1.
47033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47034         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47036         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47038 2012-05-14  Andreas Jaeger  <aj@suse.de>
47040         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47041         it's not used in glibc.
47042         (__coshm1): Likewise.
47043         (__acosh1p): Likewise.
47044         (__sgn): Likewise.
47046         * manual/string.texi (Copying and Concatenation): Add missing
47047         variable in concat example.
47048         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47052         [BZ #14103]
47053         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47054         __builtin_clzl with __builtin_clzll.
47056 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47058         [BZ #14104]
47059         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47060         libc_freeres_ptr.
47062 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47064         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47065         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47066         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47067         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47069 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47071         * NEWS: Update ia64 info.
47073 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47075         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47076         used as bcopy.
47078 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47080         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47081         * sysdeps/unix/syscalls.list (dup3): Likewise.
47082         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47083         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47085 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47087         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47088         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47090 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47092         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47093         thread pointer.
47094         (TLS_IE): Use mov/add instead of movq/addq to load thread
47095         pointer.
47096         (TLS_GD_PREFIX): New.
47097         (TLS_GD): Use it.
47099 2012-05-11  David S. Miller  <davem@davemloft.net>
47101         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47102         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47103         (_FPU_SETCW): Likewise.
47105 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47107         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47108         is 32-byte aligned.
47110 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47112         [BZ #11837]
47113         * iconvdata/gb18030.c: Update tables.
47114         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47115         characters specially.
47116         (BODY for TO_LOOP): Add encoding of missing ranges.
47118 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47120         [BZ #13673]
47121         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47122         * sysdeps/mach/hurd/dup3.c: Likewise.
47123         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47124         * sysdeps/powerpc/memmove.c:: Likewise.
47126 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47128         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47129         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47131 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47133         * elf/elf.h (R_X86_64_RELATIVE64): New.
47134         (R_X86_64_NUM): Updated.
47135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47136         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47137         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47138         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47139         tst-quad1pie tst-quad2pie
47140         (modules-names): Add tst-quadmod1 tst-quadmod2.
47141         ($(objpfx)tst-quad1): New dependency.
47142         ($(objpfx)tst-quad2): Likewise.
47143         ($(objpfx)tst-quad1pie): Likewise.
47144         ($(objpfx)tst-quad2pie): Likewise.
47145         * sysdeps/x86_64/tst-quad1.c: New file.
47146         * sysdeps/x86_64/tst-quad1pie.c: New file.
47147         * sysdeps/x86_64/tst-quad2.c: Likewise.
47148         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47149         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47150         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47151         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47152         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47156         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47157         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47158         * streams/stropts.h (t_scalar_t): Define type.
47160         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47161         (_PATH_PRESERVE): Set to "/var/lib".
47162         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47164         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47165         instead of int.
47167         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47168         if __dir_mkfile succeeded.
47170         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47171         checking for _hurd_dtablesize.  Unlock it right after having
47172         finished _hurd_dtable allocation.
47174 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47176         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47177         * sysdeps/mach/hurd/configure: Regenerated.
47178         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47179         special-casing to...
47180         * sysdeps/gnu/configure.in: ... this new file.
47181         * sysdeps/unix/sysv/linux/configure: Regenerated.
47182         * sysdeps/gnu/configure: New generated file.
47184         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47185         for Linux: use nsec instead of usec, as well as:
47186         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47187         members of type struct timespec.
47188         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47189         New macros.
47190         (struct stat64): Likewise.
47191         (_STATBUF_ST_NSEC): New macro.
47192         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47194         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47195         __strtoul_internal rather than strtoul.
47197 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47199         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47200         and reject them.
47202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47204         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47205         which preserves existing values.
47206         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47208 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47210         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47211         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47212         greater than FD_SETSIZE.
47214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47216         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47217         allocated, call __vm_protect to finish enabling the existing space, and
47218         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47219         allocate the remainder.
47221 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47223         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47224         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47228         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47229         sysdeps/mach/hurd/readlink.c.
47231         * posix/tst-sysconf.c (posix_options): Only use
47232         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47233         _POSIX_SYNCHRONIZED_IO when they are defined
47234         * sysdeps/mach/hurd/bits/posix_opt.h:
47235         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47236         (_XOPEN_REALTIME): Undefine macro.
47237         (_XOPEN_REALTIME_THREADS): Undefine macro.
47238         (_XOPEN_SHM): Undefine macro.
47239         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47240         macro to -1.
47241         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47242         macro to -1.
47243         (_POSIX_ASYNC_IO): Undefine macro.
47244         (_POSIX_PRIORITIZED_IO): Undefine macro.
47245         (_POSIX_SPIN_LOCKS): Define macro to -1.
47247         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47248         SA_NODEFER, SA_RESETHAND.
47249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47250         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47251         F_DUPFD_CLOEXEC.
47253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47255         * elf/Makefile (pldd-modules): Define unconditionally.
47257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47259         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47263         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47264         Return ENOENT when name is empty.
47265         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47269         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47271         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47275         Fix mlock in all cases except non-readable pages.
47276         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47277         instead of VM_PROT_ALL as parameter to __vm_wire function.
47279         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47280         (__mkdir): When path is `/', just fail with EEXIST.
47281         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47285         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47286         <sys/uio.h> (for writev).
47287         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47288         and <sys/param.h> (for MIN).
47290 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47292         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47293         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47294         if interrupted.
47296 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47298         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47299         Depend on against $(link-rpcuserlibs).
47301 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47303         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47304         (__libc_stack_end): Do not use attribute_relro.
47305         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47306         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47307         to libthread-provided value.
47308         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47309         attribute_relro.
47311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47313         [BZ #3748]
47314         * bits/libc-lock.h (__libc_once_get): New macro.
47315         * sysdeps/mach/bits/libc-lock.h: Likewise.
47316         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47318         instead of using implementation details.
47320         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47321         * libio/freopen.c: Likewise.
47322         * libio/freopen64.c: Likewise.
47323         * misc/syslog.c: Likewise.
47324         * nscd/connections.c: Likewise.
47325         * nscd/netgroupcache.c: Likewise.
47326         * sysdeps/posix/getcwd.c: Likewise.
47328 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47330         * math/w_ilogbf.c: Add #include <limits.h>.
47332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47334         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47335         path instead of returning without unlocking.
47337         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47338         immediate-write ioctls.
47339         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47343         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47344         __builtin_frame_address instead of making assumptions about the
47345         location of the return address relative to DATA.  Force early load of
47346         the return address.
47347         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47348         __builtin_frame_address.
47350         dup3 for GNU Hurd.
47351         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47352         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47353         implement dup3 and do some further code clean-ups.
47354         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47355         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47359         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47361         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47362         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47363         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47364         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47365         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47366         d->port.lock.
47368         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47369         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47370         when handler == SIG_ERR, not when handler != SIG_ERR.
47372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47374         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47375         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47376         definitions.
47378         accept4 for GNU Hurd.
47379         * include/sys/socket.h (__libc_accept4): New prototype.
47380         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47381         to implement __libc_accept4.
47382         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47383         __libc_accept4.
47384         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47386         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47387         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47388         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47389         signal-defines.sym.
47391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47393         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47397         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47398         assertion on O_CLOEXEC flag.
47399         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47400         * hurd/intern-fd.c: Likewise.
47401         * hurd/port2fd.c: Likewise.
47403 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47405         [BZ #3906]
47406         * bits/in.h (IPV6_PKTINFO): Define new macro.
47407         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47409 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47411         [BZ #13954]
47412         [BZ #13955]
47413         [BZ #13956]
47414         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47415         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47416         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47417         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47418         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47419         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47420         * math/libm-test.inc (logb_test) : Additional logb tests.
47422 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47423             Andreas Jaeger  <aj@suse.de>
47425         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47426         * configure: Regenerated.
47427         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47428         * config.make.in (link-obsolete-rpc): New substituted variable.
47429         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47430         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47431         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47432         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47433         so that libc.a contains the symbols.
47434         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47435         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47436         * sunrpc/auth_none.c: Likewise.
47437         * sunrpc/auth_unix.c: Likewise.
47438         * sunrpc/authdes_prot.c: Likewise.
47439         * sunrpc/authuxprot.c: Likewise.
47440         * sunrpc/clnt_gen.c: Likewise.
47441         * sunrpc/clnt_perr.c: Likewise.
47442         * sunrpc/clnt_raw.c: Likewise.
47443         * sunrpc/clnt_simp.c: Likewise.
47444         * sunrpc/clnt_tcp.c: Likewise.
47445         * sunrpc/clnt_udp.c: Likewise.
47446         * sunrpc/clnt_unix.c: Likewise.
47447         * sunrpc/des_crypt.c: Likewise.
47448         * sunrpc/des_soft.c: Likewise.
47449         * sunrpc/get_myaddr.c: Likewise.
47450         * sunrpc/key_call.c: Likewise.
47451         * sunrpc/key_prot.c: Likewise.
47452         * sunrpc/netname.c: Likewise.
47453         * sunrpc/pm_getmaps.c: Likewise.
47454         * sunrpc/pm_getport.c: Likewise.
47455         * sunrpc/pmap_clnt.c: Likewise.
47456         * sunrpc/pmap_prot.c: Likewise.
47457         * sunrpc/pmap_prot2.c: Likewise.
47458         * sunrpc/pmap_rmt.c: Likewise.
47459         * sunrpc/publickey.c: Likewise.
47460         * sunrpc/rpc_cmsg.c: Likewise.
47461         * sunrpc/rpc_common.c: Likewise.
47462         * sunrpc/rpc_dtable.c: Likewise.
47463         * sunrpc/rpc_prot.c: Likewise.
47464         * sunrpc/rpc_thread.c: Likewise.
47465         * sunrpc/rtime.c: Likewise.
47466         * sunrpc/svc.c: Likewise.
47467         * sunrpc/svc_auth.c: Likewise.
47468         * sunrpc/svc_raw.c: Likewise.
47469         * sunrpc/svc_run.c: Likewise.
47470         * sunrpc/svc_tcp.c: Likewise.
47471         * sunrpc/svc_udp.c: Likewise.
47472         * sunrpc/svc_unix.c: Likewise.
47473         * sunrpc/svcauth_des.c: Likewise.
47474         * sunrpc/xcrypt.c: Likewise.
47475         * sunrpc/xdr.c: Likewise.
47476         * sunrpc/xdr_array.c: Likewise.
47477         * sunrpc/xdr_float.c: Likewise.
47478         * sunrpc/xdr_intXX_t.c: Likewise.
47479         * sunrpc/xdr_mem.c: Likewise.
47480         * sunrpc/xdr_rec.c: Likewise.
47481         * sunrpc/xdr_ref.c: Likewise.
47482         * sunrpc/xdr_sizeof.c: Likewise.
47483         * sunrpc/xdr_stdio.c: Likewise.
47485 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47488         change.  Update copyright years.
47490 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47492         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47494 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47495             Joseph Myers  <joseph@codesourcery.com>
47496             Paul Pluzhnikov  <ppluzhnikov@google.com>
47498         [BZ #14012]
47499         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47500         requiring rpcgen.
47501         [cross-compiling] (extra-libs): Likewise.
47502         [cross-compiling] (extra-libs-others): Likewise.
47503         [cross-compiling] (librpcsvc-routines): Likewise.
47504         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47505         [cross-compiling] (omit-deps): Likewise.
47506         (sunrpc-CPPFLAGS): New variable.
47507         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47508         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47509         (cross-rpcgen-objs): New variable.
47510         (extra-objs): Append $(cross-rpcgen-objs).
47511         ($(cross-rpcgen-objs)): New rule.
47512         ($(objpfx)cross-rpcgen): Likewise.
47513         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47514         comment.
47515         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47516         ($(objpfx)x%.stmp): Likewise.
47517         * sunrpc/proto.h [IS_IN_build] (_): Define.
47518         [IS_IN_build] (_libc_intl_domainname): Likewise.
47520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47523         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47524         and R_X86_64_TPOFF64.
47526 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47528         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47529         sysdeps/unix/sysv/syscalls.list.
47530         (stime): Likewise.
47531         (utime): Likewise.
47532         * sysdeps/unix/sysv/syscalls.list: Remove file.
47534 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47536         [BZ #3440]
47537         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47538         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47539         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47540         (__LC_IDENTIFICATION): Make these macros useful in #if
47541         expressions, as required by C99.
47543 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47545         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47546         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47547         after this.
47549 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47551         * stdlib/longlong.h: Updated from GCC.
47553 2012-05-09  Andreas Jaeger  <aj@suse.de>
47555         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47556         default is first entry.
47557         (run_mode): Set type.
47558         (main): Remove informal message about syslog.
47559         (options): Fix typo.
47561         [BZ #14053]
47562         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47563         to asm.
47564         (lrint): Likewise.
47565         (llrintf): Likewise.
47566         (llrint): Likewise.
47567         (rint): Likewise.
47568         (rintf): Likewise.
47569         (nearbyint): Likewise.
47570         (nearbyintf): Likewise.
47572 2012-05-09  Andreas Jaeger  <aj@suse.de>
47573             Pedro Alves  <palves@redhat.com>
47575         * nscd/nscd.c (run_mode): Use enum.
47576         (main): Cleanup coding style issue.
47578 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47579             Andreas Jaeger  <aj@suse.de>
47581         * nscd/nscd.c (go_background): Replaced with...
47582         (run_mode): ... this.
47583         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47584         (options): Add -F --foreground.
47585         (main): Implement it.
47586         (parse_opt): Parse it.
47588 2012-05-09  Andreas Jaeger  <aj@suse.de>
47590         [BZ #14083]
47591         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47592         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47593         -Wconversion warning.
47594         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47595         Likewise.
47597 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47599         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47600         == 0.
47601         (LC_ALL): Use macro-int-constant.
47602         (LC_COLLATE): Likewise.
47603         (LC_CTYPE): Likewise.
47604         (LC_MESSAGES): Likewise.
47605         (LC_MONETARY): Likewise.
47606         (LC_NUMERIC): Likewise.
47607         (LC_TIME): Likewise.
47608         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47609         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47610         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47611         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47612         Specify type.
47613         [C99-based standards] (float_t): Expect type.
47614         [C99-based standards] (double_t): Expect type.
47615         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47616         type.
47617         [C99-based standards] (HUGE_VALL): Likewise.
47618         [C99-based standards] (INFINITY): Likewise.
47619         [C99-based standards] (NAN): Likewise.
47620         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47621         [C99-based standards] (FP_NAN): Likewise.
47622         [C99-based standards] (FP_NORMAL): Likewise.
47623         [C99-based standards] (FP_SUBNORMAL): Likewise.
47624         [C99-based standards] (FP_ZERO): Likewise.
47625         [C99-based standards] (FP_FAST_FMA): Use
47626         optional-macro-int-constant.  Specify type.  Require == 1.
47627         [C99-based standards] (FP_FAST_FMAF): Likewise.
47628         [C99-based standards] (FP_FAST_FMAL): Likewise.
47629         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47630         [C99-based standards] (FP_ILOGBNAN): Likewise.
47631         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47632         Specify type.
47633         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47634         [C99-based standards] (math_errhandling): Specify type.
47635         [ISO99 || ISO11] (signgam): Do not allow.
47636         [non-C99-based standards] (copysignf): Do not allow.
47637         [non-C99-based standards] (exp2f): Likewise.
47638         [non-C99-based standards] (log2f): Likewise.
47639         [non-C99-based standards] (modff): Allow.
47640         [non-C99-based standards] (erff): Do not allow.
47641         [non-C99-based standards] (erfcf): Likewise.
47642         [non-C99-based standards] (gammaf): Likewise.
47643         [non-C99-based standards] (hypotf): Likewise.
47644         [non-C99-based standards] (j0f): Likewise.
47645         [non-C99-based standards] (j1f): Likewise.
47646         [non-C99-based standards] (jnf): Likewise.
47647         [non-C99-based standards] (lgammaf): Likewise.
47648         [non-C99-based standards] (tgammaf): Likewise.
47649         [non-C99-based standards] (y0f): Likewise.
47650         [non-C99-based standards] (y1f): Likewise.
47651         [non-C99-based standards] (ynf): Likewise.
47652         [non-C99-based standards] (isnanf): Likewise.
47653         [non-C99-based standards] (acoshf): Likewise.
47654         [non-C99-based standards] (asinhf): Likewise.
47655         [non-C99-based standards] (atanhf): Likewise.
47656         [non-C99-based standards] (cbrtf): Likewise.
47657         [non-C99-based standards] (expm1f): Likewise.
47658         [non-C99-based standards] (ilogbf): Likewise.
47659         [non-C99-based standards] (log1pf): Likewise.
47660         [non-C99-based standards] (logbf): Likewise.
47661         [non-C99-based standards] (nextafterf): Likewise.
47662         [non-C99-based standards] (remainderf): Likewise.
47663         [non-C99-based standards] (rintf): Likewise.
47664         [non-C99-based standards] (scalbf): Likewise.
47665         [non-C99-based standards] (copysignl): Likewise.
47666         [non-C99-based standards] (exp2l): Likewise.
47667         [non-C99-based standards] (log2l): Likewise.
47668         [non-C99-based standards] (modfl): Allow.
47669         [non-C99-based standards] (erfl): Do not allow.
47670         [non-C99-based standards] (erfcl): Likewise.
47671         [non-C99-based standards] (gammal): Likewise.
47672         [non-C99-based standards] (hypotl): Likewise.
47673         [non-C99-based standards] (j0l): Likewise.
47674         [non-C99-based standards] (j1l): Likewise.
47675         [non-C99-based standards] (jnl): Likewise.
47676         [non-C99-based standards] (lgammal): Likewise.
47677         [non-C99-based standards] (tgammal): Likewise.
47678         [non-C99-based standards] (y0l): Likewise.
47679         [non-C99-based standards] (y1l): Likewise.
47680         [non-C99-based standards] (ynl): Likewise.
47681         [non-C99-based standards] (isnanl): Likewise.
47682         [non-C99-based standards] (acoshl): Likewise.
47683         [non-C99-based standards] (asinhl): Likewise.
47684         [non-C99-based standards] (atanhl): Likewise.
47685         [non-C99-based standards] (cbrtl): Likewise.
47686         [non-C99-based standards] (expm1l): Likewise.
47687         [non-C99-based standards] (ilogbl): Likewise.
47688         [non-C99-based standards] (log1pl): Likewise.
47689         [non-C99-based standards] (logbl): Likewise.
47690         [non-C99-based standards] (nextafterl): Likewise.
47691         [non-C99-based standards] (remainderl): Likewise.
47692         [non-C99-based standards] (rintl): Likewise.
47693         [non-C99-based standards] (scalbl): Likewise.
47694         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47695         [non-C99-based standards] (FP_*): Do not allow.
47696         [C99-based standards] (FP_*): Change to
47697         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47698         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47699         allow.
47700         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47701         (SIG_ERR): Likewise.
47702         [X/Open-based standards] (SIG_HOLD): Likewise.
47703         (SIG_IGN): Likewise.
47704         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47705         positive value.
47706         (SIGFPE): Likewise.
47707         (SIGILL): Likewise.
47708         (SIGINT): Likewise.
47709         (SIGSEGV): Likewise.
47710         (SIGTER): Likewise.
47711         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47712         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47713         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47714         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47715         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47716         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47717         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47718         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47719         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47720         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47721         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47722         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47723         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47724         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47725         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47726         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47727         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47728         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47729         [X/Open-based standards] (SIGTRAP): Likewise.
47730         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47731         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47732         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47733         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47734         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47735         allow.
47737 2012-05-08  Ian Wienand  <ianw@vmware.com>
47739         [BZ #14080]
47740         * time/tzset.c (__tzset_parse_tz): Update default rules for
47741         daylight time changes in the Energy Policy Act of 2005.
47743 2012-05-09  Andreas Jaeger  <aj@suse.de>
47745         [BZ #13983]
47746         * elf/ldconfig.c (parse_conf): Change string to make clear that
47747         ldconfig only issued a warning if ld.so.conf does not exist.
47749 2012-05-08  David S. Miller  <davem@davemloft.net>
47751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47752         movxtod instead of popping the value on the stack.
47754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47756 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47758         * config.h.in: Add HAVE_ARM_PCS_VFP.
47760 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47762         [BZ #13979]
47763         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47764         checking but the checks are disabled for any reason.
47766 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47768         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47769         and ELF64_R_TYPE with ELFW(R_TYPE).
47771 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47773         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47774         (ulimit): Likewise.
47776         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47777         (settimeofday): Likewise.
47779 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47781         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47782         a struct th_u2 inside the union, and move tu_block/tu_code into
47783         a new th_u3 union of tu_block/tu_code inside of that.  Move
47784         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47785         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47786         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47787         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47788         (th_stuff): Change to th_u1.tu_stuff.
47789         (th_data): Define.
47790         (th_msg): Change to th_u1.th_u2.tu_data.
47792 2012-05-07  David S. Miller  <davem@davemloft.net>
47794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47796         [BZ #14074]
47797         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47798         (SETUP_PIC_REG): Use it.
47799         (SETUP_PIC_REG_LEAF): Use it.
47801 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47803         [BZ #13885]
47804         [BZ #13923]
47805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47806         USE_AS_EXPM1L.
47807         (EXPL_FINITE): Likewise.
47808         (FLDLOG): Likewise.
47809         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47810         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47811         e_expl.S.
47812         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47813         USE_AS_EXPM1L.
47814         (EXPL_FINITE): Likewise.
47815         (FLDLOG): Likewise.
47816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47817         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47818         e_expl.S.
47819         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47820         test of -max_value argument for long double.
47821         * sysdeps/i386/fpu/libm-test-ulps: Update.
47822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47824 2012-05-06  David S. Miller  <davem@davemloft.net>
47826         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47827         quad soft-float symbols whose references which are compiler
47828         generated.
47829         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47831 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47833         [BZ #13884]
47834         [BZ #13914]
47835         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47836         USE_AS_EXP10L.
47837         (EXPL_FINITE): Likewise.
47838         (FLDLOG): Likewise.
47839         (c0): Likewise.
47840         (c1): Likewise.
47841         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47842         Adjust comments for base varying.
47843         (__expl_finite): Change alias to EXPL_FINITE.
47844         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47845         e_expl.S.
47846         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47847         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47848         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47849         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47850         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47851         USE_AS_EXP10L.
47852         (EXPL_FINITE): Likewise.
47853         (FLDLOG): Likewise.
47854         (c0): Likewise.
47855         (c1): Likewise.
47856         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47857         Adjust comments for base varying.
47858         (__expl_finite): Change alias to EXPL_FINITE.
47859         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47860         tests for bugs.
47861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47863         [BZ #14064]
47864         * math/libm-test.inc (check_float_internal): Correct ulp
47865         calculation for subnormal expected results.
47867 2012-05-06  Andreas Jaeger  <aj@suse.de>
47869         * Makeconfig (+math-flags): New, set to -frounding-math.
47870         (+cflags): Add +math-flags so that all of glibc gets compiled with
47871         it.
47873         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47875 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47877         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47878         Disable one test.
47880         [BZ #13787]
47881         [BZ #13922]
47882         [BZ #14036]
47883         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47884         (__ieee754_expl): Allow for and saturate large arguments.
47885         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47886         (u_threshold): Likewise.
47887         (__exp): Call __ieee754_exp before checking for overflow and
47888         underflow.
47889         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47890         (u_threshold): Likewise.
47891         (__expf): Call __ieee754_expf before checking for overflow and
47892         underflow.
47893         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47894         (u_threshold): Likewise.
47895         (__expl): Call __ieee754_expl before checking for overflow and
47896         underflow.
47897         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47898         (__ieee754_expl): Allow for and saturate large arguments.
47899         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47900         missing overflow exception on overflow.
47901         (expm1_test): Do not allow missing overflow exception on overflow.
47903         * sysdeps/i386/fpu/e_expl.c: Move to ...
47904         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47905         rather than using inline asm.
47906         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47907         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47908         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47910         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47911         (nice): Likewise.
47912         (poll): Likewise.
47913         (signal): Likewise.
47914         (time): Likewise.
47915         (times): Likewise.
47917 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47919         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47920         sysdeps/unix/common/syscalls.list.
47921         (fchmod): Likewise.
47922         (fchown): Likewise.
47923         (ftruncate): Likewise.
47924         (getrusage): Likewise.
47925         (gettimeofday): Likewise.
47926         (setpgid): Likewise.
47927         (setregid): Likewise.
47928         (setreuid): Likewise.
47929         (sigaction): Likewise.
47930         (truncate): Likewise.
47931         (vhangup): Likewise.
47932         * sysdeps/unix/common/syscalls.list: Remove file.
47933         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47934         * sysdeps/unix/sysv/linux/Implies: Likewise.
47936 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47938         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47940         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47941         Moved to ...
47942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47943         Here.
47944         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47945         to ...
47946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47947         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47948         to ...
47949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47950         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47951         to ...
47952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47953         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47954         to ...
47955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47956         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47957         to ...
47958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47959         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47960         to ...
47961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47962         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47963         to ...
47964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47965         Here.
47966         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47967         to ...
47968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47969         Here.
47970         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47971         to ...
47972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47973         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47974         Moved to ...
47975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47976         Here.
47977         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47978         to ...
47979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47981 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47983         * sysdeps/unix/common/bits/dirent.h: Remove file.
47984         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47986         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47987         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47988         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47989         * sysdeps/unix/bsd/isatty.c: Likewise.
47990         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47991         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47992         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47994 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47996         [BZ #13563]
47997         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47998         long double comparison inaccuracies.
47999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48002 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48004         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48005         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48007 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48009         [BZ #14049]
48010         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48011         nonzero digits before rounding a hex value.
48012         * stdlib/tst-strtod.c (tests): Add another test.
48014 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48016         * sysdeps/s390/fpu/libm-test-ulps: Update.
48018 2012-05-03  Andreas Jaeger  <aj@suse.de>
48020         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48021         does not get optimized out.
48022         (malloc_opt_barrier): New.
48024 2012-05-03  Andreas Jaeger  <aj@suse.de>
48025             Roland McGrath  <roland@hack.frob.com>
48027         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48028         intermediate file deletion.
48029         (generated): Add .symlist files.
48031 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48033         [BZ #13775]
48034         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48035         Redirect under this condition.
48036         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48037         [__USE_GNU] (__dprintf_chk): Not under this condition.
48038         [__USE_GNU] (__vdprintf_chk): Likewise.
48039         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48040         under this condition.
48041         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48042         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48043         [__USE_XOPEN2K8] (vdprintf): Likewise.
48044         [__USE_GNU] (__dprintf_chk): Not under this condition.
48045         [__USE_GNU] (__vdprintf_chk): Likewise.
48046         [__USE_GNU] (dprintf): Likewise.
48047         [__USE_GNU] (vdprintf): Likewise.
48049 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48051         * elf/Makefile (common-generated): Set this instead of generated for
48052         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48053         $(all-built-dso)-derived lists.
48055 2012-05-03  Andreas Jaeger  <aj@suse.de>
48057         * sysdeps/i386/fpu/libm-test-ulps: Update.
48059         * FAQ: Removed.
48060         * FAQ.in: Likewise.
48061         * scripts/gen-FAQ.pl: Likewise.
48062         * manual/install.texi (Installation): Point to online location of
48063         FAQ.
48064         * Makefile (files-for-dist): Remove FAQ.
48065         (FAQ): Remove.
48067 2012-05-02  Allan McRae  <allan@archlinux.org>
48069         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48070         (LDFLAGS-reldepmod5.so): Likewise.
48071         (LDFLAGS-reldep6mod1.so): Likewise.
48072         (LDFLAGS-reldep6mod4.so): Likewise.
48073         (LDFLAGS-reldep8mod3.so): Likewise.
48074         (LDFLAGS-unload4mod1.so): Likewise.
48075         (LDFLAGS-unload4mod2.so): Likewise.
48076         (LDFLAGS-tst-initorder): Likewise.
48077         (LDFLAGS-tst-initordera2.so): Likewise.
48078         (LDFLAGS-tst-initordera3.so): Likewise.
48079         (LDFLAGS-tst-initordera4.so): Likewise.
48080         (LDFLAGS-tst-initorderb2.so): Likewise.
48081         (LDFLAGS-noload): Likewise.
48082         (LDFLAGS-next): Likewise.
48083         (LDFLAGS-order2mod1.so): Likewise.
48084         (LDFLAGS-order2mod2.so): Likewise.
48085         (LDFLAGS-tst-initorder2): Likewise.
48086         (LDFLAGS-tst-initorder2a.so): Likewise.
48087         (LDFLAGS-tst-initorder2b.so): Likewise.
48088         (LDFLAGS-tst-initorder2c.so): Likewise.
48089         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48091 2012-05-02  David S. Miller  <davem@davemloft.net>
48093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48095 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48097         [BZ #14055]
48098         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48100 2012-05-02  Andreas Jaeger  <aj@suse.de>
48102         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48103         since we manipulate rounding mode.
48104         (CPPFLAGS-test-idouble.c): Likewise.
48105         (CPPFLAGS-test-ifloat.c): Likewise.
48106         (CFLAGS-test-ldouble.c): Likewise.
48107         (CFLAGS-test-double.c): Likewise.
48108         (CFLAGS-test-float.c): Likewise.
48109         (CFLAGS-test-misc.c): Likewise.
48110         (CFLAGS-test-test-fenv.c): Likewise.
48112 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48114         [BZ #2550]
48115         [BZ #2570]
48116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48117         comparisons to determine direction to adjust input.
48119 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48121         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48122         output to the target.
48124         * scripts/localplt.awk: New file.
48125         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48126         (check-localplt-CFLAGS): Variable removed.
48127         ($(all-built-dso:=.jmprel)): New static pattern rule.
48128         (generated): Add those targets.
48129         (localplt-built-dso): New variable.
48130         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48132         * elf/check-localplt.c: File removed.
48134         * scripts/check-execstack.awk: New file.
48135         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48136         (check-execstack-CFLAGS): Variable removed.
48137         ($(objpfx)check-execstack.h): Target removed.
48138         ($(objpfx)execstack-default): New target.
48139         (generated): Add that instead of check-execstack.h.
48140         ($(all-built-dso:=.phdr)): New static pattern rule.
48141         (generated): Add those targets.
48142         * elf/check-execstack.c: File removed.
48144         * scripts/check-textrel.awk: New file.
48145         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48146         (check-textrel-CFLAGS): Variable removed.
48147         (all-built-dso): Use := to define.o
48148         ($(all-built-dso:=.dyn)): New static pattern rule.
48149         (generated): Add those targets.
48150         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48151         * config.make.in (READELF): New substituted variable.
48152         * elf/check-textrel.c: File removed.
48154 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48156         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48157         allow.
48158         * conform/data/ctype.h-data [C99-based standards] (isblank):
48159         Expect function.
48160         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48161         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48162         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48163         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48164         Specify type.  Require positive value.
48165         (EILSEQ): Likewise.
48166         (ERANGE): Likewise.
48167         [ISO || POSIX] (EILSEQ): Do not expect.
48168         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48169         Specify type.  Require positive value.
48170         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48171         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48172         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48173         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48174         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48175         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48176         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48177         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48178         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48179         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48180         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48181         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48182         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48183         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48184         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48185         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48186         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48187         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48188         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48189         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48190         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48191         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48192         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48193         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48194         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48195         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48196         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48197         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48198         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48199         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48200         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48201         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48202         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48203         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48204         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48205         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48206         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48207         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48208         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48209         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48210         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48211         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48212         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48213         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48214         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48215         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48216         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48217         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48218         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48219         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48220         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48221         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48222         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48223         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48224         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48225         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48226         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48227         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48228         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48229         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48230         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48231         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48232         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48233         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48234         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48235         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48236         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48237         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48238         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48239         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48240         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48241         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48242         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48243         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48244         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48245         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48246         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48247         Require >= 2.
48248         (FLT_ROUNDS): Expect as macro, not constant.
48249         (FLT_MANT_DIG): Use macro-int-constant.
48250         (DBL_MANT_DIG): Likewise.
48251         (LDBL_MANT_DIG): Likewise.
48252         (FLT_DIG): Likewise.
48253         (DBL_DIG): Likewise.
48254         (LDBL_DIG): Likewise.
48255         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48256         (DBL_MIN_EXP): Likewise.
48257         (LDBL_MIN_EXP): Likewise.
48258         (FLT_MAX_EXP): Use macro-int-constant.
48259         (DBL_MAX_EXP): Likewise.
48260         (LDBL_MAX_EXP): Likewise.
48261         (FLT_MAX_10_EXP): Likewise.
48262         (DBL_MAX_10_EXP): Likewise.
48263         (LDBL_MAX_10_EXP): Likewise.
48264         (FLT_MAX): Use macro-constant.
48265         (DBL_MAX): Likewise.
48266         (LDBL_MAX): Likewise.
48267         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48268         (DBL_EPSILON): Likewise.
48269         (LDBL_EPSILON): Likewise.
48270         (FLT_MIN): Likewise.
48271         (DBL_MIN): Likewise.
48272         (LDBL_MIN): Likewise.
48273         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48274         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48275         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48276         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48277         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48278         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48279         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48280         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48281         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48282         [ISO11] (FLT_TRUE_MIN): Likewise.
48283         [ISO11] (LDBL_TRUE_MIN): Likewise.
48284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48285         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48286         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48287         (SCHAR_MAX): Likewise.
48288         (UCHAR_MAX): Likewise.
48289         (CHAR_MIN): Likewise.
48290         (CHAR_MAX): Likewise.
48291         (MB_LEN_MAX): Use macro-int-constant.
48292         (SHRT_MIN): Use macro-int-constant.  Specify type.
48293         (SHRT_MAX): Likewise.
48294         (USHRT_MAX): Likewise.
48295         (INT_MAX): Likewise.
48296         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48297         bound negative.
48298         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48299         bound with "U".
48300         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48301         bound with "L".
48302         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48303         bound negative.  Suffix upper bound with "L".
48304         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48305         bound with "UL".
48306         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48307         Specify type.
48308         [C99-based standards] (LLONG_MAX): Likewise.
48309         [C99-based standards] (ULLONG_MAX): Likewise.
48310         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48311         == 0.
48312         [ISO11] (max_align_t): Require type.
48313         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48315         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48316         from $CFLAGS, without defining away __attribute__ calls.
48317         (checknamespace): Use $CFLAGS_namespace.
48319         * conform/conformtest.pl (@keywords): Only include C99 keywords
48320         for standards based on C99 or C11.
48322         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48323         Disable tests.
48324         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48325         UNIX98]: Likewise.
48327         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48328         usability of symbols in #if.
48330         * conform/conformtest.pl: If macro or constant types start
48331         "promoted:", expect the symbol to be of the following type
48332         promoted by the integer promotions.
48334         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48335         in one place.  Also handle "macro-constant".
48337         * conform/conformtest.pl: Only accept expected macro values with
48338         "==".  Parse all "macro" lines in one place.
48339         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48341         * conform/conformtest.pl: Handle braced types on "constant" lines
48342         instead of handling "typed-constant".
48343         * conform/data/signal.h-data: Use "constant" instead of
48344         "typed-constant".
48346         * conform/conformtest.pl: Handle "optional-" at start of lines in
48347         one place rather than duplicating several cases.  Handle each
48348         format of "macro" line with initial "optional-".
48350         * conform/conformtest.pl: Only accept expected constant or
48351         optional-constant values with "==".  Parse all "constant" lines in
48352         one place.  Parse all "optional-constant" lines in one place.
48353         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48354         * conform/data/fmtmsg.h-data: Likewise.
48355         * conform/data/netinet/in.h-data: Likewise.
48356         * conform/data/tar.h-data: Likewise.
48357         * conform/data/limits.h-data: Use "==" form on "constant" and
48358         "optional-constant" lines.
48360         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48361         Use -std=c99 for XOPEN2K.
48362         (@knownproblems): Remove.
48363         (newtoken): Don't check %isknown.
48365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48366         Do not expect macro.
48367         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48368         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48369         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48370         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48371         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48372         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48373         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48374         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48375         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48376         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48377         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48378         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48379         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48380         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48381         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48382         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48383         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48384         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48385         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48386         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48387         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48388         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48389         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48390         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48391         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48392         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48393         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48394         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48395         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48396         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48397         [XPG3] (acosh): Likewise.
48398         [XPG3] (asinh): Likewise.
48399         [XPG3] (atanh): Likewise.
48400         [XPG3] (cbrt): Likewise.
48401         [XPG3] (expm1): Likewise.
48402         [XPG3] (ilogb): Likewise.
48403         [XPG3] (log1p): Likewise.
48404         [XPG3] (logb): Likewise.
48405         [XPG3] (nextafter): Likewise.
48406         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48407         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48408         [XPG3] (remainder): Likewise.
48409         [XPG3] (rint): Likewise.
48410         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48411         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48412         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48413         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48414         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48415         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48416         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48417         [UNIX98 || XOPEN2K] (scalb): Expect.
48418         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48419         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48420         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48421         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48422         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48423         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48424         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48425         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48426         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48427         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48428         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48429         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48430         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48431         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48432         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48433         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48434         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48435         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48436         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48437         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48438         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48439         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48440         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48441         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48442         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48443         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48444         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48445         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48446         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48447         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48448         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48449         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48450         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48451         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48452         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48453         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48454         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48455         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48456         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48457         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48458         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48459         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48460         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48461         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48462         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48463         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48464         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48465         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48466         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48467         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48468         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48469         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48470         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48471         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48472         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48473         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48474         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48475         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48476         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48477         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48478         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48479         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48480         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48481         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48482         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48483         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48484         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48485         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48486         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48487         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48488         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48489         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48490         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48491         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48492         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48493         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48494         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48495         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48496         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48497         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48498         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48499         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48500         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48501         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48502         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48503         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48504         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48505         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48506         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48508         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48509         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48510         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48512         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48513         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48515         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48516         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48517         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48518         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48519         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48520         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48521         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48522         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48523         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48524         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48525         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48526         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48527         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48528         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48529         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48530         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48531         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48532         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48533         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48534         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48535         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48536         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48537         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48538         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48539         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48540         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48541         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48542         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48543         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48544         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48545         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48546         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48547         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48548         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48549         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48550         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48551         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48552         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48553         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48554         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48556         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48557         _XOPEN_SOURCE_EXTENDED for XPG4.
48559         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48561         * Makeconfig (localtime): Remove variable.
48562         (inst_localtime-file): Likewise.
48564 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48567         Update.
48568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48569         Update.
48570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48571         Update.
48572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48573         Update.
48574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48575         Update.
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48577         Update.
48578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48579         Update.
48580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48581         Update.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48583         Update.
48585 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48587         [BZ #2550]
48588         [BZ #2570]
48589         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48590         comparisons to determine direction to adjust input.
48591         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48592         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48593         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48594         Likewise.
48595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48596         Likewise.
48597         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48598         Likewise.
48599         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48600         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48601         Likewise.
48602         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48603         Likewise.
48604         * math/libm-test.inc (nexttoward_test): Add more tests.
48606 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48608         [BZ #14040]
48609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48610         in version GLIBC_2.1, not GLIBC_2.0.
48611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48612         Likewise.
48614 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48616         [BZ #13942]
48617         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48618         (1 - x) * (1 + x).
48619         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48620         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48621         * math/libm-test.inc (acos_test): Add more tests.
48622         (asin_test): Likewise.
48623         * sysdeps/i386/fpu/libm-test-ulps: Update.
48624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48626         [BZ #14034]
48627         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48628         of square root.
48629         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48630         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48631         * math/libm-test.inc (acos_test_tonearest): New function.
48632         (acos_test_towardzero): Likewise.
48633         (acos_test_downward): Likewise.
48634         (acos_test_upward): Likewise.
48635         (asin_test_tonearest): Likewise.
48636         (asin_test_towardzero): Likewise.
48637         (asin_test_downward): Likewise.
48638         (asin_test_upward): Likewise.
48639         (main): Call the new functions.
48640         * sysdeps/i386/fpu/libm-test-ulps: Update.
48641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48643         [BZ #13884]
48644         [BZ #13924]
48645         * math/e_exp10.c: Include <float.h>.
48646         (__ieee754_exp10): Handle underflow here rather than multiplying
48647         large negative argument by M_LN10.
48648         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48649         of __ieee754_expf.
48650         * math/e_exp10l.c: Include <float.h>.
48651         (__ieee754_exp10l): Handle underflow here rather than multiplying
48652         large negative argument by M_LN10l.
48653         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48654         spurious overflow exception on underflow.
48656 2012-04-29  Marek Polacek  <polacek@redhat.com>
48658         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48659         (__fortify_function): New macro.
48660         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48661         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48662         __extern_always_inline.
48663         * libio/bits/stdio2.h: Likewise.
48664         * libio/bits/stdio.h: Likewise.
48665         * string/string.h: Likewise.
48666         * string/bits/string3.h: Likewise.
48667         * include/stdio.h: Likewise.
48668         * stdlib/bits/stdlib.h: Likewise.
48669         * stdlib/stdlib.h: Likewise.
48670         * rt/bits/mqueue2.h: Likewise.
48671         * rt/mqueue.h: Likewise.
48672         * posix/bits/unistd.h: Likewise.
48673         * posix/unistd.h: Likewise.
48674         * io/bits/poll2.h: Likewise.
48675         * io/bits/fcntl2.h: Likewise.
48676         * io/fcntl.h: Likewise.
48677         * io/sys/poll.h: Likewise.
48678         * misc/bits/syslog.h: Likewise.
48679         * misc/bits/syslog-ldbl.h: Likewise.
48680         * misc/sys/syslog.h: Likewise.
48681         * socket/bits/socket2.h: Likewise.
48682         * socket/sys/socket.h: Likewise.
48683         * debug/tst-chk1.c: Likewise.
48684         * wcsmbs/bits/wchar2.h: Likewise.
48685         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48686         * wcsmbs/wchar.h: Likewise.
48688 2012-04-29  Andreas Jaeger  <aj@suse.de>
48690         * Makerules (tests): Remove enable-check-abi protection.
48691         (check-abi-warn): Remove.
48692         (check-abi-%): Remove check-abi-warn usage.
48694         * configure.in: Remove check-abi configure option.
48695         * configure: Regenerated.
48696         * config.make.in (enable-check-abi): Remove.
48698 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48700         [BZ #14033]
48701         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48702         double functions to double *_finite functions.
48704         [BZ #13941]
48705         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48706         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48707         LDBL_MIN_EXP.
48708         * stdio-common/Makefile (tests): Add tst-sprintf3.
48709         * stdio-common/tst-sprintf3.c: New file.
48711         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48712         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48714 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48716         * conform/conformtest.pl: Remove duplicate typed-constant
48717         handling.
48719 2012-04-28  David S. Miller  <davem@davemloft.net>
48721         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48722         (check-abi-%): Remove AWK script prerequisite and explicit
48723         abilist directory.
48724         (check-abi): Rewrite to just diff the symlist with the abilist.
48725         (config-tls, config-abi-config): Delete, no longer used.
48726         (update-abi-%): Remove AWK script and explicit abilist directory.
48727         (update-abi): Rewrite to simply compare and conditionally copy the
48728         symlist and the sysdep abilist file.  Remove update-abi-config
48729         checks.
48730         * abilist/ld.abilist: Remove.
48731         * abilist/libBrokenLocale.abilist: Remove.
48732         * abilist/libanl.abilist: Remove.
48733         * abilist/libcrypt.abilist: Remove.
48734         * abilist/libdl.abilist: Remove.
48735         * abilist/librt.abilist: Remove.
48736         * abilist/libthread_db.abilist: Remove.
48737         * abilist/libutil.abilist: Remove.
48738         * scripts/extract-abilist.awk: Remove.
48739         * scripts/merge-abilist.awk: Remove.
48740         * sysdeps/generic/libcidn.abilist: New file.
48741         * sysdeps/generic/libnss_compat.abilist: New file.
48742         * sysdeps/generic/libnss_db.abilist: New file.
48743         * sysdeps/generic/libnss_dns.abilist: New file.
48744         * sysdeps/generic/libnss_files.abilist: New file.
48745         * sysdeps/generic/libnss_hesiod.abilist: New file.
48746         * sysdeps/generic/libnss_nis.abilist: New file.
48747         * sysdeps/generic/libnss_nisplus.abilist: New file.
48748         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48749         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48750         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48751         file.
48752         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48753         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48754         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48755         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48756         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48757         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48758         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48759         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48760         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48761         file.
48762         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48763         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48764         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48765         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48766         file.
48767         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48768         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48769         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48770         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48771         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48772         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48773         file.
48774         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48775         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48776         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48777         file.
48778         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48780         New file.
48781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48782         New file.
48783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48784         New file.
48785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48786         New file.
48787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48788         New file.
48789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48790         New file.
48791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48792         New file.
48793         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48794         New file.
48795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48796         New file.
48797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48798         New file.
48799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48800         New file.
48801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48802         New file.
48803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48804         New file.
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48806         file.
48807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48808         New file.
48809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48810         New file.
48811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48812         file.
48813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48814         New file.
48815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48816         New file.
48817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48818         file.
48819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48820         New file.
48821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48822         New file.
48823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48824         New file.
48825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48826         New file.
48827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48828         New file.
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48830         New file.
48831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48833         file.
48834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48835         New file.
48836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48837         file.
48838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48839         file.
48840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48841         file.
48842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48843         file.
48844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48845         file.
48846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48847         New file.
48848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48849         file.
48850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48851         file.
48852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48853         New file.
48854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48855         file.
48856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48858         file.
48859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48860         New file.
48861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48862         file.
48863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48864         file.
48865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48866         file.
48867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48868         file.
48869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48870         file.
48871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48872         New file.
48873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48874         file.
48875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48876         file.
48877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48878         New file.
48879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48880         file.
48881         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48882         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48883         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48884         file.
48885         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48886         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48887         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48888         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48889         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48890         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48891         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48892         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48893         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48894         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48897         file.
48898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48899         New file.
48900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48901         file.
48902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48903         file.
48904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48905         file.
48906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48907         file.
48908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48909         file.
48910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48911         New file.
48912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48913         New file.
48914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48915         file.
48916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48917         New file.
48918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48919         file.
48920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48922         file.
48923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48924         New file.
48925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48926         file.
48927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48928         file.
48929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48930         file.
48931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48932         file.
48933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48934         file.
48935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48936         New file.
48937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48938         New file.
48939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48940         file.
48941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48942         New file.
48943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48944         file.
48946 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48948         * conform/conformtest.pl: Fix typo in handling typed-constant from
48949         allow-header.
48951 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48953         * README: Cut down references to pre-2.6 Linux kernels and
48954         Linuxthreads.  Update lists of configurations in libc and ports
48955         and sort alphabetically.  Say "or newer" with Linux kernel version
48956         requirements.
48958         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48960 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48962         [BZ #887]
48963         * math/libm-test.inc (logb_test_downward): New test to expose
48964         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48965         rounding mode.
48967 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48969         [BZ #14027]
48970         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48971         to be done.
48972         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48973         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48975 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48977         * sysdeps/unix/i386/brk.S: Remove file.
48978         * sysdeps/unix/i386/dl-brk.S: Likewise.
48979         * sysdeps/unix/i386/pipe.S: Likewise.
48980         * sysdeps/unix/i386/sigreturn.S: Likewise.
48981         * sysdeps/unix/i386/syscall.S: Likewise.
48982         * sysdeps/unix/i386/vfork.S: Likewise.
48983         * sysdeps/unix/i386/wait.S: Likewise.
48985         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48986         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48988         * configure.in (arm*-none*): Do not allow without
48989         --enable-hacker-mode.
48990         (netbsd*): Remove case setting base_os.
48991         (386bsd*): Likewise.
48992         (freebsd*): Likewise.
48993         (bsdi*): Likewise.
48994         (osf*): Likewise.
48995         (sunos*): Likewise.
48996         (ultrix*): Likewise.
48997         (newsos*): Likewise.
48998         (dynix*): Likewise.
48999         (*bsd*): Likewise.
49000         (sysv*): Likewise.
49001         (isc*): Likewise.
49002         (esix*): Likewise.
49003         (sco*): Likewise.
49004         (minix*): Likewise.
49005         (irix4*): Likewise.
49006         (irix6*): Likewise.
49007         (solaris[2-9]*): Likewise.
49008         (none): Likewise.
49009         * configure: Regenerated.
49011 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49013         [BZ #11521]
49014         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49015         overflow or cancellation in calculating denominator.
49016         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49018         down expression to avoid unexpected rounding in newer GCCs.
49019         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49021 2012-04-26  David S. Miller  <davem@davemloft.net>
49023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49024         long-double compat symbols.
49025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49039 2012-04-25  David S. Miller  <davem@davemloft.net>
49041         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49042         HWCAP_* values only after the memory barriers have been defined.
49043         (atomic_full_barrier): Define.
49044         (atomic_read_barrier): Define.
49045         (atomic_write_barrier): Define.
49047 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49049         * shlib-versions: Add libgcc_s version information.
49050         * sysdeps/generic/libgcc_s.h: Remove.
49051         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49052         libgcc_s.h.
49053         * sysdeps/gnu/unwind-resume.c: Likewise.
49054         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49056 2012-04-25  David S. Miller  <davem@davemloft.net>
49058         * sysdeps/unix/sparc/brk.S: Delete.
49059         * sysdeps/unix/sparc/dl-brk.S: Delete.
49060         * sysdeps/unix/sparc/pipe.S: Delete.
49061         * sysdeps/unix/sparc/sysdep.S: Delete.
49062         * sysdeps/unix/sparc/sysdep.h: Delete.
49063         * sysdeps/unix/sparc/vfork.S: Delete.
49064         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49065         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49066         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49067         (ret_ERRVAL, r0, r1, MOVE): Define.
49068         (JUMPTARGET): Remove.
49069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49070         sysdeps/unix/sparc/sysdep.h
49071         (ENTRY, END): Remove.
49072         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49074 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49076         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49077         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49078         -DIS_IN_build.
49080         * timezone/README: Update upstream location and email address for
49081         tzcode and tzdata.
49082         * timezone/zdump.c: Update from tzcode 2012b.
49083         * timezone/zic.c: Likewise.
49085         * configure.in (libc_cv_as_needed): Remove test.
49086         * configure: Regenerated.
49087         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49088         conditional definition.
49089         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49090         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49091         * config.make.in (have-as-needed): Remove variable.
49093 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49094             Paul Pluzhnikov  <ppluzhnikov@google.com>
49096         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49097         strings correctly.
49099 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49101         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49102         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49103         * sysdeps/sh/strlen.S: Likewise.
49105 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49107         * sysdeps/unix/fork.S: Remove file.
49108         * sysdeps/unix/i386/fork.S: Likewise.
49109         * sysdeps/unix/sparc/fork.S: Likewise.
49111         * sysdeps/unix/system.c: Remove file.
49112         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49114         * sysdeps/unix/getegid.S: Remove file.
49115         * sysdeps/unix/geteuid.S: Likewise.
49117 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49119         * scripts/check-localplt.awk: New file.
49120         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49121         of diff.
49122         * scripts/data/localplt-generic.data: Add a comment.
49124         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49125         NODE when __dir_mkfile failed.
49126         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49127         Reported by Ludovic Courtès <ludo@gnu.org>.
49129 2012-04-24  Andreas Jaeger  <aj@suse.de>
49131         * Makerules (common-clean): Also remove gen-as-const-headers
49132         files.
49134 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49136         * Makerules (native-compile): Do not change working directory for
49137         build.  Use $(OUTPUT_OPTION) in command.
49138         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49140 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49142         [BZ #13886]
49143         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49144         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49145         * math/libm-test.inc (floor_test): Add more tests.
49146         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49148 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49150         * sysdeps/unix/getdents.c: Remove file.
49151         * sysdeps/unix/sysv/getdents.c: Likewise.
49152         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49154         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49155         sysdeps/unix/mman/syscalls.list.
49156         (mmap): Likewise.
49157         (mprotect): Likewise.
49158         (msync): Likewise.
49159         (munmap): Likewise.
49160         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49161         * sysdeps/unix/mman/syscalls.list: Remove.
49162         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49164         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49165         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49166         * configure: Regenerated.
49167         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49168         $(libgcc_s_suffix).
49169         * config.make.in (libgcc_s_suffix): Remove variable.
49171 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49173         * sysdeps/unix/sysv/gethostname.c: Move to ...
49174         * sysdeps/posix/gethostname.c: ... here.
49176         * sysdeps/unix/execve.S: Remove file.
49178         * sysdeps/unix/_exit.S: Remove file.
49180 2012-04-23  Andreas Jaeger  <aj@suse.de>
49182         [BZ #13739]
49183         * manual/Makefile: Remove make dist support, there's no
49184         need for a stand-alone documentation tar ball.
49185         (TEXI2DVI): Define always, it's not in Makeconfig.
49186         (dist): Removed.
49187         (tar-it): Removed.
49188         (edition): Removed.
49189         (glibc-doc-$(edition).tar): Removed
49190         (%.Z): Removed.
49191         (%.gz): Removed.
49192         (%.uu): Removed.
49193         (ETAGS): Remove, it's in Makeconfig.
49194         (move-if-change): Remove, it's in Makeconfig.
49196 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49198         [BZ #13970]
49199         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49200         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49201         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49202         (strtod_l, strtof_l, strtold_l): Remove __wur.
49203         It is not necessarily an error to ignore strtol's return value.
49204         One can reliably look at the stored endptr to decide whether
49205         the number had valid syntax.
49207 2012-04-21  Andreas Jaeger  <aj@suse.de>
49209         [BZ #13739]
49210         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49212 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49214         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49215         * sysdeps/unix/sysv/Versions: Remove file.
49217 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49219         [BZ #13927]
49220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49222 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49224         [BZ #7064]
49225         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49226         version from __vm86.
49228 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49230         * sysdeps/unix/common/lxstat.c: Remove file.
49231         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49233         * sysdeps/unix/sysv/Makefile: Remove file.
49235         * sysdeps/unix/sysv/direct.h: Remove file.
49237         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49238         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49239         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49240         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49241         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49242         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49243         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49245         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49247         * sysdeps/unix/xmknod.c: Remove file.
49248         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49250         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49252         * sysdeps/unix/sysv/i386/time.S: Remove file.
49254         * sysdeps/unix/fxstat.c: Remove file.
49255         * sysdeps/unix/xstat.c: Likewise.
49256         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49258         * sysdeps/unix/sysv/sigaction.c: Remove file.
49260         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49261         (sysdep_headers): Remove variable.
49262         [termio.h not in sysdep_headers] (generated): Likewise.
49263         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49264         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49265         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49266         * sysdeps/unix/sysv/tcflow.c: Likewise.
49267         * sysdeps/unix/sysv/tcflush.c: Likewise.
49268         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49269         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49270         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49271         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49272         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49274         * sysdeps/unix/siglist.c: Remove file.
49276         * sysdeps/unix/getppid.S: Remove file.
49278         * sysdeps/unix/mkdir.c: Remove file.
49279         * sysdeps/unix/rmdir.c: Likewise.
49281 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49283         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49284         ERR_MAX value.
49285         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49286         errlist-compat value.
49288 2012-04-18  David S. Miller  <davem@davemloft.net>
49290         * sysdeps/generic/memcopy.h (reg_char): Delete.
49291         * debug/strcat_chk.c: Use char, not reg_char.
49292         * debug/strcpy_chk.c: Likewise.
49293         * debug/strncat_chk.c: Likewise.
49294         * debug/strncpy_chk.c: Likewise.
49295         * string/memchr.c: Likewise.
49296         * string/memrchr.c: Likewise.
49297         * string/rawmemchr.c: Likewise.
49298         * string/strcat.c: Likewise.
49299         * string/strchr.c: Likewise.
49300         * string/strchrnul.c: Likewise.
49301         * string/strcmp.c: Likewise.
49302         * string/strcpy.c: Likewise.
49303         * string/strncat.c: Likewise.
49304         * string/strncmp.c: Likewise.
49305         * string/strncpy.c: Likewise.
49307 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49309         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49310         __builtin_memcopy is called when src and dest ranges are known to not
49311         overlap.
49313 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49315         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49316         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49317         fwd_align_merge macro call.
49318         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49319         bwd_align_merge macro call.
49320         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49322 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49325         bwd_align_merge macros.
49326         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49327         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49328         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49330 2012-04-18  David S. Miller  <davem@davemloft.net>
49332         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49334 2012-04-18  Andreas Jaeger  <aj@suse.de>
49336         [BZ# 6794]
49337         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49338         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49339         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49341         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49342         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49343         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49345         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49346         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49347         Adjust for changed ldbl-128 files.
49349         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49350         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49351         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49353 2012-04-17  David S. Miller  <davem@davemloft.net>
49355         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49357 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49359         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49360         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49361         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49362         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49363         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49364         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49366 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49368         [BZ #6794]
49369         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49370         * math/libm-test.inc: Add ilogb errno and exception tests.
49371         * math/w_ilogb.c: New file: ilogb wrapper.
49372         * math/w_ilogbf.c: New file: ilogbf wrapper.
49373         * math/w_ilogbl.c: New file: ilogbl wrapper.
49374         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49375         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49376         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49377         exception being thrown with 0.0 as argument.
49378         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49379         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49380         exception being thrown with 0.0 as argument.
49381         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49382         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49383         exception being thrown with 0.0 as argument.
49384         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49385         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49386         exception being thrown with 0.0 as argument.
49387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49388         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49389         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49390         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49391         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49392         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49393         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49394         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49395         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49397 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49399         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49400         with altivec.
49402 2012-04-16  Marek Polacek  <polacek@redhat.com>
49404         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49406 2012-04-16  Marek Polacek  <polacek@redhat.com>
49408         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49409         operands of fdivp instruction.
49411 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49413         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49414         * elf/tst-auditmod3b.c: Likewise.
49415         * elf/tst-auditmod4b.c: Likewise.
49416         * elf/tst-auditmod5b.c: Likewise.
49417         * elf/tst-auditmod6b.c: Likewise.
49418         * elf/tst-auditmod6c.c: Likewise.
49419         * elf/tst-auditmod7b.c: Likewise.
49420         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49421         * sysdeps/x86_64/preconfigure.in: Likewise.
49422         * sysdeps/x86_64/preconfigure: Regenerated.
49424 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49426         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49427         __ILP32__.
49429 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49431         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49432         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49434 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49436         [BZ #13973]
49437         * locale/iso-639.def: Fix gl language name. Spotted by
49438         Yaron Shahrabani.
49440 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49442         [BZ #2074]
49443         * libio/libio.h (__io_write_fn): Update comment.
49445 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49447         [BZ #2074]
49448         * stdio.texi (Hook Functions): The user provided writer function
49449         is not allowed to return -1.
49451 2012-04-11  David S. Miller  <davem@davemloft.net>
49453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49455 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49457         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49458         Add a leading slash to rtkaio.
49460 2012-04-11  Jim Meyering  <meyering@redhat.com>
49462         [BZ #11959]
49463         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49464         It is not necessarily an error to ignore fwrite's return
49465         value.  One can reliably use ferror to test for errors after
49466         the fact.
49468 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49470         * bits/types.h (__snseconds_t): New type.
49471         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49473         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49475         (__SNSECONDS_T_TYPE): Likewise.
49476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49477         (__SNSECONDS_T_TYPE): Likewise.
49478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49479         (__SNSECONDS_T_TYPE): Likewise.
49481 2012-04-10  Andreas Jaeger  <aj@suse.de>
49483         [BZ #2636]
49484         * manual/time.texi (Processor Time): Return type of times is
49485         elapsed real time since an arbitrary point in the past.
49486         (CPU Time): Move CLK_TCK from here...
49487         (Processor Time): ...to here.  Correct description.
49488         * manual/conf.texi (Constants for Sysconf): Correct description of
49489         _SC_CLK_TCK.
49491 2012-04-10  David S. Miller  <davem@davemloft.net>
49493         [BZ #13967]
49494         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49495         where the is a gap between DT_REL(A) and DT_JMPREL.
49497 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49499         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49500         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49501         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49503 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49505         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49506         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49507         (dl_main): Handle --inhibit-cache.
49508         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49509         _dl_inhibit_cache.
49510         * elf/dl-load.c (_dl_map_object): Use it.
49511         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49513 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49515         [BZ #13872]
49516         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49517         (__ieee754_powl): Saturate large exponents rather than testing for
49518         overflow of y*log2(x).
49519         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49520         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49521         exceptions.
49523         [BZ #11521]
49524         * math/s_ctan.c: Include <float.h>.
49525         (__ctan): Avoid internal overflow or cancellation in calculating
49526         denominator.
49527         * math/s_ctanf.c: Likewise.
49528         * math/s_ctanl.c: Likewise.
49529         * math/s_ctanh.c: Likewise.
49530         * math/s_ctanhf.c: Likewise.
49531         * math/s_ctanhl.c: Likewise.
49532         * math/libm-test.inc (ctan_test): Add more tests.
49533         (ctanh_test): Likewise.
49534         * sysdeps/i386/fpu/libm-test-ulps: Update.
49535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49537 2012-04-09  Andreas Jaeger  <aj@suse.de>
49539         [BZ #6894]
49540         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49541         is an optional BSD extension.
49543         [BZ #10254]
49544         * manual/stdio.texi (Opening Streams): Document additional fopen
49545         parameters.
49547 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49549         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49550         %eax without telling the compiler.
49552 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49554         [BZ # 13963]
49555         * manual/install.texi: Use sourceware.org.
49557 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49559         [BZ #13873]
49560         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49561         (__ieee754_pow): Generate overflow and underflow using huge*huge
49562         and tiny*tiny rather than just returning constant infinity or zero
49563         for large exponents.
49564         * math/libm-test.inc (pow_test): Require overflow exceptions for
49565         applicable cases of large exponents.
49567         [BZ #706]
49568         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49569         (__ieee754_pow): Use iterative multiplication algorithm only for
49570         integer exponents with absolute value below 1024.  Check for odd
49571         integer exponents when using algorithm for real exponents.
49572         * math/libm-test.inc (pow_test): Add more tests.
49573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49575 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49577         [BZ #13705]
49578         * math/libm-test.inc (exp_test): Do not allow overflow exception
49579         on underflow test.
49581 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49583         [BZ #13705]
49584         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49585         instead of __kernel_standard_f.
49587 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49589         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49590         * sysdeps/x86_64/memset_chk.S: Likewise.
49592 2012-04-08  Andreas Jaeger  <aj@suse.de>
49594         [BZ #10153]
49595         * manual/startup.texi (Environment Access): Describe return value
49596         for putenv and setenv.
49598         [BZ #6895]
49599         * manual/filesys.texi (Directory Entries): Add description for
49600         DT_LNK.
49602         [BZ #6890]
49603         * manual/filesys.texi (Directory Entries): Clarify that it's file
49604         system not operating system in the description of DT_UNKNOWN.
49606         [BZ #6578]
49607         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49609 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49611         [BZ #6649]
49612         * manual/llio.texi (Opening and Closing Files): Add cross
49613         reference to explain mode argument.
49615 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49617         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49618         * sysdeps/x86_64/memset_chk.S: Likewise.
49620 2012-04-07  David S. Miller  <davem@davemloft.net>
49622         * elf/elf.h (R_SPARC_WDISP10): Define.
49623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49624         R_SPARC_SIZE32.
49625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49626         R_SPARC_SIZE64 and R_SPARC_H34.
49628 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49630         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49631         conditions and remove no longer applicable assertion.
49633 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49635         * 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-06  H.J. Lu  <hongjiu.lu@intel.com>
49641         * bits/byteswap.h (__bswap_16): Removed.
49642         Include <bits/byteswap-16.h> to get __bswap_16.
49643         * sysdeps/i386/bits/byteswap.h: Likewise.
49644         * sysdeps/s390/bits/byteswap.h: Likewise.
49645         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49646         * bits/byteswap-16.h: New file.
49647         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49648         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49649         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49650         * string/Makefile (headers): Add bits/byteswap-16.h.
49652 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49654         [BZ #13895]
49655         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49656         extra indirection.
49657         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49658         * nss/tst-nss-static.c: New.
49660 2012-04-06  Robert Millan  <rmh@gnu.org>
49662         [BZ #6486]
49663         * manual/llio.texi (File Position Primitive): lseek
49664         refers to WHENCE when it really means OFFSET.
49666 2012-04-06  Andreas Jaeger  <aj@suse.de>
49668         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49669         strncmp declarations.
49671         * abilist/libc.abilist: Add __poll and __ppoll.
49673 2012-04-05  David S. Miller  <davem@davemloft.net>
49675         * scripts/check-local-headers.sh: Accept a host triplet in the
49676         path matched by the exclude regexp.
49678         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49679         definition.
49680         * sysdeps/powerpc/powerpc32/dl-machine.h
49681         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49682         * sysdeps/s390/s390-32/dl-machine.h
49683         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49684         * sysdeps/sparc/sparc32/dl-machine.h
49685         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49686         * sysdeps/sparc/sparc64/dl-machine.h
49687         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49689         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49690         lazy binding.
49691         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49692         undefined symbol errors.
49694         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49695         DT_NEEDED entries.
49697 2012-04-05  Michael Matz  <matz@suse.de>
49699         [BZ #13592]
49700         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49702 2012-04-05  Andreas Jaeger  <aj@suse.de>
49704         [BZ #13908]
49705         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49706         comment.
49708 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49711         which ROUND is no valid rounding mode.
49713 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49715         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49716         read again.
49717         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49719 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49721         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49722         an exception using FPU order intentionally.
49724 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49726         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49727         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49728         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49729         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49731 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49733         [BZ #12340]
49734         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49735         EINVAL when BUFLEN is too smal.
49737 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49739         [BZ #13553]
49740         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49741         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49743 2012-04-03  Andreas Jaeger  <aj@suse.de>
49745         [BZ #13938]
49746         * manual/setjmp.texi (System V contexts): Fix sentence.
49748         [BZ #13926]
49749         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49750         New macro for this case.
49751         [!__GNUC__] (__bswap_64): New inline function for this case.
49752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49753         * bits/byteswap.h: Likewise.
49754         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49755         ull, guard with __GLIBC_HAVE_LONG_LONG.
49757         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49758         __GLIBC_HAVE_LONG_LONG.
49760         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49761         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49763 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49765         [BZ #13691]
49766         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49767         inptr and inend, rather than using last_ch.
49769 2012-04-02  David S. Miller  <davem@davemloft.net>
49771         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49772         * stdio-common/printf-parse.h (read_int): Change return type to
49773         'int', return -1 on INT_MAX overflow.
49774         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49775         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49776         overflows INT_MAX.  Check for overflow of in-format-string precision
49777         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49778         SIZE_MAX not INT_MAX for integer overflow test.
49779         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49780         skip the construct in the format string but do not record anything.
49781         * stdio-common/bug22.c: Adjust to test both width/prevision
49782         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49783         explicitly for proper errno values.
49785 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49787         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49788         CHAR_MAX.
49789         * string/test-strcmp.c [! WIDE]: Likewise.
49790         * time/tst-mktime2.c: Likewise for INT_MAX.
49791         * string/test-string.h: #include <sys/param.h> for MIN.
49793         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49794         * sysdeps/i386/init-first.c (init): Likewise.
49795         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49796         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49797         * sysdeps/sh/init-first.c (init): Likewise.
49799 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49801         * po/ru.po: Update from translation team.
49802         * po/vi.po: Likewise.
49804 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49806         * resolv/nss_dns/dns-host.c: Merge copyright years.
49808 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49810         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49811         Optimize memcpy with prefetch if
49812         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49813         src, dst pointers have unequal 16 byte alignments.
49815 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49817         [BZ #13928]
49818         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49819         from a CNAME entry and return the minimum ttl for the query.
49820         (gaih_getanswer_slice): Likewise.
49822 2012-03-30  Jeff Law  <law@redhat.com>
49824         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49825         due to long keys.
49826         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49827         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49829         * resolv/nss_dns/dns-host.c: Update copyright year.
49831 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49833         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49834         requests to save a system call.  Fix check that all bytes are sent.
49836         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49837         comments for sendmmsg.
49839 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49841         [BZ #13691]
49842         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49843         with only 1 character between 0x0041 and 0x01b0.
49844         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49845         * wcsmbs/tst-mbsnrtowcs.c: New file.
49847 2012-03-29  David S. Miller  <davem@davemloft.net>
49849         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49850         small copies by hand.
49852 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49854         [BZ #13761]
49855         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49856         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49857         group memberships.
49859 2012-03-28  David S. Miller  <davem@davemloft.net>
49861         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49862         that branches into memcpy.
49863         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49865         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49866         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49867         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49868         bits.
49869         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49870         implementation too.
49871         * sysdeps/sparc/mempcpy.S: New file.
49873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49874         the IFUNC routine in the libc case.
49875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49877         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49878         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49879         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49880         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49881         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49882         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49883         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49884         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49886         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49887         loop to 256 bytes instead of 64 bytes and fix test signedness.
49889         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49890         * sysdeps/sparc/sparc32/Makefile: rather than here...
49891         * sysdeps/sparc/sparc64/Makefile: and here.
49893 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49895         * malloc/mallocbug.c: Avoid warnings about unused variables.
49897 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49899         [BZ #13760]
49900         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49901         in the right place. Discard and retry query if response is
49902         larger than input buffer size.
49904 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49906         [BZ #369]
49907         [BZ #2678]
49908         [BZ #3866]
49909         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49910         x for large integer exponent.
49911         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49912         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49913         sign of result as needed afterwards.
49914         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49915         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49916         result for underflowing pow the same as for overflow.
49917         (__kernel_standard_l): Handle powl overflow and underflow here
49918         rather than calling __kernel_standard.
49919         * math/libm-test.inc (pow_test): Add more tests.
49921         [BZ #3868]
49922         [BZ #13879]
49923         [BZ #13910]
49924         [BZ #13911]
49925         [BZ #13912]
49926         [BZ #13913]
49927         [BZ #13915]
49928         [BZ #13916]
49929         [BZ #13917]
49930         [BZ #13918]
49931         [BZ #13919]
49932         [BZ #13920]
49933         [BZ #13921]
49934         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49935         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49936         (__kernel_standard_l): New function.
49937         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49938         __kernel_standard.
49939         * math/w_acosl.c (__acosl): Likewise.
49940         * math/w_asinl.c (__asinl): Likewise.
49941         * math/w_atan2l.c (__atan2l): Likewise.
49942         * math/w_atanhl.c (__atanhl): Likewise.
49943         * math/w_coshl.c (__coshl): Likewise.
49944         * math/w_exp10l.c (__exp10l): Likewise.
49945         * math/w_exp2l.c (__exp2l): Likewise.
49946         * math/w_fmodl.c (__fmodl): Likewise.
49947         * math/w_hypotl.c (__hypotl): Likewise.
49948         * math/w_j0l.c (__j0l, __y0l): Likewise.
49949         * math/w_j1l.c (__j1l, __y1l): Likewise.
49950         * math/w_jnl.c (__jnl, __ynl): Likewise.
49951         * math/w_lgammal.c (__lgammal): Likewise.
49952         * math/w_log10l.c (__log10l): Likewise.
49953         * math/w_log2l.c (__log2l): Likewise.
49954         * math/w_logl.c (__logl): Likewise.
49955         * math/w_powl.c (__powl): Likewise.
49956         * math/w_remainderl.c (__remainderl): Likewise.
49957         * math/w_scalbl.c (sysv_scalbl): Likewise.
49958         * math/w_sinhl.c (__sinhl): Likewise.
49959         * math/w_sqrtl.c (__sqrtl): Likewise.
49960         * math/w_tgammal.c (__tgammal): Likewise.
49961         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49962         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49963         * math/libm-test.inc (acos_test): Add more tests.
49964         (acosh_test): Likewise.
49965         (asin_test): Likewise.
49966         (atanh_test): Likewise.
49967         (exp_test): Likewise.
49968         (exp10_test): Likewise.
49969         (exp2_test): Likewise.
49970         (expm1_test): Likewise.
49971         (lgamma_test): Likewise.
49972         (log_test): Likewise.
49973         (log10_test): Likewise.
49974         (log1p_test): Likewise.
49975         (log2_test): Likewise.
49976         (pow_test): Do not allow some spurious overflow exceptions.
49977         (sqrt_test): Add more tests.
49978         (tgamma_test): Likewise.
49979         (y0_test): Likewise.
49980         (y1_test): Likewise.
49981         (yn_test): Likewise.
49983 2012-03-27  Anton Blanchard  <anton@samba.org>
49985         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49986         MAP_HUGETLB.
49987         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49988         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49991 2012-03-27  David S. Miller  <davem@davemloft.net>
49993         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49995         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49996         have-as-vis3 check.
49998 2012-03-27  Andreas Jaeger  <aj@suse.de>
50000         * sysdeps/x86_64/elf/configure.in: Moved to ...
50001         * sysdeps/x86_64/configure.in: ... here.
50002         * sysdeps/x86_64/elf/start.S: Moved to ...
50003         * sysdeps/x86_64/start.S: ... here.
50004         * sysdeps/x86_64/elf/configure: Delete.
50006         * sysdeps/x86_64/configure.in: Merge contents from
50007         sysdeps/i386/configure.in (without i686 check).
50009         * sysdeps/i386/elf/Versions: Merge into ...
50010         * sysdeps/i386/Versions: ... this.
50011         * sysdeps/i386/elf/Versions: Delete file.
50012         * sysdeps/i386/elf/start.S: Moved to ...
50013         * sysdeps/i386/start.S: ...here.
50014         * sysdeps/i386/elf/configure.in: Merge into...
50015         * sysdeps/i386/configure.in: ...here.
50016         * sysdeps/i386/elf/configure.in: Delete file.
50017         * sysdeps/i386/elf/configure: Delete file.
50019         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50020         * debug/backtracesyms.c: ... here.
50021         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50022         * debug/backtracesymsfd.c: ... here.
50023         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50024         * sysdeps/generic/ifunc-sel.h: ... here.
50026         * sysdeps/unix/i386/start.c: Delete file.
50027         * sysdeps/unix/sparc/start.c: Delete file.
50028         * sysdeps/unix/start.c: Delete file.
50030         * sysdeps/sh/elf/configure.in: Moved to ...
50031         * sysdeps/sh/configure.in: ... here.
50032         * sysdeps/sh/elf/start.S: Moved to ...
50033         * sysdeps/sh/start.S: ... here.
50034         * sysdeps/sh/elf/configure: Delete file.
50036         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50037         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50038         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50039         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50040         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50041         * sysdeps/powerpc/powerpc64/start.S: here.
50042         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50043         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50044         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50045         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50046         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50048         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50049         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50050         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50051         * sysdeps/powerpc/powerpc32/start.S: ... here.
50052         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50053         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50054         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50056         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50057         * sysdeps/powerpc/ifunc-sel.h: ... here.
50058         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50059         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50061         * sysdeps/sparc/elf/configure.in: Moved to ...
50062         * sysdeps/sparc/configure.in: ... here.
50063         * sysdeps/sparc/elf/configure: Delete file.
50064         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50065         * sysdeps/sparc/sparc32/start.S: ... here.
50066         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50067         * sysdeps/sparc/sparc64/start.S: ... here.
50068         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50069         * sysdeps/sparc/sparc32/Makefile: ... this.
50070         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50071         * sysdeps/sparc/sparc64/Makefile: ... this.
50073         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50074         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50075         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50076         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50077         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50078         * sysdeps/s390/s390-32/setjmp.S: ... here.
50079         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50080         * sysdeps/s390/s390-32/configure.in: ... here.
50081         * sysdeps/s390/s390-32/elf/configure: Delete file.
50082         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50083         * sysdeps/s390/s390-32/start.S: ... here.
50085         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50086         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50087         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50088         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50089         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50090         * sysdeps/s390/s390-64/setjmp.S: ... here.
50091         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50092         * sysdeps/s390/s390-64/configure.in: ... here
50093         * sysdeps/s390/s390-64/elf/configure: Delete file.
50094         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50095         * sysdeps/s390/s390-64/start.S: ... here.
50096         * sysdeps/s390/s390-64/elf/configure: Delete.
50098         * configure.in: Remove support for elf directories in sysdeps.
50100         * configure: Regenerated.
50101         * sysdeps/i386/configure: Regenerated.
50102         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50103         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50104         * sysdeps/s390/s390-32/configure: Regenerated.
50105         * sysdeps/s390/s390-64/configure: Regenerated.
50106         * sysdeps/sh/configure: Regenerated.
50107         * sysdeps/sparc/configure: Regenerated.
50108         * sysdeps/x86_64/configure: Regenerated.
50110 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50114         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50115         denormal result into account.
50117 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50119         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50120         Reported by Allan McRae <allan@archlinux.org>.
50122 2012-03-23  Jeff Law  <law@redhat.com>
50124         * nss/getnssent.c (__nss_getent): Fix typo.
50126 2012-03-23  David S. Miller  <davem@davemloft.net>
50128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50130 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50132         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50133         to pad to uint64_t for each field.
50134         (dl_tls_index): Replace unsigned long with uint64_t.
50136 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50137         Paul Pluzhnikov  <ppluzhnikov@google.com>
50139         [BZ #6528]
50140         * grp/Makefile (otherlibs): Don't set it.
50141         * inet/Makefile (otherlibs): Likewise.
50142         * login/Makefile (otherlibs): Likewise.
50143         * nscd/Makefile (otherlibs): Likewise.
50144         * posix/Makefile (otherlibs): Likewise.
50145         * pwd/Makefile (otherlibs): Likewise.
50146         * rt/Makefile (otherlibs): Likewise.
50147         * sunrpc/Makefile (otherlibs): Likewise.
50148         * nss/Makefile (otherlibs): Likewise.
50149         Add libnss_files to routines and static-only-routines.
50150         ($(objpfx)getent): Remove rule.
50151         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50152         static-only-routines.
50154 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50156         [BZ #13892]
50157         * math/s_cexp.c: Include <float.h>.
50158         (__cexp): Handle exp result overflowing not necessarily
50159         overflowing both real and imaginary parts of result.
50160         * math/s_cexpf.c: Likewise.
50161         * math/s_cexpl.c: Likewise.
50162         * math/libm-test.inc (cexp_test): Add more tests.
50163         * sysdeps/i386/fpu/libm-test-ulps: Update.
50164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50166 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50168         * include/link.h (ELFW): New macro.
50169         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50170         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50172 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50174         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50175         with uint64_t.
50177 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50179         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50180         declaration.
50181         (struct La_x32_retval): Likewise.
50183 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50185         * sysdeps/x86_64/preconfigure.in: New file.
50186         * sysdeps/x86_64/preconfigure: New generated file.
50188 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50190         [BZ #13824]
50191         * math/e_exp2l.c: Include <float.h>.
50192         (__ieee754_exp2l): Handle overflow and underflow cases
50193         separately.  Only pass fractional part of argument to
50194         __ieee754_expl.
50195         * math/libm-test.inc (exp2_test): Add more tests.
50197         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50198         negating x to take absolute value.
50199         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50200         Likewise.
50201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50203         Likewise.
50204         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50205         computing low part if x was negated.
50206         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50208 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50210         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50211         la_x32_gnu_pltexit.
50212         (pltexit): Cast int_retval to ptrdiff_t.
50213         * elf/tst-auditmod3b.c: Likewise.
50214         * elf/tst-auditmod4b.c: Likewise.
50215         * elf/tst-auditmod5b.c: Likewise.
50216         * elf/tst-auditmod6b.c: Likewise.
50217         * elf/tst-auditmod6c.c: Likewise.
50218         * elf/tst-auditmod7b.c: Likewise.
50220         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50221         and x32_gnu_pltexit.
50223         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50224         __ELF_NATIVE_CLASS.
50225         (La_x32_regs): New macro.
50226         (La_x32_retval): Likewise.
50227         (la_x32_gnu_pltenter): New function prototype.
50228         (la_x32_gnu_pltexit): Likewise.
50230 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50233         exponent.
50235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50237         * configure.in (libc_cv_cc_nofma): Check for option to disable
50238         generation of FMA instructions.
50239         * configure: Regenerate.
50240         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50241         * sysdeps/ieee754/dbl-64/Makefile: New file.
50242         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50243         Remove brandred-fma4.
50244         (CFLAGS-brandred-fma4.c): Remove.
50245         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50246         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50247         define.
50248         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50249         define.
50251 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50253         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50254         LLONG_MAX != LONG_MAX.
50255         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50256         (_fitoa_word): Likewise.
50257         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50258         LLONG_MAX != LONG_MAX.
50259         * stdio-common/_itowa.h: Include <_itoa.h>.
50260         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50261         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50262         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50263         only if not defined.
50264         (_ITOA_WORD_TYPE): Likewise.
50265         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50266         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50268 2012-03-21  David S. Miller  <davem@davemloft.net>
50270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50272 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50274         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50275         of x86_64 when setting libc_cv_slibdir, libdir and
50276         libc_cv_localedir.
50277         * sysdeps/unix/sysv/linux/configure: Regenerated.
50279 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50281         * manual/lang.texi (Old Varargs): Remove section.
50282         (How Variadic): Update menu.
50283         (va_start): Do not mention varargs.h.
50285 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50286             Joseph Myers  <joseph@codesourcery.com>
50288         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50289         link test.
50290         * configure: Regenerated.
50292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50294         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50295         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50296         conformtest.pl
50298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50300         * NOTES: Remove.
50301         * Makefile (files-for-dist): Remove NOTES.
50302         (NOTES): Remove rule.
50303         * README: Don't refer to NOTES.
50304         * manual/creature.texi: Don't include macros.texi.
50305         * manual/intro.texi (creature.texi): Remove comment referring to
50306         NOTES.
50308         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50309         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50310         * configure: Regenerated.
50311         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50312         LIBC_TRY_CC_OPTION.
50313         (libc_cv_as_i686): Likewise.
50314         (libc_cv_cc_avx): Likewise.
50315         (libc_cv_cc_sse2avx): Likewise.
50316         (libc_cv_cc_fma4): Likewise.
50317         (libc_cv_cc_novzeroupper): Likewise.
50318         * sysdeps/i386/configure: Regenerated.
50320         [BZ #13883]
50321         * sysdeps/i386/fpu/s_cexp.S: Remove.
50322         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50323         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50324         * math/libm-test.inc (cexp_test): Add more tests.
50325         * sysdeps/i386/fpu/libm-test-ulps: Update.
50326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50328 2012-03-21  Allan McRae  <allan@archlinux.org>
50330         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50332 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50334         [BZ #13871]
50335         * math/w_exp2.c: Do not include <float.h>.
50336         (o_threshold, u_threshold): Remove.
50337         (__exp2): Calculate result before checking finiteness and calling
50338         __kernel_standard.
50339         * math/w_exp2f.c: Likewise.
50340         * math/w_exp2l.c: Likewise.
50341         * math/libm-test.inc (exp2_test): Require overflow exception for
50342         1e6 input.
50344         [BZ #3866]
50345         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50346         range of signed 64-bit integers before using fistpll.  Remove
50347         checks for whether integers fit in mantissa bits.
50348         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50349         the range of signed 32-bit integers before using fistpl.  Remove
50350         checks for whether integers fit in mantissa bits.
50351         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50352         (__ieee754_powl): Test for y outside the range of signed 64-bit
50353         integers before using fistpll.  Reduce 64-bit values to 63-bit
50354         ones as needed.
50355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50356         divide-by-zero is raised for zero to large negative powers.
50357         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50358         (__ieee754_powl): Test for y outside the range of signed 64-bit
50359         integers before using fistpll.  Reduce 64-bit values to 63-bit
50360         ones as needed.
50361         * math/libm-test.inc (pow_test): Add more tests.
50363 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50365         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50366         <stdio-common/_itoa.h>.
50367         * debug/segfault.c: Likewise.
50368         * elf/dl-cache.c: Likewise.
50369         * elf/dl-minimal.c: Likewise.
50370         * elf/dl-misc.c: Likewise.
50371         * elf/dl-sysdep.c: Likewise.
50372         * elf/dl-version.c: Likewise.
50373         * elf/rtld.c: Likewise.
50374         * hurd/hurdsock.c: Likewise.
50375         * hurd/lookup-retry.c: Likewise.
50376         * malloc/malloc.c: Likewise.
50377         * malloc/mtrace.c: Likewise.
50378         * nscd/nscd_getgr_r.c: Likewise.
50379         * nscd/nscd_getpw_r.c: Likewise.
50380         * nscd/nscd_getserv_r.c: Likewise.
50381         * posix/getopt_init.c: Likewise.
50382         * posix/wordexp.c: Likewise.
50383         * stdio-common/_itoa.c: Likewise.
50384         * stdio-common/printf_fphex.c: Likewise.
50385         * stdio-common/vfprintf.c: Likewise.
50386         * string/_strerror.c: Likewise.
50387         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50388         * sysdeps/i386/i686/hp-timing.h: Likewise.
50389         * sysdeps/mach/_strerror.c: Likewise.
50390         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50391         * sysdeps/mach/hurd/sethostid.c: Likewise.
50392         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50393         * sysdeps/mach/xpg-strerror.c: Likewise.
50394         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50396         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50397         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50398         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50399         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50400         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50401         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50402         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50403         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50404         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50405         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50406         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50407         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50408         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50409         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50410         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50411         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50412         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50413         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50414         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50416         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50418         * stdio-common/_itoa.h: Moved to ...
50419         * sysdeps/generic/_itoa.h: Here.
50421         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50423         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50424         instead of "_itoa.h" and "_itowa.h".
50425         * stdio-common/vfprintf.: Likewise.
50427 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50429         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50430         <bits/wordsize.h>.
50431         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50432         (__signbit): Likwise.
50433         (llrintf): Likwise.
50434         (llrint): Likwise.
50436 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50438         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50439         __WORDSIZE != 64.
50441 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50443         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50444         OVERFLOW_EXCEPTION_OK.
50445         * math/libm-test.inc ("Philosophy"): Update comment about
50446         exception testing.
50447         (OVERFLOW_EXCEPTION): Define.
50448         (OVERFLOW_EXCEPTION_OK): Likewise.
50449         (INVALID_EXCEPTION_OK): Renumber.
50450         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50451         (IGNORE_ZERO_INF_SIGN): Likewise.
50452         (test_exceptions): Handle FE_OVERFLOW.
50453         (exp10_test): Expect overflow exceptions.
50454         (exp2_test): Likewise.
50455         (expm1_test): Likewise.
50456         (nextafter_test): Likewise.
50457         (pow_test): Likewise.
50458         (scalbn_test): Likewise.
50459         (scalbln_test): Likewise.
50461 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50463         * sysdeps/x86_64/bits/atomic.h
50464         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50465         64bit integer.
50466         (atomic_exchange_acq): Likewise.
50467         (__arch_exchange_and_add_body): Likewise.
50468         (__arch_add_body): Likewise.
50469         (atomic_add_negative): Likewise.
50470         (atomic_add_zero): Likewise.
50472 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50474         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50475         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50477 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50479         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50480         Check __x86_64__ instead of __WORDSIZE.
50482 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50484         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50486 2012-03-19  David S. Miller  <davem@davemloft.net>
50488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50490         * sysdeps/sparc/fpu/fenv_private.h: New file.
50491         * sysdeps/sparc/fpu/math_private.h: Use it.
50492         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50493         Remove.
50494         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50495         (libc_feholdexcept_setroundl): Remove.
50496         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50497         Remove.
50498         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50499         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50503         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50504         int64_t instead of long int.
50505         (INSERT_WORDS64): Likwise.
50507 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50509         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50510         _Unwind_GetCFA return to _Unwind_Ptr first.
50512 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50514         [BZ #13629]
50515         * math/s_clog.c: Include <float.h>.
50516         (__clog): Scale large or subnormal inputs.
50517         * math/s_clogf.c: Likewise.
50518         * math/s_clogl.c: Likewise.
50519         * math/s_clog10.c: Include <float.h>.
50520         (M_LOG10_2): Define.
50521         (__clog10): Scale large or subnormal inputs.
50522         * math/s_clog10f.c: Likewise.
50523         * math/s_clog10l.c: Likewise.
50524         * math/libm-test.inc (clog_test): Add more tests.
50525         (clog10_test): Likewise.
50526         * sysdeps/i386/fpu/libm-test-ulps: Update.
50527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50529         [BZ #11451]
50530         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50531         x and y.
50532         * math/libm-test.inc (atan2_test): Add another test.
50534         * Makerules (common-objdir-compile): Remove.
50535         * sysdeps/unix/Makefile (config-generated): Do not add
50536         $(unix-generated) to variable.
50537         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50538         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50539         Remove rule.
50540         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50541         Likewise.
50542         [generic bits/local_lim.h] (before-compile): Do not append to
50543         variable.
50544         [generic bits/local_lim.h] (common-generated): Likewise.
50545         [generic sys/param.h] (before-compile): Do not append to variable.
50546         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50547         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50548         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50549         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50550         include.
50551         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50552         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50553         [generic sys/param.h] ($(addprefix
50554         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50555         [generic sys/param.h] (common-generated): Do not append to
50556         variable.
50557         [generic sys/param.h] (sysdep_headers): Likewise.
50558         [generic bits/errno.h] (before-compile): Do not append to
50559         variable.
50560         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50561         rule.
50562         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50563         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50564         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50565         [generic bits/errno.h] (common-generated): Do not append to
50566         variable.
50567         [generic bits/ioctls.h] (before-compile): Do not append to
50568         variable.
50569         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50570         rule.
50571         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50572         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50573         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50574         rule.
50575         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50576         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50577         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50578         [generic bits/ioctls.h] (common-generated): Do not append to
50579         variable.
50580         [generic sys/syscall.h] (syscall.h): Remove variable.
50581         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50582         rule.
50583         [generic sys/syscall.h] (before-compile): Do not append to
50584         variable.
50585         [generic sys/syscall.h] (common-generated): Likewise.
50586         * sysdeps/unix/errnos-tmpl.c: Remove file.
50587         * sysdeps/unix/errnos.awk: Likewise.
50588         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50589         * sysdeps/unix/ioctls.awk: Likewise.
50590         * sysdeps/unix/mk-local_lim.c: Likewise.
50591         * sysdeps/unix/snarf-ioctls: Likewise.
50593 2012-03-19  Richard Henderson  <rth@twiddle.net>
50595         * sysdeps/i386/fpu/fenv_private.h: New file.
50596         * sysdeps/i386/fpu/math_private.h: Use it.
50597         (math_opt_barrier, math_force_eval): Remove.
50598         (libc_feholdexcept_setround_53bit): Remove.
50599         (libc_feupdateenv_53bit): Remove.
50600         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50601         (math_opt_barrier, math_force_eval): Remove.
50602         (libc_feholdexcept): Remove.
50603         (libc_feholdexcept_setround): Remove.
50604         (libc_fetestexcept, libc_fesetenv): Remove.
50605         (libc_feupdateenv_test): Remove.
50606         (libc_feupdateenv, libc_feholdsetround): Remove.
50607         (libc_feresetround): Remove.
50609         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50610         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50612         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50613         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50614         (libc_feupdateenv_testl): New.
50615         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50616         (libc_feupdateenv_testf): New.
50617         (libc_feupdateenv): Use libc_feupdateenv_test.
50618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50619         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50621         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50622         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50623         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50624         (libc_feresetround_noex): New.
50625         (libc_feresetround_noexf): New.
50626         (libc_feresetround_noexl): New.
50627         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50628         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50629         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50630         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50631         SET_RESTORE_ROUND.
50632         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50634         (__cos): Likewise.
50635         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50636         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50637         SET_RESTORE_ROUND_NOEX.
50638         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50639         SET_RESTORE_ROUND_NOEXF.
50640         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50641         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50642         (libc_feholdsetroundf): New.
50643         (libc_feresetround, libc_feresetroundf): New.
50645         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50646         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50647         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50649         * sysdeps/generic/math_private.h: Include <fenv.h>.
50650         (default_libc_feholdexcept): New.
50651         (default_libc_feholdexcept_setround): New.
50652         (default_libc_fesetenv, default_libc_feupdateenv): New.
50653         (libc_feholdexcept): Only define if undefined.
50654         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50655         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50656         (libc_feholdexcept_setroundl): Likewise.
50657         (libc_feholdexcept_setround_53bit): Likewise.
50658         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50659         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50660         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50661         (libc_feupdateenv_53bit): Likewise.
50662         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50663         (libc_feholdexcept): Convert from macro to inline function.
50664         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50665         (libc_fesetenv, libc_feupdateenv): Likewise.
50667         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50668         not previously defined.
50669         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50670         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50671         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50672         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50673         * sysdeps/ieee754/flt-32/math_private.h: New file.
50674         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50675         math_private.h below SET_FLOAT_WORD.
50676         (__isnan, __isinf_ns, __finite): Remove.
50677         (__isnanf, __isinf_nsf, __finitef): Remove.
50679 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50683 2012-03-17  David S. Miller  <davem@davemloft.net>
50685         [BZ #6471]
50686         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50687         for 2.16.
50689 2012-03-16  David S. Miller  <davem@davemloft.net>
50691         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50692         warnings.
50694         [BZ #6471]
50695         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50696         properly.
50697         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50698         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50699         sysdep_routines when subdir is sysvipc.
50700         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50701         __getshmlba helper.
50703         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50705 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50707         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50708         [__LP64__].
50710 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50712         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50713         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50714         (__lround): Renamed to ...
50715         (__llround): This.  Replace long int with long long int.
50716         Define lround functions as aliases of llround functions.
50717         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50719 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50721         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50722         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50723         adresses to uintptr_t.  Replace "long int" and "unsigned long
50724         int" with "greg_t" on va_arg.
50726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50728         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50729         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50731         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50732         Move e_machine check before EI_CLASS check.  Handle x32
50733         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50734         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50735         SKIP_EM_IA_64 and include
50736         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50738         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50739         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50740         (add_system_dir): New macro.
50742         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50743         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50745 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50747         [BZ #2551]
50748         [BZ #2552]
50749         [BZ #2553]
50750         [BZ #2554]
50751         [BZ #2562]
50752         [BZ #2563]
50753         [BZ #2565]
50754         [BZ #2566]
50755         [BZ #2576]
50756         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50757         (y0): Likewise.
50758         * math/w_j0f.c (j0f): Likewise.
50759         (y0f): Likewise.
50760         * math/w_j0l.c (__j0l): Likewise.
50761         (__y0l): Likewise.
50762         * math/w_j1.c (j1): Likewise.
50763         (y1): Likewise.
50764         * math/w_j1f.c (j1f): Likewise.
50765         (y1f): Likewise.
50766         * math/w_j1l.c (__j1l): Likewise.
50767         (__y1l): Likewise.
50768         * math/w_jn.c (jn): Likewise.
50769         (yn): Likewise.
50770         * math/w_jnf.c (jnf): Likewise.
50771         (ynf): Likewise.
50772         * math/w_jnl.c (__jnl): Likewise.
50773         (__ynl): Likewise.
50774         * math/libm-test.inc (j0_test): Add more tests.
50775         (j1_test): Likewise.
50776         (jn_test): Likewise.  Add trailing semicolon to existing test.
50777         (y0_test): Likewise.
50778         (y1_test): Likewise.
50779         * sysdeps/i386/fpu/libm-test-ulps: Update.
50780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50782         [BZ #13851]
50783         [BZ #13854]
50784         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50785         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50786         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50787         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50788         (__tanl): Set errno for infinite argument.
50789         * sysdeps/i386/fpu/mptan.c: Remove.
50790         * sysdeps/i386/fpu/s_tan.S: Likewise.
50791         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50792         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50793         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50794         * math/libm-test.inc (tan_test): Add more tests and enable more
50795         tests for double and long double.
50796         * sysdeps/i386/fpu/libm-test-ulps: Update.
50797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50799 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50801         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50802         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50804 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50806         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50807         * configure.in: Use it for both main tree and add-ons.
50808         * configure: Regenerated.
50810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50812         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50814 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50816         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50817         in comment.
50819         [BZ #13851]
50820         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50821         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50822         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50824         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50825         infinite argument.
50826         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50827         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50828         != 0 for prec == 2.
50829         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50830         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50831         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50832         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50833         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50834         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50835         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50836         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50837         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50838         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50839         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50840         * math/libm-test.inc (cos_test): Add more tests and enable more
50841         tests for long double.
50842         (sin_test): Likewise.
50843         (sincos_test): Likewise.
50844         * sysdeps/i386/fpu/libm-test-ulps: Update.
50845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50847 2012-03-16  David S. Miller  <davem@davemloft.net>
50849         * sysdeps/sparc/fpu/math_private.h: New file.
50851 2012-03-15  David S. Miller  <davem@davemloft.net>
50853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50854         file.
50855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50857         file.
50858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50864         sysdep routines.
50865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50867         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50868         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50870         * sysdeps/sparc/sparc-ifunc.h: New file.
50871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50872         sparc-ifunc.h
50873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50875         Likewise.
50876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50877         Likewise.
50878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50882         Likewise.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50888         Likewise.
50889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50890         Likewise.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50897         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50898         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50905         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50909         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50910         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50912         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50916 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50918         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50919         scaling.
50920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50922 2012-03-15  Andreas Jaeger  <aj@suse.de>
50924         [BZ #13852]
50925         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50926         ieee754/flt-32 implementation for sin, cos and sincos.
50927         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50928         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50929         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50930         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50931         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50932         ieee754/flt-32 implementation for tan.
50934         * math/libm-test.inc (cos_test): Enable some large input tests for
50935         float as well
50936         (sin_test): Likewise.
50937         (sincos_test): Likewise.
50938         (tan_test): Add tests for large input.
50940         * sysdeps/i386/fpu/libm-test-ulps: Update.
50942 2012-03-15  Andreas Jaeger  <aj@suse.de>
50944         [BZ #13658]
50945         * math/libm-test.inc (cos_test): Add more test cases.
50946         (sin_test): Likewise.
50947         (sincos_test): Likewise.
50949 2012-03-15  Andreas Jaeger  <aj@suse.de>
50951         [BZ #13837]
50952         * math/libm-test.inc (cos_test): Add a test case for large input
50953         value.
50954         (sin_test): Likewise.
50955         (sincos_test): Likewise.
50957 2012-03-15  Andreas Jaeger  <aj@suse.de>
50958             Joseph Myers  <joseph@codesourcery.com>
50960         [BZ #13658]
50961         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50962         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50963         * sysdeps/i386/fpu/branred.c: Likewise.
50964         * sysdeps/i386/fpu/dosincos.c: Likewise.
50965         * sysdeps/i386/fpu/mpa.c: Likewise.
50966         * sysdeps/i386/fpu/s_cos.S: Likewise.
50967         * sysdeps/i386/fpu/s_sin.S: Likewise.
50968         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50969         * sysdeps/i386/fpu/sincos32.c: Likewise.
50971         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50972         Define.
50973         (libc_feupdateenv_53bit): Define.
50974         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50975         Define.
50976         (libc_feupdateenv_53bit): Define.
50978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50979         53 bit (without extend i386 double precision).
50981         * math/libm-test.inc (sincos_test): Add tests for large input.
50982         (sin): Likewise.
50983         (cos): Likewise.
50985         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50987 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50991 2012-03-15  David S. Miller  <davem@davemloft.net>
50993         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50994         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50995         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50996         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51004         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51009         file.
51010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51012         file.
51013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51015         file.
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51018         file.
51019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51021         fmin/fmax sysdep routines.
51022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51024 2012-03-14  David S. Miller  <davem@davemloft.net>
51026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51031         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51032         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51033         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51046         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51047         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51048         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51049         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51050         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51053         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51055         routines.
51056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51057         file.
51058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51060         file.
51061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51063         file.
51064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51066         file.
51067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51069         file.
51070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51072         file.
51073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51074         file.
51075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51076         file.
51077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51078         file.
51079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51080         New file.
51081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51082         file.
51083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51084         file.
51085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51087         file.
51088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51090         file.
51091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51093         file.
51094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51096         VIS3 routines.
51098         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51099         New file.
51101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51103         * sysdeps/sparc/configure.in: New file.
51104         * sysdeps/sparc/configure: Generate.
51105         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51106         * configure: Regenerate.
51107         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51108         * config.make.in (have-as-vis3): New.
51109         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51110         available use -Av9d instead of -Av9a.
51111         * sysdeps/sparc/sparc64/Makefile: Likewise.
51112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51114         New file.
51115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51116         file.
51117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51118         New file.
51119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51120         file.
51121         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51124         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51125         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51127         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51128         fzeros/fnegs to load 0x80000000 into a float register instead of
51129         using the stack.
51130         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51132 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51135         bits/syscall.h.
51136         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51137         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51138         ($(inst_includedir)/bits/syscall.h): Remove rule.
51139         ($(objpfx)bits/syscall.d): Include instead of
51140         $(objpfx)syscall-list.d.
51141         (generated): Change syscall-list.h and syscall-list.d to
51142         bits/syscall.h and bits/syscall.d.
51144 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51146         [BZ #13846]
51147         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51149 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51151         [BZ #13841]
51152         * math/s_csqrt.c: Include <float.h>.
51153         (__csqrt): Scale large or subnormal inputs.
51154         * math/s_csqrtf.c: Likewise.
51155         * math/s_csqrtl.c: Likewise.
51156         * math/libm-test.inc (csqrt_test): Add more tests.
51157         * sysdeps/i386/fpu/libm-test-ulps: Update.
51158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51160         [BZ #13840]
51161         * math/libm-test.inc (hypot_test): Add more tests.
51163 2012-03-13  David S. Miller  <davem@davemloft.net>
51165         [BZ #13840]
51166         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51167         double-precision for the calculation instead of scaling.
51169 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51171         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51172         manipulate bits before adding and subtracting TWO52[sx].
51173         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51174         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51175         Likewise.
51176         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51178 2012-03-13  David S. Miller  <davem@davemloft.net>
51180         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51181         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51182         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51183         rtld-global-offsets.h
51184         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51186         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51187         large parameters.
51189         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51191         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51192         'err' in the ifdef scope in which it is actually used.
51194         * nss/nss_db/db-init.c: Include string.h
51196 2012-03-12  David S. Miller  <davem@davemloft.net>
51198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51199         masking out of the most significant byte of random value used.
51200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51201         Fix coding style in previous change.
51203         * sysdeps/unix/sysv/linux/kernel-features.h
51204         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51205         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51206         expression.
51207         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51208         later.
51210 2012-03-11  David S. Miller  <davem@davemloft.net>
51212         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51213         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51214         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51215         for 'resultvar' otherwise things get truncated on 64-bit.
51217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51218         Fix masking out of the most significant byte of random value used.
51220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51222 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51226 2012-03-09  David S. Miller  <davem@davemloft.net>
51228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51229         variables with appropriate CPP guards.
51230         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51231         from the frame pointer, not the stack pointer.  Correct layout
51232         comments.  Fix test on resulting framesize and the management of
51233         the outregs buffer for pltexit.  Preserve floating point return
51234         values across _dl_call_pltexit call.
51235         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51236         framesize and the management of the outregs buffer for pltexit.
51237         Preserve floating point return values across _dl_call_pltexit
51238         call.
51239         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51240         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51241         (la_sparc64_gnu_pltexit): New functions.
51242         (print_exit): Fix format string for return register value.
51244 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51246         * sunrpc/Makefile (others): Add rpcgen.
51247         ($(objpfx)rpcgen): Remove special build rule and dependency on
51248         libc.
51249         * sunrpc/rpcgen.c: New file.
51251 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51253         [BZ #13673]
51254         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51255         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51256         * sysdeps/i386/crti.S: Likewise.
51257         * sysdeps/i386/crtn.S: Likewise.
51258         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51259         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51260         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51261         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51262         * sysdeps/sh/crti.S: Likewise.
51263         * sysdeps/sh/crtn.S: Likewise.
51264         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51266         [BZ #13673]
51267         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51268         with URL.
51269         * locale/programs/locfile-kw.gperf: Likewise.
51270         * locale/programs/charmap-kw.h: Regenerated.
51271         * locale/programs/locfile-kw.h: Likewise.
51273         [BZ #13673]
51274         * intl/plural.y: Replace FSF snail mail address with URL.
51275         * intl/plural.c: Regenerated.
51277 2012-03-09  Richard Henderson  <rth@twiddle.net>
51279         * include/math_private.h: Remove file.
51280         * math/math_private.h: Move file ...
51281         * sysdeps/generic/math_private.h: ... here.
51283         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51284         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51285         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51287         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51288         and <math_private.h>.
51289         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51290         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51291         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51292         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51293         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51294         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51295         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51297         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51298         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51300         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51301         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51303         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51304         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51305         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51306         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51307         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51308         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51309         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51310         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51311         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51312         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51313         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51314         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51315         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51316         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51317         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51319         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51320         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51321         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51322         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51323         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51324         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51325         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51326         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51327         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51328         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51329         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51330         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51331         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51336         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51337         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51353         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51354         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51355         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51356         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51358         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51359         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51367         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51368         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51369         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51370         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51371         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51372         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51373         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51375         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51376         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51377         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51378         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51379         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51380         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51381         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51382         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51383         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51384         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51386         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51387         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51389         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51390         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51391         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51392         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51393         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51394         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51395         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51396         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51397         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51399         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51400         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51401         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51402         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51403         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51404         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51405         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51406         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51407         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51408         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51409         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51410         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51411         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51412         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51413         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51414         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51415         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51416         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51417         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51418         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51419         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51420         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51421         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51422         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51423         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51424         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51425         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51426         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51427         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51428         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51429         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51430         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51431         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51432         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51433         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51434         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51435         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51436         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51437         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51438         * sysdeps/ieee754/k_standard.c: Likewise.
51439         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51440         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51441         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51442         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51443         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51444         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51445         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51446         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51447         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51448         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51449         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51451         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51452         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51453         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51454         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51455         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51456         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51457         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51458         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51459         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51460         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51461         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51462         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51463         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51464         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51465         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51466         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51467         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51468         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51469         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51470         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51471         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51472         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51473         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51474         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51475         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51476         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51477         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51478         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51479         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51480         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51481         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51482         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51483         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51484         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51485         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51486         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51487         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51488         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51489         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51490         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51491         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51492         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51493         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51494         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51495         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51496         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51513         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51519         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51520         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51522         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51527         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51529         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51530         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51531         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51533         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51535         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51538         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51539         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51540         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51543         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51544         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51545         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51546         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51547         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51548         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51550         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51551         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51552         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51553         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51554         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51555         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51556         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51557         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51558         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51559         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51560         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51561         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51562         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51563         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51564         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51565         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51566         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51567         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51569         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51570         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51571         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51572         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51573         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51574         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51575         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51576         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51577         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51587         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51588         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51589         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51590         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51591         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51592         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51593         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51594         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51596         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51599         * sysdeps/ieee754/s_lib_version.c: Likewise.
51600         * sysdeps/ieee754/s_matherr.c: Likewise.
51601         * sysdeps/ieee754/s_signgam.c: Likewise.
51602         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51603         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51604         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51605         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51606         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51607         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51608         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51609         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51610         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51611         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51612         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51613         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51614         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51615         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51616         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51617         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51619         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51620         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51622         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51624 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51626         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51627         * sunrpc/rpc_main.c: Likewise.
51628         * sunrpc/rpc_svcout.c: Likewise.
51630 2012-03-09  David S. Miller  <davem@davemloft.net>
51632         * include/math_private.h: New file.
51634 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51636         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51637         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51638         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51639         from <bits/socket_type.h>.
51640         (enum __socket_type): Don't define here.
51641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51643         bits/socket_type.h.
51645         [BZ #13566]
51646         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51647         checking __USE_GNU.
51649         * Makerules ($(inst_includedir)/%.h): New rule.
51650         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51651         (install-others): Remove variable setting.
51652         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51654 2012-03-08  Richard Henderson  <rth@twiddle.net>
51656         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51657         from macro to inline function; merge with the
51658         !__LIBC_INTERNAL_MATH_INLINES version.
51659         (__ieee754_sqrtf): Likewise.
51661         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51662         to inline function.
51663         (__rintf, __floor, __floorf): Likewise.
51665         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51666         macro to inline function.
51667         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51669         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51670         not <math/math_private.h>.
51672 2012-03-08  David S. Miller  <davem@davemloft.net>
51674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51675         copyright year.
51676         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51678 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51680         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51681         normalization.
51682         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51683         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51685 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51687         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51688         be defined individually, they must be defined as a block.  Define
51689         S for printing a string instead of hidint the different by using a
51690         macro for adding the 'l'.
51691         * stdio-common/tst-fphex-wide.c: Adjust.
51693 2012-03-07  Marek Polacek  <polacek@redhat.com>
51695         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51697 2012-03-08  Marek Polacek  <polacek@redhat.com>
51699         [BZ #13806]
51700         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51701         * stdio-common/tst-fphex.c: Define a few macros to make the
51702         test reusable.  Use them.
51703         * stdio-common/tst-fphex-wide.c: New file.
51705 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51707         [BZ #6911]
51708         * manual/macros.texi (gnusystems): New macro.
51709         (nongnusystems): Likewise.
51710         (gnulinuxhurdsystems): Likewise.
51711         (gnuhurdsystems): Likewise..
51712         (gnulinuxsystems): Likewise.
51713         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51714         variants of the GNU system, not "GNU system".
51715         * manual/conf.texi: Likewise.
51716         * manual/errno.texi: Likewise.  Update example of errno macro
51717         expansion.
51718         * manual/filesys.texi: Likewise.
51719         (getumask): Document as specific to GNU/Hurd.
51720         * manual/install.texi: Likewise.  Reword some references to
51721         GNU/Linux.
51722         * manual/intro.texi: Likewise.
51723         * manual/io.texi: Likewise.
51724         (File Name Portability): Detail which constraints are inapplicable
51725         to all GNU systems and which are only inapplicable to GNU/Hurd.
51726         * manual/job.texi: Likewise.
51727         * manual/llio.texi: Likewise.
51728         (O_NOCTTY): Document as present on GNU/Linux.
51729         * manual/maint.texi: Likewise.
51730         * manual/memory.texi: Likewise.
51731         * manual/pattern.texi: Likewise.
51732         * manual/pipe.texi: Likewise.
51733         * manual/process.texi: Likewise.
51734         * manual/resource.texi: Likewise.
51735         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51736         child on GNU/Hurd.
51737         * manual/setjmp.texi: Likewise.
51738         * manual/signal.texi: Likewise.
51739         * manual/startup.texi: Likewise.
51740         * manual/stdio.texi: Likewise.
51741         * manual/terminal.texi: Likewise.
51742         (ONLCR): Document as POSIX.
51743         (OXTABS): Document availability on GNU/Linux as XTABS.
51744         (ONOEOT): Document availability separately from other bits.
51745         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51746         * manual/time.texi: Likewise.
51747         * manual/users.texi: Likewise.
51748         * INSTALL: Regenerated.
51749         * sysdeps/gnu/errlist.c: Regenerated.
51751         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51752         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51753         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51754         puts.
51755         * configure: Regenerated.
51757 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51759         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51760         default includes instead of AC_HEADER_CHECK.
51761         * sysdeps/i386/configure: Regenerated.
51763         [BZ #10716]
51764         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51765         * math/s_cacoshf.c (__cacoshf): Likewise.
51766         * math/s_cacoshl.c (__cacoshl): Likewise.
51767         * math/s_casinh.c (__casinh): Set signs of result from argument.
51768         * math/s_casinhf.c (__casinhf): Likewise.
51769         * math/s_casinhl.c (__casinhl): Likewise.
51770         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51771         (casinh_test): Add more tests.
51772         * sysdeps/i386/fpu/libm-test-ulps: Update.
51773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51775 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51777         * po/zh_TW.po: Update from translation team.
51779         * login/Makefile (distribute): Remove variable.
51780         * catgets/Makefile: Likewise.
51781         * mach/Makefile: Likewise.
51782         * malloc/Makefile: Likewise.
51783         * misc/Makefile: Likewise.
51784         * iconv/Makefile: Likewise.
51785         * nscd/Makefile: Likewise.
51786         * hurd/Makefile: Likewise.
51787         * manual/Makefile: Likewise.
51788         * locale/Makefile: Likewise.
51789         * intl/Makefile: Likewise.
51790         * conform/Makefile: Likewise.
51791         * nss/Makefile: Likewise.
51792         * time/Makefile: Likewise.
51793         * soft-fp/Makefile: Likewise.
51794         * dirent/Makefile: Likewise.
51795         * gmon/Makefile: Likewise.
51796         * po/Makefile: Likewise.
51797         * rt/Makefile: Likewise.
51798         * socket/Makefile: Likewise.
51799         * math/Makefile: Likewise.
51800         * signal/Makefile: Likewise.
51801         * debug/Makefile: Likewise.
51802         * elf/Makefile: Likewise.
51803         * timezone/Makefile: Likewise.
51804         * stdlib/Makefile: Likewise.
51805         * iconvdata/Makefile: Likewise.
51806         * sunrpc/Makefile: Likewise.
51807         * io/Makefile: Likewise.
51808         * argp/Makefile: Likewise.
51809         * inet/Makefile: Likewise.
51810         * hesiod/Makefile: Likewise.
51811         * grp/Makefile: Likewise.
51812         * csu/Makefile: Likewise.
51813         * wctype/Makefile: Likewise.
51814         * crypt/Makefile: Likewise.
51815         * libio/Makefile: Likewise.
51816         * string/Makefile: Likewise.
51817         * nis/Makefile: Likewise.
51818         * resolv/Makefile: Likewise.
51819         * stdio-common/Makefile: Likewise.
51820         * wcsmbs/Makefile: Likewise.
51821         * dlfcn/Makefile: Likewise.
51822         * posix/Makefile: Likewise.
51824         [BZ #6959]
51825         * timezone/Makefile: Don't install timezone files, just the programs
51826         and scripts.
51828 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51830         * nss/databases.def: Add missing gshadow entry.
51832         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51834 2012-03-06  Marek Polacek  <polacek@redhat.com>
51836         [BZ #13726]
51837         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51838         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51839         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51840         * stdio-common/tst-long-dbl-fphex.c: New file.
51842 2012-03-06  David S. Miller  <davem@davemloft.net>
51844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51845         (set_obp_int): New function.
51846         (get_obp_int): New function.
51847         (__get_clockfreq_via_dev_openprom): Likewise.
51848         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51849         Avoid unused variable warnings on 'val' and use builtin_expect.
51850         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51851         __builtin_expect.
51852         (INLINE_CLONE_SYSCALL): Likewise.
51854 2012-03-05  David S. Miller  <davem@davemloft.net>
51856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51858 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51862         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51863         only for |x| >= 40.
51864         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51866 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51868         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51869         Replace gettimeofday with __vdso_gettimeofday.
51871         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51872         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51873         __vdso_clock_gettime and __vdso_getcpu.
51875         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51876         time with __vdso_time.
51878 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51880         * manual/lang.texi (size_t): Note types to which size_t may be
51881         equivalent with the GNU C Library, but do not describe when
51882         differences between them are significant.
51884 2012-03-05  Andreas Jaeger  <aj@suse.de>
51886         * sysdeps/i386/fpu/libm-test-ulps: Update.
51888 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51890         [BZ #3976]
51891         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51892         (__ieee754_pow): Save and restore rounding mode and use
51893         round-to-nearest for main computations.
51894         * math/libm-test.inc (pow_test_tonearest): New function.
51895         (pow_test_towardzero): Likewise.
51896         (pow_test_downward): Likewise.
51897         (pow_test_upward): Likewise.
51898         (main): Call the new functions.
51899         * sysdeps/i386/fpu/libm-test-ulps: Update.
51900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51902         [BZ #3976]
51903         * math/libm-test.inc (cosh_test_tonearest): New function.
51904         (cosh_test_towardzero): Likewise.
51905         (cosh_test_downward): Likewise.
51906         (cosh_test_upward): Likewise.
51907         (sinh_test_tonearest): Likewise.
51908         (sinh_test_towardzero): Likewise.
51909         (sinh_test_downward): Likewise.
51910         (sinh_test_upward): Likewise.
51911         (main): Call the new functions.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51915 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51917         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51918         default stack guard is set in last bytes.
51919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51921 2012-03-05  Kees Cook  <keescook@chromium.org>
51923         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51925         [BZ #13656]
51926         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51927         possibly allocate from heap instead of stack.
51928         * stdio-common/bug-vfprintf-nargs.c: New file.
51929         * stdio-common/Makefile (tests): Add nargs overflow test.
51931 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51935 2012-03-03  Marek Polacek  <polacek@redhat.com>
51937         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51938         * math/math_private.h: Likewise.
51939         * stdlib/tst-strtod.c: Likewise.
51940         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51941         * sysdeps/x86_64/bits/atomic.h: Likewise.
51943 2012-03-02  David S. Miller  <davem@davemloft.net>
51945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51949         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51950         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51951         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51952         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51954 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51956         [BZ #13792]
51957         * manual/examples/README: New file, says the example source files
51958         can be used under GPL>=2.
51959         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51960         line containing just "*/".
51961         * manual/examples/add.c: Add copyright header (GPL>=2).
51962         * manual/examples/argp-ex1.c: Likewise.
51963         * manual/examples/argp-ex2.c: Likewise.
51964         * manual/examples/argp-ex3.c: Likewise.
51965         * manual/examples/argp-ex4.c: Likewise.
51966         * manual/examples/atexit.c: Likewise.
51967         * manual/examples/db.c: Likewise.
51968         * manual/examples/dir.c: Likewise.
51969         * manual/examples/dir2.c: Likewise.
51970         * manual/examples/execinfo.c: Likewise.
51971         * manual/examples/filecli.c: Likewise.
51972         * manual/examples/filesrv.c: Likewise.
51973         * manual/examples/fmtmsgexpl.c: Likewise.
51974         * manual/examples/genpass.c: Likewise.
51975         * manual/examples/inetcli.c: Likewise.
51976         * manual/examples/inetsrv.c: Likewise.
51977         * manual/examples/isockad.c: Likewise.
51978         * manual/examples/longopt.c: Likewise.
51979         * manual/examples/memopen.c: Likewise.
51980         * manual/examples/memstrm.c: Likewise.
51981         * manual/examples/mkfsock.c: Likewise.
51982         * manual/examples/mkisock.c: Likewise.
51983         * manual/examples/mygetpass.c: Likewise.
51984         * manual/examples/pipe.c: Likewise.
51985         * manual/examples/popen.c: Likewise.
51986         * manual/examples/rprintf.c: Likewise.
51987         * manual/examples/search.c: Likewise.
51988         * manual/examples/select.c: Likewise.
51989         * manual/examples/setjmp.c: Likewise.
51990         * manual/examples/sigh1.c: Likewise.
51991         * manual/examples/sigusr.c: Likewise.
51992         * manual/examples/stpcpy.c: Likewise.
51993         * manual/examples/strdupa.c: Likewise.
51994         * manual/examples/strftim.c: Likewise.
51995         * manual/examples/strncat.c: Likewise.
51996         * manual/examples/subopt.c: Likewise.
51997         * manual/examples/swapcontext.c: Likewise.
51998         * manual/examples/termios.c: Likewise.
51999         * manual/examples/testopt.c: Likewise.
52000         * manual/examples/testpass.c: Likewise.
52001         * manual/examples/timeval_subtract.c: Likewise.
52003         [BZ #13792]
52004         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52005         function to ...
52006         * manual/timeval_subtract.c.texi: ... here, new file.
52008 2012-03-02  David S. Miller  <davem@davemloft.net>
52010         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52012 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52014         [BZ #3976]
52015         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52016         (__sin): Save and restore rounding mode and use round-to-nearest
52017         for all computations.
52018         (__cos): Save and restore rounding mode and use round-to-nearest
52019         for all computations.
52020         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52021         <fenv.h>.
52022         (tan): Save and restore rounding mode and use round-to-nearest for
52023         all computations.
52024         * math/libm-test.inc (cos_test_tonearest): New function.
52025         (cos_test_towardzero): Likewise.
52026         (cos_test_downward): Likewise.
52027         (cos_test_upward): Likewise.
52028         (sin_test_tonearest): Likewise.
52029         (sin_test_towardzero): Likewise.
52030         (sin_test_downward): Likewise.
52031         (sin_test_upward): Likewise.
52032         (tan_test_tonearest): Likewise.
52033         (tan_test_towardzero): Likewise.
52034         (tan_test_downward): Likewise.
52035         (tan_test_upward): Likewise.
52036         (main): Call the new functions.
52037         * sysdeps/i386/fpu/libm-test-ulps: Update.
52038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52040         [BZ #10135]
52041         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52042         small n, then large n, before computing and testing k+n.
52043         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52045         Likewise.
52046         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52047         Likewise.
52048         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52049         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52050         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52051         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52052         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52053         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52054         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52055         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52056         * math/libm-test.inc (scalbn_test): Add more tests.
52057         (scalbln_test): Likewise.
52059         * manual/filesys.texi (mode_t): Describe constraints on size and
52060         signedness, not exact equivalence to a particular type.
52061         (ino_t): Likewise.
52062         (ino64_t): Likewise.
52063         (dev_t): Likewise.
52064         (nlink_t): Likewise.
52065         (blkcnt_t): Likewise.
52066         (blkcnt64_t): Likewise.
52067         * manual/llio.texi (off_t): Likewise.
52069         [BZ #3976]
52070         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52071         (__ieee754_exp): Save and restore rounding mode and use
52072         round-to-nearest for all computations.
52073         * math/libm-test.inc (exp_test_tonearest): New function.
52074         (exp_test_towardzero): Likewise.
52075         (exp_test_downward): Likewise.
52076         (exp_test_upward): Likewise.
52077         (main): Call the new functions.
52078         * sysdeps/i386/fpu/libm-test-ulps: Update.
52079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52081 2012-03-01  Chris Demetriou  <cgd@google.com>
52083         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52084         have predictable order.
52086 2012-03-01  David S. Miller  <davem@davemloft.net>
52088         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52090         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52091         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52092         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52093         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52095         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52096         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52097         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52099         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52100         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52101         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52102         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52103         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52108         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52109         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52111         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52112         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52113         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52114         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52115         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52116         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52117         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52118         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52119         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52120         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52121         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52122         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52124         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52125         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52126         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52127         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52128         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52129         * sysdeps/sparc/elf/configure: Regenerated.
52131 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52133         * configure.in (AS, LD): Require binutils 2.20 or later.
52134         * configure: Regenerated.
52135         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52136         as required minimum version.
52137         * INSTALL: Regenerated.
52139         [BZ #2541]
52140         [BZ #4108]
52141         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52142         before squaring exponent.
52143         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52144         bottom long double and 27 bits of top long double before squaring
52145         exponent.
52146         * math/libm-test.inc (erfc_test): Add more tests.
52147         * sysdeps/i386/fpu/libm-test-ulps: Update.
52148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52151 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52153         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52154         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52155         containing bit-fields.
52156         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52157         * soft-fp/single.h (_FP_UNION_S): Likewise.
52158         * soft-fp/double.h (_FP_UNION_D): Likewise.
52160 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52162         [BZ #13786]
52163         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52164         not include ../strcmp.S.
52165         [USE_AS_STRNCASECMP_L]: Likewise.
52166         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52167         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52168         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52169         (__strncasecmp_l_ia32): Define as alias to
52170         __strncasecmp_l_nonascii.
52172         [BZ #5794]
52173         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52174         * sysdeps/i386/fpu/libm-test-ulps: Update.
52175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52177         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52180 2012-02-29  Jeff Law  <law@redhat.com>
52182         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52183         out of bounds read.
52185 2012-02-29  Marek Polacek  <polacek@redhat.com>
52187         [BZ #13706]
52188         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52189         * elf/Makefile: Add rules to run tst-unused-dep.out.
52191 2012-02-28  David S. Miller  <davem@davemloft.net>
52193         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52194         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52195         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52196         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52197         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52198         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52200 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52202         * math/libm-test.inc (llround_test): Move one test from
52203         lround_test.  Use TEST_f_L in moved test.
52204         (lround_test): Move misplaced test to llround_test.  Add testcase
52205         from bug 2561.
52207 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52209         * sysdeps/x86_64/fpu/e_expf.S: New file.
52210         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52212 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52214         [BZ #13637]
52215         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52216         of remain_len that may cause incomplete multi-byte character and
52217         false match.
52218         * posix/bug-regex33.c: New file.
52219         * posix/Makefile (tests): Add bug-regex33.
52221 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52223         * manual/macros.texi: New file.
52224         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52225         * manual/libc.texinfo: Include macros.texi.
52226         * manual/creatute.texi: Likewise.
52227         * manual/install.texi: Likewise.
52228         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52229         @glibcadj{} in references to the GNU C Library.
52230         * manual/charset.texi: Likewise.
52231         * manual/conf.texi: Likewise.
52232         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52233         when not using those macros.
52234         * manual/creature.texi: Likewise.
52235         * manual/crypt.texi: Likewise.
52236         * manual/errno.texi: Likewise.
52237         * manual/filesys.texi: Likewise.
52238         * manual/header.texi: Likewise.
52239         * manual/install.texi: Likewise.
52240         * manual/intro.texi: Likewise.
52241         * manual/io.texi: Likewise.
52242         * manual/job.texi: Likewise.
52243         * manual/lang.texi: Likewise.
52244         * manual/libc.texiinfo: Likewise.
52245         * manual/llio.texi: Likewise.
52246         * manual/locale.texi: Likewise.
52247         * manual/maint.texi: Likewise.
52248         * manual/math.texi: Likewise.
52249         * manual/memory.texi: Likewise.
52250         * manual/message.texi: Likewise.
52251         * manual/nss.texi: Likewise.
52252         * manual/pattern.texi: Likewise.
52253         * manual/process.texi: Likewise.
52254         * manual/resource.texi: Likewise.
52255         * manual/search.texi: Likewise.
52256         * manual/setjmp.texi: Likewise.
52257         * manual/signal.texi: Likewise.
52258         * manual/socket.texi: Likewise.
52259         * manual/startup.texi: Likewise.
52260         * manual/stdio.texi: Likewise.
52261         * manual/string.texi: Likewise.
52262         * manual/sysinfo.texi: Likewise.
52263         * manual/syslog.texi: Likewise.
52264         * manual/terminal.texi: Likewise.
52265         * manual/time.texi: Likewise.
52266         * manual/users.texi: Likewise.
52267         * INSTALL: Regenerated.
52268         * NOTES: Regenerated.
52269         * sysdeps/gnu/errlist.c: Regenerated.
52271 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52273         * include/dirent.h: Include <dirstream.h> before
52274         <dirent/dirent.h>.
52276 2012-02-28  David S. Miller  <davem@davemloft.net>
52278         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52279         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52280         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52281         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52283 2012-02-27  David S. Miller  <davem@davemloft.net>
52285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52287         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52288         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52291         frame pointer instead of stack pointer relative arg slot.
52292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52293         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52294         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52296 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52298         [BZ #3992]
52299         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52301 2012-02-27  David S. Miller  <davem@davemloft.net>
52303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52307         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52308         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52309         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52310         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52312 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52314         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52315         later.  Allow versions 5-9.
52316         * configure: Regenerated.
52317         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52318         required minimum version and 4.6 as recommended version.  Do not
52319         mention bugs in GCC 2.7 and 2.8.
52320         * INSTALL: Regenerated.
52322 2012-02-27  David S. Miller  <davem@davemloft.net>
52324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52328         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52329         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52330         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52331         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52333         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52334         manipulate bits before adding and subtracting TWO112[sx].
52335         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52337 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52339         [BZ #13775]
52340         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52341         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52342         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52343         being in POSIX, because they are in 1003.1-2008.
52345         * rt/tst-aio.c: Include <fcntl.h>.
52346         * rt/tst-aio7.c: Likewise.
52347         * rt/tst-aio64.c: Likewise.
52349         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52351 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52353         * manual/install.texi (--with-headers): Describe headers as
52354         interface headers, not private headers.
52355         (Specific advice for GNU/Linux systems): Describe use of headers
52356         from "make headers_install", not private headers from older
52357         kernels.
52358         * INSTALL: Regenerated.
52359         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52360         Change to 2.6.19.
52361         * sysdeps/unix/sysv/linux/configure: Regenerated.
52363         * manual/llio.texi (fclean): Remove documentation.
52365         * manual/Makefile (libc-texi-generated): New variable.  Include
52366         version.texi.
52367         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52368         $(libc-texi-generated), not duplicated list of files.
52369         (version.texi, stamp-version): New rules.
52370         (realclean): Remove $(libc-texi-generated), not individual files
52371         from that list.  Do not remove dir-add.texinfo.
52372         * manual/libc.texinfo: Comment out uses of edition numbers and
52373         references to printed manual.  Remove last-updated dates.
52374         (EDITION): Comment out.
52375         (ISBN): Likewise.
52376         (VERSION, UPDATED): Remove.
52377         (version.texi): Include.
52379 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52381         * sysdeps/posix/spawni.c: Include <signal.h>.
52382         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52383         * sysdeps/pthread/aio_fsync.c: Likewise.
52385 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52387         * conform/Makefile (tests): Run only when not cross-compiling and
52388         when fast-check is not defined.
52390         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52391         * conform/data/limits.h-data: Fixes for POSIX2008.
52392         * conform/run-conformtest.sh: Run all tests.
52393         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52394         headers.
52395         * include/bits/dlfcn.h: Likewise.
52396         * include/langinfo.h: Likewise.
52397         * include/monetary.h: Likewise.
52398         * include/sys/poll.h: Likewise.
52400         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52401         for __USE_GNU.
52402         * posix/spawn.h: Define __need_sigset_t.
52403         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52404         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52405         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52406         to get sigevent_t only.
52407         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52408         only for __USE_GNU.
52409         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52410         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52411         process_vm_writev only for __USE_GNU.
52412         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52414         * conform/Makefile: For now ignore errors from run-conformtest.
52415         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52416         POSIX to avoid namespace pollution.  Don't prepend headers.
52417         * conform/data/aio.h-data: Fixes for POSIX testing.
52418         * conform/data/fcntl.h-data: Likewise.
52419         * conform/data/glob.h-data: Likewise.
52420         * conform/data/grp.h-data: Likewise.
52421         * conform/data/pthread.h-data: Likewise.
52422         * conform/data/pwd.h-data: Likewise.
52423         * conform/data/signal.h-data: Likewise.
52424         * conform/data/spawn.h-data: Likewise.
52425         * conform/data/stdio.h-data: Likewise.
52426         * conform/data/stdlib.h-data: Likewise.
52427         * conform/data/stropts.h-data: Likewise.
52428         * conform/data/sys/mman.h-data: Likewise.
52429         * conform/data/sys/stat.h-data: Likewise.
52430         * conform/data/sys/types.h-data: Likewise.
52431         * conform/data/sys/wait.h-data: Likewise.
52432         * conform/data/time.h-data: Likewise.
52433         * conform/data/unistd.h-data: Likewise.
52434         * conform/data/utime.h-data: Likewise.
52436         * io/sys/stat.h: fchmod was always in POSIX.
52437         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52438         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52439         * rt/aio.h: Define __need_timespec before including <time.h>.
52440         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52441         struct.  Add forward declaration of pthread_attr_t and use it in
52442         sigevent.
52443         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52445         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52446         always remove CLK_TCK definition.
52448 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52450         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52452 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52454         * conform/run-conformtest.sh: New file.
52455         * conform/Makefile: Run run-conformtest for tests.
52456         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52457         support.
52459         * conform/data/uchar.h-data: New file.
52460         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52461         * conform/data/arpa/inet.h-data: Likewise.
52462         * conform/data/assert.h-data: Likewise.
52463         * conform/data/complex.h-data: Likewise.
52464         * conform/data/cpio.h-data: Likewise.
52465         * conform/data/ctype.h-data: Likewise.
52466         * conform/data/dirent.h-data: Likewise.
52467         * conform/data/dlfcn.h-data: Likewise.
52468         * conform/data/errno.h-data: Likewise.
52469         * conform/data/fcntl.h-data: Likewise.
52470         * conform/data/float.h-data: Likewise.
52471         * conform/data/fmtmsg.h-data: Likewise.
52472         * conform/data/fnmatch.h-data: Likewise.
52473         * conform/data/ftw.h-data: Likewise.
52474         * conform/data/glob.h-data: Likewise.
52475         * conform/data/grp.h-data: Likewise.
52476         * conform/data/iconv.h-data: Likewise.
52477         * conform/data/inttypes.h-data: Likewise.
52478         * conform/data/langinfo.h-data: Likewise.
52479         * conform/data/libgen.h-data: Likewise.
52480         * conform/data/limits.h-data: Likewise.
52481         * conform/data/locale.h-data: Likewise.
52482         * conform/data/math.h-data: Likewise.
52483         * conform/data/monetary.h-data: Likewise.
52484         * conform/data/mqueue.h-data: Likewise.
52485         * conform/data/ndbm.h-data: Likewise.
52486         * conform/data/net/if.h-data: Likewise.
52487         * conform/data/netdb.h-data: Likewise.
52488         * conform/data/netinet/in.h-data: Likewise.
52489         * conform/data/nl_types.h-data: Likewise.
52490         * conform/data/poll.h-data: Likewise.
52491         * conform/data/pthread.h-data: Likewise.
52492         * conform/data/pwd.h-data: Likewise.
52493         * conform/data/regex.h-data: Likewise.
52494         * conform/data/sched.h-data: Likewise.
52495         * conform/data/search.h-data: Likewise.
52496         * conform/data/semaphore.h-data: Likewise.
52497         * conform/data/setjmp.h-data: Likewise.
52498         * conform/data/signal.h-data: Likewise.
52499         * conform/data/spawn.h-data: Likewise.
52500         * conform/data/stdarg.h-data: Likewise.
52501         * conform/data/stdio.h-data: Likewise.
52502         * conform/data/stdlib.h-data: Likewise.
52503         * conform/data/string.h-data: Likewise.
52504         * conform/data/strings.h-data: Likewise.
52505         * conform/data/stropts.h-data: Likewise.
52506         * conform/data/sys/ipc.h-data: Likewise.
52507         * conform/data/sys/mman.h-data: Likewise.
52508         * conform/data/sys/msg.h-data: Likewise.
52509         * conform/data/sys/resource.h-data: Likewise.
52510         * conform/data/sys/select.h-data: Likewise.
52511         * conform/data/sys/sem.h-data: Likewise.
52512         * conform/data/sys/shm.h-data: Likewise.
52513         * conform/data/sys/socket.h-data: Likewise.
52514         * conform/data/sys/stat.h-data: Likewise.
52515         * conform/data/sys/statvfs.h-data: Likewise.
52516         * conform/data/sys/time.h-data: Likewise.
52517         * conform/data/sys/timeb.h-data: Likewise.
52518         * conform/data/sys/times.h-data: Likewise.
52519         * conform/data/sys/types.h-data: Likewise.
52520         * conform/data/sys/uio.h-data: Likewise.
52521         * conform/data/sys/un.h-data: Likewise.
52522         * conform/data/sys/utsname.h-data: Likewise.
52523         * conform/data/sys/wait.h-data: Likewise.
52524         * conform/data/syslog.h-data: Likewise.
52525         * conform/data/tar.h-data: Likewise.
52526         * conform/data/termios.h-data: Likewise.
52527         * conform/data/utime.h-data: Likewise.
52528         * conform/data/utmpx.h-data: Likewise.
52529         * conform/data/varargs.h-data: Likewise.
52530         * conform/data/wchar.h-data: Likewise.
52531         * conform/data/wctype.h-data: Likewise.
52532         * conform/data/wordexp.h-data: Likewise.
52534         * include/stropts.h: New file.
52535         * include/uchar.h: New file.
52536         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52537         * include/assert.h: Likewise.
52538         * include/ctype.h: Likewise.
52539         * include/dirent.h: Likewise.
52540         * include/dlfcn.h: Likewise.
52541         * include/fcntl.h: Likewise.
52542         * include/fnmatch.h: Likewise.
52543         * include/glob.h: Likewise.
52544         * include/grp.h: Likewise.
52545         * include/libio.h: Likewise.
52546         * include/locale.h: Likewise.
52547         * include/math.h: Likewise.
52548         * include/net/if.h: Likewise.
52549         * include/netdb.h: Likewise.
52550         * include/netinet/in.h: Likewise.
52551         * include/pthread.h: Likewise.
52552         * include/pwd.h: Likewise.
52553         * include/regex.h: Likewise.
52554         * include/sched.h: Likewise.
52555         * include/search.h: Likewise.
52556         * include/setjmp.h: Likewise.
52557         * include/signal.h: Likewise.
52558         * include/stdio.h: Likewise.
52559         * include/stdlib.h: Likewise.
52560         * include/string.h: Likewise.
52561         * include/sys/cdefs.h: Likewise.
52562         * include/sys/mman.h: Likewise.
52563         * include/sys/msg.h: Likewise.
52564         * include/sys/resource.h: Likewise.
52565         * include/sys/select.h: Likewise.
52566         * include/sys/socket.h: Likewise.
52567         * include/sys/stat.h: Likewise.
52568         * include/sys/statvfs.h: Likewise.
52569         * include/sys/time.h: Likewise.
52570         * include/sys/times.h: Likewise.
52571         * include/sys/uio.h: Likewise.
52572         * include/sys/utsname.h: Likewise.
52573         * include/sys/wait.h: Likewise.
52574         * include/termios.h: Likewise.
52575         * include/time.h: Likewise.
52576         * include/ulimit.h: Likewise.
52577         * include/unistd.h: Likewise.
52578         * include/utime.h: Likewise.
52579         * include/wchar.h: Likewise.
52580         * include/wctype.h: Likewise.
52581         * include/wordexp.h: Likewise.
52583         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52585         * time/time.h: TIME_UTC must be a macro.
52586         Make timespec_get available for ISO C11 only as well.
52588 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52590         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52591         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52593 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52595         * configure.in: Use -o not -a in test for unsupported multi-arch.
52597 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52599         * manual/texinfo.tex: Update to version 2012-01-19.16.
52601 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52603         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52605 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52607         [BZ #13738]
52608         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52609         * manual/fdl-1.3.texi: New file.
52610         * manual/fdl-1.1.texi: File removed.
52612         [BZ #13738]
52613         * manual/libc.texinfo (FDL_VERSION): New @set.
52614         Use it for mention of FDL in cover text.
52615         (Documentation License): Use it in @include file name.
52617 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52618             Roland McGrath  <roland@hack.frob.com>
52620         [BZ #5461]
52621         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52622         (not LONG_LONG_MAX and LONG_LONG_MIN.
52623         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52624         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52625         name.
52626         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52628 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52630         [BZ #2547]
52631         [BZ #11365]
52632         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52633         manipulate bits before adding and subtracting TWO23[sx].
52634         * math/libm-test.inc (nearbyint_test): Add more tests.
52636 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52638         [BZ #2548]
52639         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52640         bits before adding and subtracting TWO23[sx].
52641         * math/libm-test.inc (rint_test): Add more tests.
52642         (rint_test_tonearest): Likewise.
52643         (rint_test_towardzero): Likewise.
52644         (rint_test_downward): Likewise.
52645         (rint_test_upward: Likewise.
52647 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52649         [BZ #10110]
52650         * include/stdc-predef.h: New file.  Extracted from features.h.
52651         * include/features.h: Include stdc-predef.h.
52652         * Makefile (headers): Add stdc-predef.h.
52653         * CONFORMANCE (Compiler limitations): Update.
52655 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52657         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52659 2012-02-21  David S. Miller  <davem@davemloft.net>
52661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52662         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52664 2012-02-20  David S. Miller  <davem@davemloft.net>
52666         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52667         using a normal save/restore sequence, rather than allocating a
52668         dummy stack frame just to store a frame pointer and restore.
52669         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52671 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52673         * manual/install.texi: Fix stray word in line-wrapped comment.
52675 2012-02-20  David S. Miller  <davem@davemloft.net>
52677         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52678         both binutils and gcc support GOTDATA.
52680         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52681         "rd %pc" in the PIC register setup sequences.
52683         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52684         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52685         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52686         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52687         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52689         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52690         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52692         (SYSCALL_ERROR_HANDLER): Likewise.
52693         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52694         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52696         (SYSCALL_ERROR_HANDLER): Likewise.
52698         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52699         (HAVE_GCC_GOTDATA): New.
52700         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52701         relocation support in both binutils and gcc.
52702         * sysdeps/sparc/elf/configure: Regenerate.
52704         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52705         * sysdeps/sparc/sparc32/elf/configure: Delete.
52706         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52707         * sysdeps/sparc/sparc64/elf/configure: Delete.
52708         * sysdeps/sparc/elf/configure.in: New file.
52709         * sysdeps/sparc/elf/configure: Generate.
52711         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52712         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52713         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52714         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52715         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52717 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52719         * manual/install.texi: Do not mention specific glibc version
52720         numbers.
52721         * manual/libc.texinfo (VERSION, UPDATED): Update.
52722         (@copying): Use @copyright{} and range of years.
52724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52726         [BZ #13695]
52727         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52728         [crti.S not in sysdirs] (generated): Do not append.
52729         [crti.S not in sysdirs] (omit-deps): Likewise.
52730         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52731         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52732         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52733         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52734         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52735         Likewise.
52736         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52737         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52738         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52739         * csu/defs.awk: Remove file.
52740         * sysdeps/generic/initfini.c: Likewise.
52741         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52742         variable.
52743         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52744         Likewise.
52746 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52748         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52749         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52750         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52752         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52753         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52754         <bits/epoll.h>.
52755         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52756         (__EPOLL_PACKED): Define to empty if not defined by
52757         <bits/epoll.h>.
52758         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52759         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52760         bits/epoll.h.
52762 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52764         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52765         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52766         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52767         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52768         <bits/timerfd.h>.
52769         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52771         bits/timerfd.h.
52773 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52775         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52776         in C locale.
52777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52779         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52782 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52784         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52785         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52787 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52789         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52790         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52791         defined.
52792         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52793         Likewise.
52794         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52795         entry for 2.16.
52797 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52799         * math/w_acos.c: Use non-signaling floating-point comparisons.
52800         * math/w_acosf.c: Likewise.
52801         * math/w_acosh.c: Likewise.
52802         * math/w_acoshf.c: Likewise.
52803         * math/w_acoshl.c: Likewise.
52804         * math/w_acosl.c: Likewise.
52805         * math/w_asin.c: Likewise.
52806         * math/w_asinf.c: Likewise.
52807         * math/w_asinl.c: Likewise.
52808         * math/w_atanh.c: Likewise.
52809         * math/w_atanhf.c: Likewise.
52810         * math/w_atanhl.c: Likewise.
52811         * math/w_exp2.c: Likewise.
52812         * math/w_exp2f.c: Likewise.
52813         * math/w_exp2l.c: Likewise.
52814         * math/w_j0.c: Likewise.
52815         * math/w_j0f.c: Likewise.
52816         * math/w_j0l.c: Likewise.
52817         * math/w_j1.c: Likewise.
52818         * math/w_j1f.c: Likewise.
52819         * math/w_j1l.c: Likewise.
52820         * math/w_jn.c: Likewise.
52821         * math/w_jnf.c: Likewise.
52822         * math/w_log.c: Likewise.
52823         * math/w_log10.c: Likewise.
52824         * math/w_log10f.c: Likewise.
52825         * math/w_log10l.c: Likewise.
52826         * math/w_log2.c: Likewise.
52827         * math/w_log2f.c: Likewise.
52828         * math/w_log2l.c: Likewise.
52829         * math/w_logf.c: Likewise.
52830         * math/w_logl.c: Likewise.
52831         * math/w_sqrt.c: Likewise.
52832         * math/w_sqrtf.c: Likewise.
52833         * math/w_sqrtl.c: Likewise.
52834         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52835         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52836         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52837         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52840 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52842         [BZ #9739]
52843         * manual/string.texi (strnlen): Use correct parameter name in
52844         equivalent expression.
52846 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52848         [BZ #11174]
52849         * manual/users.texi (seteuid): Consistently use neweuid for
52850         argument name.
52852 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52854         [BZ #13704]
52855         * manual/nss.texi (Services in the NSS configuration): Correct
52856         list of services in example configuration file.
52858 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52860         [BZ #11322]
52861         * manual/arith.texi: Remove statements about negative zero
52862         behaving identically to zero.
52864 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52866         [BZ #5993]
52867         * manual/install.texi: Do not document upgrading from libc5.
52869 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52871         [BZ #4596]
52872         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52874 2012-02-18  David S. Miller  <davem@davemloft.net>
52876         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52877         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52878         %o7 across the call.
52879         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52880         instead.
52881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52882         SETUP_PIC_REG_LEAF.
52883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52884         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52885         * sysdeps/sparc/crtn.S: Likewise.
52887 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52889         * aout/Makefile: Remove.
52891 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52893         [BZ #13058]
52894         * manual/examples/argp-ex1.c (main): Format definition in GNU
52895         style.
52896         * manual/examples/argp-ex2.c (main): Likewise.
52897         * manual/examples/argp-ex3.c (main): Likewise.
52898         * manual/examples/argp-ex4.c (main): Likewise.
52899         * manual/examples/longopt.c (main): Use new-style prototype
52900         definition.
52901         * manual/examples/strncat.c (main): Specify return type and use
52902         (void) for arguments.
52903         * manual/examples/subopt.c (main): Use char **argv argument.
52905 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52907         [BZ #5077]
52908         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52909         rounding modes.
52911 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52913         [BZ #6907]
52914         * manual/string.texi (strchr): Change when strchrnul is
52915         recommended.
52917 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52919         [BZ #174]
52920         * manual/locale.texi (setlocale): Document LOCPATH.
52922 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52924         [BZ #10210]
52925         * manual/process.texi (execle): Move @dots{} before last argument.
52927 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52929         [BZ #12047]
52930         * manual/charset.texi (Generic Charset Conversion): Fix typo
52931         (LC_TYPE -> LC_CTYPE).
52933 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52935         [BZ #5805]
52936         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52937         (scalbnf): Likewise.
52938         (scalbnl): Likewise.
52939         (scalbln): Likewise.
52940         (scalblnf): Likewise.
52941         (scalblnl): Likewise.
52942         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52943         (vwarnx): Likewise.
52944         (verr): Likewise.
52945         (verrx): Likewise.
52946         * manual/filesys.texi (telldir): Use braces around return type.
52947         * manual/llio.texi (mmap): Add space after comma.
52948         (mmap64): Likewise.
52949         * manual/math.texi (jn): Use @var{} on parameter names.
52950         (jnf): Likewise.
52951         (jnl): Likewise.
52952         (yn): Likewise.
52953         (ynf): Likewise.
52954         (ynl): Likewise.
52955         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52956         line.
52957         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52958         "...".
52959         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52960         (sched_get_priority_max): Likewise.
52961         * manual/signal.texi (sigvec): Add space after comma.
52962         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52963         names.
52964         (if_indextoname): Likewise.
52965         (if_freenameindex): Likewise.
52966         (sendto): Use ',' instead of '.' in prototype.
52967         * manual/startup.texi (syscall): Use @dots{} instead of literal
52968         "...".
52969         * manual/stdio.texi (__fpending): Separate initial words of
52970         paragraph from @deftypefun line.
52971         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52972         "...".
52973         (vsyslog): Use @var{} on parameter names.
52974         * manual/terminal.texi (stty): Use @var{} on parameter names.
52975         * manual/users.texi (getutmp): Use @var{} on parameter names.
52976         (getutmpx): Likewise.
52978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52980         [BZ #6884]
52981         * manual/stdio.texi (fopen): Fix typos in description of
52982         ",ccs=STRING".
52984 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52986         [BZ #4026]
52987         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52988         get clock_id definition.
52990 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52992         [BZ #4822]
52993         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52994         (madvise): Cast every argument to void on its own.
52996 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52998         [BZ #9902]
52999         * manual/startup.texi (Exit Status): Fix typo.
53001 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53003         [BZ #10140]
53004         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53005         * manual/examples/argp-ex2.c: Likewise.
53006         * manual/examples/argp-ex3.c: Likewise.
53008 2012-02-16  Richard Henderson  <rth@redhat.com>
53010         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53011         * sysdeps/s390/s390-32/initfini.c: Remove.
53012         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53013         * sysdeps/s390/s390-64/initfini.c: Remove.
53015 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53017         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53018         compiler output for sysdeps/generic/initfini.c.
53019         * sysdeps/sh/elf/initfini.c: Remove file.
53021 2012-02-16  David S. Miller  <davem@davemloft.net>
53023         [BZ #11494]
53024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53026         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53027         * sysdeps/sparc/crti.S: New file.
53028         * sysdeps/sparc/crtn.S: New file.
53029         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53030         * sysdeps/sparc/sparc64/Makefile: Likewise.
53032 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53034         [BZ #3335]
53035         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53037 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53039         [BZ #4822]
53040         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53042         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53043         (write, read, close): Likewise.
53044         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53046 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53048         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53049         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53050         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53051         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53052         <bits/signalfd.h>.
53053         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53055         bits/signalfd.h.
53057 2012-02-14  Marek Polacek  <polacek@redhat.com>
53059         * sysdeps/x86_64/crti.S: New file.
53060         * sysdeps/x86_64/crtn.S: New file.
53061         * sysdeps/x86_64/elf/initfini.c: Remove file.
53063 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53065         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53066         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53067         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53068         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53069         <bits/inotify.h>.
53070         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53072         bits/inotify.h.
53074 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53076         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53077         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53078         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53079         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53080         <bits/eventfd.h>.
53081         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53083         bits/eventfd.h.
53085 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53087         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53088         __feraiseexcept instead of feraiseexcept.
53090         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53091         nanosleep invocations.
53092         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53093         strings, and add error checking for a nanosleep invocations.
53095 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53097         Replace FSF snail mail address with URLs, as per GNU coding standards.
53098         Most of the snail mail addresses were wrong anyway, and omitting
53099         them makes the source code easier to maintain.  Almost all of the
53100         changes are to license notices and to locale LC_IDENTIFICATION
53101         addresses, except for this one:
53102         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53103         not its snail mail address.
53105 2012-02-09  Richard Henderson  <rth@twiddle.net>
53107         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53108         of kernel-features.h.
53110         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53112 2012-02-08  Marek Polacek  <polacek@redhat.com>
53114         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53115         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53116         * sysdeps/gnu/_G_config.h: Likewise.
53117         * sysdeps/generic/_G_config.h: Likewise.
53119 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53121         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53122         tests.
53123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53125         * sysdeps/powerpc/powerpc32/crti.S: New file.
53126         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53127         * sysdeps/powerpc/powerpc64/crti.S: New file.
53128         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53130         * Makeconfig (have-initfini): Don't set.
53131         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53132         * configure.in (nopic_initfini): Don't substitute.
53133         * config.h.in (HAVE_INITFINI): Don't #undef.
53134         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53135         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53137 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53139         Support crti.S and crtn.S provided directly by architectures.
53140         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53141         [crti.S in sysdirs] (omit-deps): Likewise.
53142         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53143         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53144         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53145         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53146         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53147         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53148         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53149         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53150         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53151         compiler output for sysdeps/generic/initfini.c.
53152         * sysdeps/i386/elf/Makefile: Remove file.
53153         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53155 2012-02-07  Marek Polacek  <polacek@redhat.com>
53157         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53158         * sysdeps/gnu/_G_config.h: Likewise.
53159         * sysdeps/mach/hurd/_G_config.h: Likewise.
53161 2012-02-07  Marek Polacek  <polacek@redhat.com>
53163         * math/Makefile (tests): Add tst-CMPLX2.
53164         * math/tst-CMPLX2.c: New file.
53166 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53168         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53170         * math/libm-test.inc (jn_test): Add missing L suffix.
53172 2012-02-06  Marek Polacek  <polacek@redhat.com>
53174         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53175         * sysdeps/i386/fpu/e_powf.S: Likewise.
53176         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53177         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53178         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53179         * sysdeps/i386/fpu/e_pow.S: Likewise.
53180         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53181         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53182         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53183         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53184         * sysdeps/i386/fpu/e_log2.S: Likewise.
53185         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53186         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53187         * sysdeps/i386/fpu/e_powl.S: Likewise.
53188         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53189         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53190         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53191         * sysdeps/i386/fpu/e_logl.S: Likewise.
53192         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53193         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53194         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53195         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53196         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53197         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53198         * sysdeps/i386/fpu/e_log.S: Likewise.
53199         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53200         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53201         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53202         * sysdeps/i386/fpu/e_logf.S: Likewise.
53203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53204         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53205         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53206         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53207         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53208         * sysdeps/i386/fpu/e_log10.S: Likewise.
53209         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53210         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53211         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53212         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53213         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53214         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53215         * sysdeps/i386/asm-syntax.h: Likewise.
53216         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53217         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53218         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53219         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53220         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53221         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53222         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53223         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53224         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53225         * sysdeps/powerpc/sysdep.h: Likewise.
53226         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53227         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53229 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53231         [BZ #411]
53232         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53234 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53236         * sysdeps/i386/sysdep.h: Include <features.h>.
53237         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53238         version.
53240 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53242         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53243         Define.
53244         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53245         LOAD_PIC_REG_STR.
53247 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53249         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53250         (SETUP_PIC_REG): Use GET_PC_THUNK.
53251         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53252         macro.
53254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53256         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53257         for non-PIC compilation.
53258         (SETUP_PIC_REG): Add .p2align directive.
53259         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53260         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53261         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53262         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53263         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53264         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53265         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53266         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53267         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53268         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53269         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53270         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53271         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53272         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53273         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53274         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53275         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53276         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53277         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53278         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53279         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53280         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53281         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53282         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53283         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53286         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53287         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53288         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53289         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53290         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53291         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53292         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53293         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53294         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53295         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53296         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53297         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53298         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53299         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53301 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53303         * math/tst-CMPLX.c: Include <stdio.h>.
53305 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53307         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53308         float.
53309         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53310         * sysdeps/sparc/bits/mathdef.h: Likewise.
53312 2012-01-31  Marek Polacek  <polacek@redhat.com>
53314         * libio/libio.h: Don't define _PARAMS.
53315         * locale/programs/config.h: Don't define PARAMS.
53316         * stdlib/strtol_l.c: Likewise.
53317         (__strtol_l): Remove PARAMS from the prototype.
53319 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53321         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53322         names.  Just use the correct names.  Remove unnecessary wrapper
53323         functions.
53324         * malloc/arena.c: Likewise.
53325         * malloc/hooks.c: Likewise.
53327         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53328         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53329         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53331 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53333         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53334         into tail calls.
53335         (update_get_addr): New function.
53336         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53337         GET_ADDR_MODULE parameter.
53339 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53341         * crypt/cert.c: Remove __STDC__ conditionals.
53342         * crypt/crypt-entry.c: Likewise.
53343         * crypt/crypt_util.c: Likewise.
53344         * libio/filedoalloc.c: Likewise.
53345         * libio/fileops.c: Likewise.
53346         * libio/genops.c: Likewise.
53347         * libio/iofclose.c: Likewise.
53348         * libio/iofdopen.c: Likewise.
53349         * libio/iofopen.c: Likewise.
53350         * libio/iofopen64.c: Likewise.
53351         * libio/iogetdelim.c: Likewise.
53352         * libio/iopopen.c: Likewise.
53353         * libio/obprintf.c: Likewise.
53354         * libio/oldfileops.c: Likewise.
53355         * libio/oldiofclose.c: Likewise.
53356         * libio/oldiofdopen.c: Likewise.
53357         * libio/oldiofopen.c: Likewise.
53358         * libio/oldiopopen.c: Likewise.
53359         * libio/wfiledoalloc.c: Likewise.
53360         * libio/wgenops.c: Likewise.
53361         * locale/programs/xmalloc.c: Likewise.
53362         * misc/syslog.c: Likewise.
53363         * stdio-common/xbug.c: Likewise.
53364         * string/memchr.c: Likewise.
53365         * string/memcmp.c: Likewise.
53366         * string/memrchr.c: Likewise.
53367         * string/rawmemchr.c: Likewise.
53368         * sysdeps/posix/getcwd.c: Likewise.
53369         * time/strftime_l.c: Likewise.
53371 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53373         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53374         * config.make.in (config-cflags-sse2avx): Define.
53375         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53376         Fix typo.
53378 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53380         * scripts/config.guess: Update from upstream config git repository.
53381         * scripts/config.sub: Likewise.
53383 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53385         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53386         (EM_NUM): Update.
53387         (R_TILEPRO_*, R_TILEGX_*): New macros.
53389         * scripts/firstversions.awk: Fix bug in version range handling.
53391         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53393         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53395         * include/sys/epoll.h: New file.
53396         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53397         libc_hidden_def.
53399 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53401         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53402         Avoid unnecessary __WORDSIZE == 64 test.
53403         (fmaxf): Use VEX format if possible.
53404         (fmax): Likewise.
53405         (fminf): Likewise.
53406         (fmin): Likewise.
53408         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53409         * math/math_private.h: Remove libc_fegetround* and
53410         libc_fesetround*.
53411         * sysdeps/i386/configure.in: Check for -msse2avx.
53412         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53413         also if SSE2AVX is defined.
53414         Remove libc_fegetround* and libc_fesetround*.
53415         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53416         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53417         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53418         of HAS_YMM_USABLE.
53419         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53420         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53421         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53422         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53423         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53425         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53427 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53429         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53430         size is not set.
53431         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53433 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53435         [BZ #13618]
53436         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53437         relocation.
53438         * Makeconfig (libm): Define.
53439         * elf/Makefile: Add rules to build and run tst-relsort1.
53440         * elf/tst-relsort1.c: New file.
53441         * elf/tst-relsort1mod1.c: New file.
53442         * elf/tst-relsort1mod2.c: New file.
53444 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53446         * math/s_ldexp.c: Remove __STDC__ conditionals.
53447         * math/s_ldexpf.c: Likewise.
53448         * math/s_ldexpl.c: Likewise.
53449         * math/s_nextafter.c: Likewise.
53450         * math/s_nexttowardf.c: Likewise.
53451         * math/s_significand.c: Likewise.
53452         * math/s_significandf.c: Likewise.
53453         * math/s_significandl.c: Likewise.
53454         * math/w_jnl.c: Likewise.
53455         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53456         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53457         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53458         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53459         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53460         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53461         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53462         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53463         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53464         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53465         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53466         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53467         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53468         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53469         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53470         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53471         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53472         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53474         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53475         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53476         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53477         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53478         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53479         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53480         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53481         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53482         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53483         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53484         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53485         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53486         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53487         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53488         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53489         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53490         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53491         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53492         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53493         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53494         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53495         * sysdeps/ieee754/k_standard.c: Likewise.
53496         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53497         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53498         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53499         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53500         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53501         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53502         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53505         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53506         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53507         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53509         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53510         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53511         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53512         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53514         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53515         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53516         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53517         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53518         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53519         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53520         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53521         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53523         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53524         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53525         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53527         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53528         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53529         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53531         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53532         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53533         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53534         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53535         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53536         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53538         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53539         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53540         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53541         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53544         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53545         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53546         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53547         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53548         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53550         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53551         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53557         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53558         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53559         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53560         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53561         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53562         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53565         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53566         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53567         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53568         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53570         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53571         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53572         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53573         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53574         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53575         * sysdeps/ieee754/s_matherr.c: Likewise.
53576         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53577         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53578         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53579         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53581 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53583         * crypt/md5.h: Remove __STDC__ conditionals.
53584         * libio/libioP.h: Likewise.
53585         * locale/programs/config.h: Likewise.
53586         * sysdeps/generic/sysdep.h: Likewise.
53587         * sysdeps/i386/asm-syntax.h: Likewise.
53588         * sysdeps/s390/asm-syntax.h: Likewise.
53589         * sysdeps/unix/sysdep.h: Likewise.
53590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53593 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53595         * libio/libio.h: Remove __STDC__ conditionals.
53596         * malloc/obstack.h: Likewise.
53597         * math/complex.h: Likewise.
53598         * math/math.h: Likewise.
53599         * sysdeps/generic/_G_config.h: Likewise.
53600         * sysdeps/gnu/_G_config.h: Likewise.
53601         * sysdeps/mach/hurd/_G_config.h: Likewise.
53602         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53603         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53604         * sysdeps/sparc/bits/mathdef.h: Likewise.
53606 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53608         [BZ #13583]
53609         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53610         Clean up HAS_* macros.
53611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53612         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53613         possible.
53614         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53615         HAS_AVX.
53616         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53617         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53618         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53619         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53622 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53624         * elf/tst-unique3.cc (gets): Remove declaration.
53625         * elf/tst-unique3lib.cc (gets): Likewise.
53626         * elf/tst-unique3lib2.cc (gets): Likewise.
53627         * elf/tst-unique4.cc (gets): Likewise.
53629 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53631         * include/stdio.h: Add C++ protection.  Add gets declarations and
53632         definitions.
53633         * debug/tst-chk1.c: Don't declare gets here.
53634         * stdio-common/tst-gets.c: Likewise.
53636 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53638         * posix/glob: Remove directory.
53640 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53642         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53644 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53646         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53647         of the non-standard EPFNOSUPPORT.
53649 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53651         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53652         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53653         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53655 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53657         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53659 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53661         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53662         transient errors.
53663         * nscd/grpcache.c (cache_addgr): Likewise.
53664         * nscd/hstcache.c (cache_addhst): Likewise.
53665         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53666         * nscd/pwdcache.c (cache_addpw): Likewise.
53667         * nscd/servicescache.c (cache_addserv): Likewise.
53669 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53671         * malloc/malloc.c: Various cleanups.
53672         * malloc/hooks.c: Likewise.
53674         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53675         * stdlib/bug-fmtmsg1.c: New file.
53677         * stdlib/fmtmsg.c (init): Add missing unlock.
53678         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53680 2012-01-12  Marek Polacek  <polacek@redhat.com>
53682         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53683         and _GNU_SOURCE.
53685 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53687         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53688         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53689         macro to ensure uniqueness of label name.
53690         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53691         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53693 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53695         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53697         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53698         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53700         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53702 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53704         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53706         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53707         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53708         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53710         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53712         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53713         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53714         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53717         * math/bits/math-finite.h: Add ldexp support.
53719 2012-01-10  Marek Polacek  <polacek@redhat.com>
53721         * locale/programs/localedef.h (show_archive_content): Add noreturn
53722         attribute.
53724 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53726         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53728 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53730         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53732         * io/Makefile (headers): Add bits/poll2.h.
53734 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53737         typo #include statement.
53739 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53741         * include/sys/cdefs.h: Define __attribute_alloc_size.
53742         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53743         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53744         * elf/pldd.c: Likewise.
53745         * iconv/iconv_charmap.c: Likewise.
53746         * iconv/iconvconfig.c: Likewise.
53747         * iconv/strtab.c: Likewise.
53748         * locale/programs/locale.c: Likewise.
53749         * locale/programs/localedef.h: Likewise.
53750         * locale/programs/simple-hash.c: Likewise.
53751         * nscd/nscd.h: Likewise.
53752         * nss/makedb.c: Likewise.
53753         * sysdeps/generic/ldconfig.h: Likewise.
53754         * locale/programs/localedef.c: Remove xmalloc prototype.
53755         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53757 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53759         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53760         appropriate.
53762 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53764         * math/Makefile (tests): Add tst-CMPLX.
53765         * math/tst-CMPLX.c: New file.
53767         * math/complex.h (CMPLXL): Fix typo.
53769         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53770         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53771         GLIBC_2.16.
53772         * debug/tst-chk1.c: Add poll and ppoll tests.
53773         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53774         * include/sys/poll.h: Add hidden proto for ppoll.
53775         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53776         * sysdeps/mach/hurd/ppoll.c: Likewise.
53777         * io/ppoll.c: Likewise.
53778         * debug/poll_chk.c: New file.
53779         * debug/ppoll_chk.c: New file.
53780         * include/bits/poll2.h: New file.
53781         * io/bits/poll2.h: New file.
53783         [BZ #1350]
53784         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53786         * configure.in: static is always set to yes.  Remove.
53787         * config.make.in: Don't set build-static.
53788         * Makeconfig: Remove use of build-static.
53789         * dlfcn/Makefile: Likewise.
53790         * elf/Makefile: Likewise.
53791         * math/Makefile: Likewise.
53792         * misc/Makefile: Likewise.
53793         * nptl/Makefile: Likewise.
53794         * sysdeps/mach/hurd/Makefile: Likewise.
53796         * configure.in: PWD_P is not used anymore.
53797         * config.make.in: Remove PWD_P entry.
53799         * configure.in: Remove last remnants of RANLIB.
53800         No need to check for signed size_t anymore.
53801         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53802         and IA-64.
53803         Remove __builtin_expect test because we require at least gcc 3.4.
53804         * aclocal.m4: Likewise.
53806         * wcsmbs/mbrtoc16.c: Implement using towc function.
53807         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53808         * wcsmbs/wcsmbsload.c: Likewise.
53809         * iconv/gconv_simple.c: Likewise.
53810         * iconv/gconv_int.h: Likewise.
53811         * iconv/gconv_builtin.h: Likewise.
53812         * iconv/iconv_prog.c: Remove CHAR16 handling.
53814         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53816         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53818         * configure.in: Remove --with-elf and --enable-bounded options.
53819         Dont set base_machine for ia64.  More non-ELF conditions removed.
53820         Remove testing and setting of leading underscore information.
53821         * config.make.in (build-bounded): Set to no.
53822         * config.h.in: Remove NO_UNDERSCORES entry.
53823         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53824         them.
53825         * csu/start.c: Remove !NO_UNDERSCORE code.
53826         * locale/localeinfo.h: Likewise.
53827         * sysdeps/generic/machine-gmon.h: Likewise.
53828         * sysdeps/generic/sysdep.h: Likewise.
53829         * sysdeps/i386/sysdep.h: Likewise.
53830         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53831         * sysdeps/mach/sysdep.h: Likewise.
53832         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53833         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53834         * sysdeps/sh/sysdep.h: Likewise.
53835         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53836         * sysdeps/unix/i386/sysdep.S: Likewise.
53837         * sysdeps/unix/sparc/start.c: Likewise.
53838         * sysdeps/unix/sparc/sysdep.S: Likewise.
53839         * sysdeps/unix/sparc/sysdep.h: Likewise.
53840         * sysdeps/unix/start.c: Likewise.
53841         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53842         * sysdeps/x86_64/sysdep.h: Likewise.
53844 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53846         [BZ #13553]
53847         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53848         for non-gcc.
53849         * argp/argp-fmtstream.h: Use const instead __const.
53850         * argp/argp.h: Likewise.
53851         * assert/assert.h: Likewise.
53852         * bits/fenv.h: Likewise.
53853         * bits/sched.h: Likewise.
53854         * bits/sigset.h: Likewise.
53855         * bits/sigthread.h: Likewise.
53856         * catgets/nl_types.h: Likewise.
53857         * conform/data/pthread.h-data: Likewise.
53858         * crypt/crypt-private.h: Likewise.
53859         * crypt/crypt.h: Likewise.
53860         * crypt/crypt_util.c: Likewise.
53861         * ctype/ctype.h: Likewise.
53862         * debug/execinfo.h: Likewise.
53863         * debug/mbsnrtowcs_chk.c: Likewise.
53864         * debug/mbsrtowcs_chk.c: Likewise.
53865         * debug/wcsnrtombs_chk.c: Likewise.
53866         * debug/wcsrtombs_chk.c: Likewise.
53867         * debug/wcstombs_chk.c: Likewise.
53868         * dirent/dirent.h: Likewise.
53869         * dlfcn/dlfcn.h: Likewise.
53870         * elf/neededtest4.c: Likewise.
53871         * grp/grp.h: Likewise.
53872         * gshadow/gshadow.h: Likewise.
53873         * iconv/gconv.h: Likewise.
53874         * iconv/gconv_int.h: Likewise.
53875         * iconv/gconv_simple.c: Likewise.
53876         * iconv/iconv.h: Likewise.
53877         * iconv/loop.c: Likewise.
53878         * iconv/skeleton.c: Likewise.
53879         * include/aio.h: Likewise.
53880         * include/aliases.h: Likewise.
53881         * include/argz.h: Likewise.
53882         * include/arpa/inet.h: Likewise.
53883         * include/assert.h: Likewise.
53884         * include/dirent.h: Likewise.
53885         * include/dlfcn.h: Likewise.
53886         * include/execinfo.h: Likewise.
53887         * include/fcntl.h: Likewise.
53888         * include/fenv.h: Likewise.
53889         * include/glob.h: Likewise.
53890         * include/grp.h: Likewise.
53891         * include/libintl.h: Likewise.
53892         * include/mntent.h: Likewise.
53893         * include/netdb.h: Likewise.
53894         * include/pwd.h: Likewise.
53895         * include/rpc/netdb.h: Likewise.
53896         * include/sched.h: Likewise.
53897         * include/search.h: Likewise.
53898         * include/shadow.h: Likewise.
53899         * include/signal.h: Likewise.
53900         * include/stdio.h: Likewise.
53901         * include/stdlib.h: Likewise.
53902         * include/string.h: Likewise.
53903         * include/sys/socket.h: Likewise.
53904         * include/sys/stat.h: Likewise.
53905         * include/sys/statfs.h: Likewise.
53906         * include/sys/statvfs.h: Likewise.
53907         * include/sys/syslog.h: Likewise.
53908         * include/sys/time.h: Likewise.
53909         * include/sys/uio.h: Likewise.
53910         * include/time.h: Likewise.
53911         * include/unistd.h: Likewise.
53912         * include/utmp.h: Likewise.
53913         * include/wchar.h: Likewise.
53914         * include/wctype.h: Likewise.
53915         * inet/aliases.h: Likewise.
53916         * inet/arpa/inet.h: Likewise.
53917         * inet/netinet/ether.h: Likewise.
53918         * inet/netinet/in.h: Likewise.
53919         * intl/libintl.h: Likewise.
53920         * io/bits/fcntl2.h: Likewise.
53921         * io/fcntl.h: Likewise.
53922         * io/ftw.h: Likewise.
53923         * io/sys/poll.h: Likewise.
53924         * io/sys/stat.h: Likewise.
53925         * io/sys/statfs.h: Likewise.
53926         * io/sys/statvfs.h: Likewise.
53927         * io/utime.h: Likewise.
53928         * libio/bits/stdio.h: Likewise.
53929         * libio/bits/stdio2.h: Likewise.
53930         * libio/libio.h: Likewise.
53931         * libio/libioP.h: Likewise.
53932         * libio/stdio.h: Likewise.
53933         * locale/lc-ctype.c: Likewise.
53934         * locale/locale.h: Likewise.
53935         * login/utmp.h: Likewise.
53936         * malloc/arena.c: Likewise.
53937         * malloc/malloc.c: Likewise.
53938         * malloc/malloc.h: Likewise.
53939         * malloc/mcheck.c: Likewise.
53940         * malloc/mtrace.c: Likewise.
53941         * math/bits/mathcalls.h: Likewise.
53942         * math/fenv.h: Likewise.
53943         * math/math_private.h: Likewise.
53944         * misc/bits/error.h: Likewise.
53945         * misc/bits/syslog.h: Likewise.
53946         * misc/err.h: Likewise.
53947         * misc/error.h: Likewise.
53948         * misc/fstab.h: Likewise.
53949         * misc/mntent.h: Likewise.
53950         * misc/regexp.h: Likewise.
53951         * misc/search.h: Likewise.
53952         * misc/sgtty.h: Likewise.
53953         * misc/sys/mman.h: Likewise.
53954         * misc/sys/syslog.h: Likewise.
53955         * misc/sys/uio.h: Likewise.
53956         * misc/sys/xattr.h: Likewise.
53957         * misc/ttyent.h: Likewise.
53958         * nis/rpcsvc/ypclnt.h: Likewise.
53959         * nss/nss.h: Likewise.
53960         * posix/bits/unistd.h: Likewise.
53961         * posix/fnmatch.h: Likewise.
53962         * posix/glob.h: Likewise.
53963         * posix/sched.h: Likewise.
53964         * posix/spawn.h: Likewise.
53965         * posix/sys/wait.h: Likewise.
53966         * posix/unistd.h: Likewise.
53967         * posix/wordexp.h: Likewise.
53968         * pwd/pwd.h: Likewise.
53969         * resolv/netdb.h: Likewise.
53970         * resource/sys/resource.h: Likewise.
53971         * rt/aio.h: Likewise.
53972         * rt/bits/mqueue2.h: Likewise.
53973         * rt/mqueue.h: Likewise.
53974         * shadow/shadow.h: Likewise.
53975         * signal/signal.h: Likewise.
53976         * socket/send.c: Likewise.
53977         * socket/sendto.c: Likewise.
53978         * socket/sys/socket.h: Likewise.
53979         * stdio-common/printf.h: Likewise.
53980         * stdlib/bits/stdlib.h: Likewise.
53981         * stdlib/fmtmsg.h: Likewise.
53982         * stdlib/monetary.h: Likewise.
53983         * stdlib/stdlib.h: Likewise.
53984         * stdlib/ucontext.h: Likewise.
53985         * streams/stropts.h: Likewise.
53986         * string/argz.h: Likewise.
53987         * string/bits/string2.h: Likewise.
53988         * string/string.h: Likewise.
53989         * string/strings.h: Likewise.
53990         * sunrpc/rpc/auth.h: Likewise.
53991         * sunrpc/rpc/auth_des.h: Likewise.
53992         * sunrpc/rpc/clnt.h: Likewise.
53993         * sunrpc/rpc/netdb.h: Likewise.
53994         * sunrpc/rpc/pmap_clnt.h: Likewise.
53995         * sunrpc/rpc/xdr.h: Likewise.
53996         * sysdeps/generic/inttypes.h: Likewise.
53997         * sysdeps/generic/net/if.h: Likewise.
53998         * sysdeps/generic/sys/swap.h: Likewise.
53999         * sysdeps/gnu/net/if.h: Likewise.
54000         * sysdeps/gnu/utmpx.h: Likewise.
54001         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54002         * sysdeps/i386/i486/bits/string.h: Likewise.
54003         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54004         * sysdeps/s390/bits/string.h: Likewise.
54005         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54006         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54007         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54008         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54009         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54010         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54011         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54012         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54013         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54014         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54015         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54016         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54017         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54018         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54019         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54020         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54021         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54022         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54023         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54024         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54025         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54026         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54027         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54028         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54029         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54030         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54031         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54032         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54033         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54034         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54035         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54036         * sysvipc/sys/ipc.h: Likewise.
54037         * sysvipc/sys/msg.h: Likewise.
54038         * sysvipc/sys/sem.h: Likewise.
54039         * sysvipc/sys/shm.h: Likewise.
54040         * termios/termios.h: Likewise.
54041         * time/sys/time.h: Likewise.
54042         * time/time.h: Likewise.
54043         * wcsmbs/bits/wchar2.h: Likewise.
54044         * wcsmbs/uchar.h: Likewise.
54045         * wcsmbs/wchar.h: Likewise.
54046         * wctype/wctype.h: Likewise.
54048         [BZ #13551]
54049         * Makeconfig: Remove all but ELF support including AIX support.
54050         * Makerules: Likewise.
54051         * config.h.in: Likewise.
54052         * config.make.in: Likewise.
54053         * configure: Likewise.
54054         * configure.in: Likewise.
54055         * csu/Makefile: Likewise.
54056         * csu/version.c: Likewise.
54057         * debug/Makefile: Likewise.
54058         * dlfcn/Makefile: Likewise.
54059         * elf/Makefile: Likewise.
54060         * extra-lib.mk: Likewise.
54061         * iconv/Makefile: Likewise.
54062         * include/libc-symbols.h: Likewise.
54063         * include/shlib-compat.h: Likewise.
54064         * resolv/Makefile: Likewise.
54065         * resolv/res_libc.c: Likewise.
54066         * rt/Makefile: Likewise.
54067         * sysdeps/i386/asm-syntax.h: Likewise.
54068         * sysdeps/i386/sysdep.h: Likewise.
54069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54070         * sysdeps/mach/sysdep.h: Likewise.
54071         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54072         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54073         * sysdeps/s390/asm-syntax.h: Likewise.
54074         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54075         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54076         * sysdeps/sh/sysdep.h: Likewise.
54077         * sysdeps/unix/sparc/sysdep.h: Likewise.
54078         * sysdeps/wordsize-32/divdi3.c: Likewise.
54079         * sysdeps/x86_64/sysdep.h: Likewise.
54081         * argp/Versions: Remove _argp_unlock_xxx.
54083         [BZ #13559]
54084         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54085         * abilist/libBrokenLocale.abilist: Likewise.
54086         * abilist/libanl.abilist: Likewise.
54087         * abilist/libc.abilist: Likewise.
54088         * abilist/libcrypt.abilist: Likewise.
54089         * abilist/libdl.abilist: Likewise.
54090         * abilist/libm.abilist: Likewise.
54091         * abilist/libnsl.abilist: Likewise.
54092         * abilist/libpthread.abilist: Likewise.
54093         * abilist/libresolv.abilist: Likewise.
54094         * abilist/librt.abilist: Likewise.
54095         * abilist/libthread_db.abilist: Likewise.
54096         * abilist/libutil.abilist: Likewise.
54097         * abilist/libnss_db.abilist: New file.
54099         * scripts/abilist.awk: Add support for indirect functions.
54101         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54103         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54105         * shlib-versions: Remove entries for ports architectures.
54107         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54108         files in ports.
54109         * elf/stackguard-macros.h: Remove support for IA-64.
54110         * elf/tst-auditmod1.c: Likewise.
54111         * sysdeps/generic/ldsodefs.h: Likewise.
54113         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54114         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54115         configure files.
54117         [BZ #13552]
54118         * configure.in: Remove --enable-omitfp support.
54119         * FAQ.in: Adjust.
54120         * config.make.in: Likewise.
54121         * Makeconfig: Likewise.
54122         * manual/install.texi: Likewise.
54124         In case anyone cares, the IA-64 architecture could move to ports.
54125         * sysdeps/ia64/*: Removed.
54126         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54127         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54129         [BZ #13555]
54130         * configure.in: Remove entries for unsupported architectures.
54132         [BZ #13533]
54133         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54134         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54135         routines.
54136         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54137         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54138         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54139         fall back to using wcrtomb.
54140         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54141         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54142         renaming.
54143         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54144         * wcsmbs/tst-c16c32-1.c: New file.
54146         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54147         local variable.
54149         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54151         * elf/tst-unique3.cc: Add explicit declaration of gets.
54152         * elf/tst-unique3lib.cc: Likewise.
54153         * elf/tst-unique3lib2.cc: Likewise.
54154         * elf/tst-unique4.cc: Likewise.
54156         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54158 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54160         [BZ #13566]
54161         * assert/assert.h (static_assert): Don't define for C++.
54162         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54163         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54165 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54167         * iconv/loop.c (single loop): Fix assertion in storing of
54168         remaining bytes.
54170         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54172 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54174         * posix/getconf.c: Update copyright year.
54175         * nss/getent.c: Likewise.
54176         * nss/makedb.c: Likewise.
54177         * iconv/iconvconfig.c: Likewise.
54178         * iconv/iconv_prog.c: Likewise.
54179         * elf/ldconfig.c: Likewise.
54180         * elf/pldd.c: Likewise.
54181         * elf/sotruss.ksh: Likewise.
54182         * catgets/gencat.c: Likewise.
54183         * csu/version.c: Likewise.
54184         * elf/ldd.bash.in: Likewise.
54185         * elf/sprof.c (print_version): Likewise.
54186         * locale/programs/locale.c: Likewise.
54187         * locale/programs/localedef.c: Likewise.
54188         * login/programs/pt_chown.c: Likewise.
54189         * nscd/nscd.c (print_version): Likewise.
54190         * debug/xtrace.sh: Likewise.
54191         * malloc/memusage.sh: Likewise.
54192         * malloc/mtrace.pl: Likewise.
54193         * debug/catchsegv.sh: Likewise.
54195 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54197         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54198         pure attribute.
54200 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54202         [BZ #13533]
54203         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54204         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54205         transformations.
54206         * iconv/gconv_int.h: Likewise.
54207         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54208         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54209         from libc for GLIBC_2.16.
54210         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54211         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54212         * wcsmbs/uchar.h: Really define mbstate_t.
54213         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54214         * wcsmbs/c16rtomb.c: New file.
54215         * wcsmbs/mbrtoc16.c: New file.
54216         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54217         for C/POSIX locale.
54218         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54219         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54221         * wcsmbs/wchar.h: Add missing __restrict.
54223 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54225         [BZ #13532]
54226         * time/Makefile (routines): Add timespec_get.
54227         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54228         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54229         timespec for ISO C11.
54230         * time/timespec_get.c: New file.
54231         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54232         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54234         [BZ #13531]
54235         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54236         * stdlib/stdlib.h: Declare aligned_alloc.
54237         * Versions.def: Add GLIBC_2.16 for libc.
54238         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54240         [BZ 13527]
54241         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54242         ISO C11.
54244         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54245         code.
54247         [BZ #13528]
54248         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54250         [BZ #13529]
54251         * assert/assert.h (static_assert): Define.
54253         * version.h: Update for 2.16 development version.
54255         [BZ #13526]
54256         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54257         _ISOC11_SOURCE.
54259         * version.h (RELEASE): Bump for 2.15 release.
54260         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54262         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54263         Patch by Marek Polacek <mpolacek@redhat.com>.
54265         * bits/byteswap.h: Protect long long constants with __extension__.
54266         * sysdeps/i386/bits/byteswap.h: Likewise.
54267         * sysdeps/ia64/bits/byteswap.h: Likewise.
54268         * sysdeps/s390/bits/byteswap.h: Likewise.
54269         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54271 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54273         [BZ #13540]
54274         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54275         destination buffer.
54276         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54278 2011-12-23  Marek Polacek  <polacek@redhat.com>
54280         * elf/dl-addr.c (determine_info): Add inline keyword.
54281         * elf/tst-auditmod4b.c (check_avx): Likewise.
54282         * elf/tst-auditmod6b.c (check_avx): Likewise.
54283         * elf/tst-auditmod6c.c (check_avx): Likewise.
54284         * elf/tst-auditmod7b.c (check_avx): Likewise.
54286 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54288         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54289         !__SSE_MATH__.
54291 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54293         [BZ #13540]
54294         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54295         processing for last bytes.
54297 2011-08-06  Bruno Haible  <bruno@clisp.org>
54299         [BZ #13061]
54300         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54301         U+0385, not to U+1FEE.
54303         [BZ #13062]
54304         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54305         entry for U+00A5 U+0301.
54307 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54309         [BZ #13166]
54310         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54311         buffer for the output is too small.
54313         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54314         optimization.
54316         [BZ #13185]
54317         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54318         SSE flags if possible.
54320 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54322         [BZ #13540]
54323         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54324         processing for last bytes.
54326 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54328         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54329         (syscall-list-default-options, syscall-list-default-condition)
54330         (syscall-list-includes): Define.
54331         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54332         list of ABIs and options and #if conditions for each ABI.  Do not
54333         handle common syscalls between ABIs specially.
54334         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54335         Remove.
54336         (syscall-list-variants, syscall-list-32bit-options)
54337         (syscall-list-32bit-condition, syscall-list-64bit-options)
54338         (syscall-list-64bit-condition): Define.
54339         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54340         (syscall-list-variants, syscall-list-32bit-options)
54341         (syscall-list-32bit-condition, syscall-list-64bit-options)
54342         (syscall-list-64bit-condition): Define.
54343         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54344         Remove.
54345         (syscall-list-variants, syscall-list-32bit-options)
54346         (syscall-list-32bit-condition, syscall-list-64bit-options)
54347         (syscall-list-64bit-condition): Define.
54348         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54349         Remove.
54350         (syscall-list-variants, syscall-list-32bit-options)
54351         (syscall-list-32bit-condition, syscall-list-64bit-options)
54352         (syscall-list-64bit-condition): Define.
54354 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54356         * locale/iso-639.def: Add brx entry.
54358         [BZ #13328]
54359         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54360         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54362         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54363         __feraiseexcept_renamed.
54365 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54367         [BZ #13538]
54368         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54369         EPOLLET with unsigned values.
54370         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54371         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54373         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54374         to large cancellation.
54375         * math/s_cacoshf.c: Likewise.
54376         * math/s_cacoshl.c: Likewise.
54378 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54380         [BZ #13305]
54381         [BZ #12786]
54382         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54383         * math/s_cacoshf.c: Likewise.
54384         * math/s_cacoshl.c: Likewise.
54386 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54388         [BZ #13439]
54389         * iconv/gconv.h: Define __GCONV_SWAP.
54390         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54391         * iconvdata/utf-16.c: Likewise.
54392         * iconvdata/utf-32.c: Likewise.
54394 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54396         [BZ #13524]
54397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54398         numerator after shifting it by one limb.
54400 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54402         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54403         under [__USE_EXTERN_INLINES].
54405 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54407         [BZ #13446]
54408         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54410 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54412         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54413         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54414         optimized code.
54415         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54416         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54417         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54418         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54419         for strncasecmp/strncasecmp_l compilation.
54420         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54421         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54423 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54425         [BZ #13484]
54426         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54427         of __asm__.
54429 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54431         [BZ #13506]
54432         * time/tzfile.c (__tzfile_read): Check values from file header.
54434 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54436         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54437         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54438         * powerpc/powerpc32/dl-start.S: Likewise.
54439         * powerpc/powerpc32/elf/start.S: Likewise.
54440         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54441         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54442         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54443         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54444         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54445         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54446         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54447         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54448         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54449         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54450         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54451         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54452         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54453         * powerpc/powerpc32/memset.S: Likewise.
54454         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54455         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54456         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54457         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54458         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54459         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54460         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54461         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54462         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54463         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54464         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54465         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54466         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54468 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54470         * math/libm-test.inc: Added more nearbyint tests.
54471         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54472         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54473         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54476 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54478         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54479         FD_CLOEXEC.
54481 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54483         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54484         Add wcscpy-ssse3 wcscpy-c.
54485         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54486         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54487         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54488         * sysdeps/x86_64/wcschr.S: New file.
54489         * sysdeps/x86_64/wcsrchr.S: New file.
54490         * string/test-strcmp.c: Remove checking of wcscmp function for
54491         wrong alignments.
54492         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54493         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54494         wcsrchr-sse2 wcsrchr-c.
54495         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54496         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54497         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54498         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54499         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54500         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54501         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54502         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54503         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54504         * wcsmbc/wcschr.c (WCSCHR): New macro.
54506 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54508         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54509         * wcsmbs/test-wcsrchr.c: New file.
54510         * string/test-strrchr.c: Add wcsrchr support.
54511         (WIDE): New macro.
54512         * wcsmbs/test-wcscpy.c: New file.
54513         * string/test-strcpy.c: Add wcscpy support.
54514         (WIDE): New macro.
54516 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54518         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54519         the inner loop.
54521 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54523         [BZ #13472]
54524         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54526 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54528         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54529         Minor optimizations.
54531         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54532         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54533         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54535 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54537         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54538         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54539         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54540         for gcc to avoid warnings.
54541         * inet/Makefile (tests): Add tst-checks.
54542         * inet/tst-checks.c: New file.
54544         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54545         warning.
54547         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54548         __wmemcmp_sse2.
54550         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54551         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54553         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54555 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54557         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54558         problem.
54560         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54562 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54564         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54565         conditional on GCC version.
54566         (__arch_compare_and_exchange_val_8_acq)
54567         (__arch_compare_and_exchange_val_16_acq)
54568         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54569         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54570         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54572 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54574         * sysdeps/sh/backtrace.c: New file.
54576 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54578         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54579         parenthesis.
54581 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54583         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54584         falling back to utime.
54586 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54588         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54589         expectations for float.
54591 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54593         * locale/weight.h (findidx): Add parameter len.
54594         * locale/weightwc.h (findidx): Likewise.
54595         * posix/fnmatch_loop.c (FCT): Adjust caller.
54596         * posix/regcomp.c (build_equiv_class): Likewise.
54597         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54598         * posix/regexec.c (check_node_accept_bytes): Likewise.
54599         * string/strcoll_l.c (STRCOLL): Likewise.
54600         * string/strxfrm_l.c (STRXFRM): Likewise.
54602 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54604         * Makefile.in: Remove CVSOPT handling.
54605         * configure.in: Remove use of AC_REVISION.
54606         * iconvdata/Makefile (distribute): No need to filter out CVS.
54607         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54608         handling.
54610 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54613         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54614         [USE_AS_STRNCASECMP_L]: Likewise.
54615         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54616         NO_TLS_DIRECT_SEG_REFS.
54617         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54618         Fix argument offsets for non-PIC.
54619         [USE_AS_STRNCASECMP_L]: Likewise.
54620         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54621         NO_TLS_DIRECT_SEG_REFS.
54623 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54625         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54626         O_CLOEXEC.
54627         * locale/loadlocale.c (_nl_load_locale): Likewise.
54629 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54631         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54632         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54633         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54634         (SYSCALL_GETTIME): Set errno on error.
54636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54637         count references to noai6ai_cached.
54639 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54641         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54643         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54644         FD_CLOEXEC for /proc/self/maps.
54646         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54647         FD_CLOEXEC for /proc/meminfo.
54649         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54650         gai.conf.
54652         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54653         FD_CLOEXEC for given file.
54655         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54657         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54658         FD_CLOEXEC for /etc/hosts.
54659         (_gethtent): Likewise.
54661         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54663         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54664         cancellation and set FD_CLOEXEC for /etc/netgroup.
54666         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54667         reading /etc/publickey.
54669         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54670         allow cancellation when reading /etc/group.
54672         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54673         cancellation.
54674         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54676         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54677         when using data file.
54679         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54681         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54682         (write_nis_obj): Use "c" and "e" in fopen.
54684         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54686         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54688         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54690         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54692         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54693         locale.alias.
54695         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54697         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54699         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54701         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54702         file parsing and set FD_CLOEXEC.
54704 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54706         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54708 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54710         * malloc/arena.c (arena_get2): Don't call reused_arena when
54711         _int_new_arena failed.
54713 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54715         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54716         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54717         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54718         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54719         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54720         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54721         to compile strcasecmp and strncasecmp.
54722         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54723         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54725         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54727 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54729         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54730         locale-defines.sym to gen-as-const-headers.
54731         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54732         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54733         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54734         to compile strcasecmp and strncasecmp.
54735         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54736         strcasecmp_l and strncasecmp_l.
54737         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54738         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54739         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54740         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54741         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54742         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54743         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54744         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54745         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54746         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54747         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54749 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54751         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54752         result of SYSDEP_GETTIME_CPU to retval.
54753         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54754         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54756         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54757         variable.
54759         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54760         mantissa words.
54761         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54763         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54764         from unused variable.
54766         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54767         DWARF definitions.
54768         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54769         for assembling.
54771         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54772         over namespaces.
54774         * sunrpc/rpc_prot.c (rejected): Fix case value.
54776         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54777         unsigned long long int to avoid warnings in shift.
54779         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54780         of use of trans.
54781         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54782         variable tmp.
54784         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54785         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54786         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54788         * nis/nis_table.c (nis_list): Use variable of correct type for
54789         result of __follow_path call.
54791 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54793         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54794         of math functions ceil, trunc, floor, round, and sqrt, when
54795         avaliable on the platform.
54796         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54797         name clash.
54798         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54799         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54800         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54802 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54804         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54805         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54807 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54809         * include/unistd.h: Fix __readlink return type.
54810         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54812 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54814         * stdlib/ucontext.h: Undo last change for makecontext.
54816 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54818         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54820         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54821         * setjmp/setjmp.h: Mark functions as non-leaf.
54822         * setjmp/bits/setjmp2.h: Likewise.
54823         * stdlib/ucontext.h: Likewise.
54825 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54827         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54828         (reused_arena): Don't check arena limit.
54829         (arena_get2): Atomically check arena limit.
54831 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54833         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54834         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54837         instructions.
54839 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54841         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54842         handler when locking.
54844         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54845         Fix size of allocated buffer.
54847 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54849         [BZ #10103]
54850         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54851         declarations for long double functions.
54852         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54854         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54856 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54858         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54859         installed.
54861         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54862         is disabled.
54864 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54866         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54868 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54870         * include/alloca.h (stackinfo_alloca_round): Define.
54871         (extend_alloca): Use it.
54872         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54873         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54874         here.
54876         * scripts/check-local-headers.sh: Ignore libaudit.h.
54878         * nscd/Makefile (extra-objs): Make recursively expanded.
54880 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54882         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54883         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54885         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54886         * posix/tst-rfc3484-2.c: Likewise.
54887         * posix/tst-rfc3484-3.c: Likewise.
54889         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54890         process_vm_writev.
54891         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54892         process_vm_writev.
54893         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54894         process_vm_writev from libc using GLIBC_2.15 version.
54896         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54898 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54900         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54901         stack usage.
54903 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54905         [BZ #13367]
54906         * nss/getent.c (initgroups_keys): Show error message in case no group
54907         names are given.
54909         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54910         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54911         __bump_nl_timestamp.
54912         * nscd/connections (nscd_init): When host database is served open
54913         netlink socket and request notification about configuration changes.
54914         (main_loop_poll): Track netlink file descriptor and bump timestamp
54915         in case data becomes available.
54916         (main_loop_epoll): Likewise.
54917         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54918         (database_pers_head): Add extra_data fileds.
54919         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54920         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54921         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54922         Adjust caller.
54923         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54924         in6ai data, call __free_in6ai.
54925         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54926         Add -DHAVE_NETLINK.
54927         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54928         interface information.  Reuse previous data if netlink timestamp
54929         is not changed.
54930         (__bump_nl_timestamp): New function.
54931         (__free_in6ai): New function.
54933 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54935         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54936         close_not_cancel_no_status here.
54937         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54939 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54941         [BZ #13276]
54942         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54943         return value.
54945         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54946         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54947         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54949 2011-07-03  Andreas Jaeger  <aj@suse.de>
54951         [BZ #10709]
54952         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54953         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54954         * math/libm-test.inc (sin_test): Add test case.
54956 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54958         [BZ #13337]
54959         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54960         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54962         * elf/chroot_canon.c (chroot_canon): Cleanups.
54964         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54966         [BZ #13335]
54967         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54968         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54970         * string/test-strchr.c: Make usable for strchrnul testing.
54971         * string/test-strchrnul.c: New file.
54972         * string/Makefile (strop-tests): Add strchrnul.
54974         * po/it.po: Update from translation team.
54975         * po/es.po: Likewise.
54977 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54980         the three constants needed as parameters.  Drop the others.
54981         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54982         __m128i_strloadu_tolower.
54983         Create and initialize variable zero and use it in all the places
54984         where _mm_setzero_si128 was used.
54986         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54987         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54988         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54989         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54990         anymore.
54991         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54992         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54993         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54994         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54995         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54996         __mpranred, __mptan.
54997         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54998         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54999         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55000         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55001         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55002         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55003         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55004         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55005         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55007 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55009         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55010         redefine if SHARED.
55011         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55013         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55014         wide char related routines to wcsmbs subdir.
55016 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55018         [BZ #13344]
55019         * misc/sys/cdefs.h (__THROWNL): Define.
55020         * posix/unistd.h: Use __THREADNL instead of __THREAD
55021         for memory synchronization functions.
55023 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55025         [BZ #13349]
55026         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55027         doesn't exist.
55028         * manual/stdio.texi (Obstack Streams): Node removed.
55030 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55032         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55033         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55034         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55036         * math/math_private.h (math_force_eval): Allow non-addressable
55037         arguments.
55038         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55040 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55042         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55043         file is not needed.
55045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55046         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55048         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55049         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55050         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55051         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55052         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55053         Add AVX variants.
55054         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55055         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55056         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55057         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55058         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55059         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55060         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55061         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55062         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55063         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55064         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55065         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55066         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55067         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55068         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55069         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55070         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55071         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55072         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55074         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55075         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55077         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55078         place.  Use VEX encoding when compiling for AVX.
55080 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55082         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55083         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55085         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55087 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55089         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55090         useless if() expression.
55091         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55092         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55093         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55094         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55096         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55097         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55098         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55099         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55100         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55101         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55102         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55103         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55104         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55105         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55106         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55107         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55109         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55111         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55113 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55115         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55116         condition.
55117         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55119 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55121         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55122         .text section.  Avoid duplicate constants.
55123         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55124         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55125         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55127         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55128         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55129         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55131         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55132         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55133         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55134         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55135         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55136         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55137         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55138         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55139         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55140         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55141         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55142         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55143         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55144         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55146         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55147         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55148         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55149         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55150         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55151         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55152         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55153         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55154         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55155         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55156         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55157         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55158         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55159         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55160         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55161         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55162         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55163         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55164         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55165         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55166         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55167         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55169 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55171         * sysdeps/x86_64/dla.h: Move to ...
55172         * sysdeps/x86_64/fpu/dla.h: ...here.
55173         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55174         situations.  Use __builtin_fma only for gcc 4.6 and up.
55176         * config.make.in: Add have-mfma4 entry.
55177         * configure.in: Substitute libc_cv_cc_fma4.
55178         * math/Makefile (dbl-only-routines): Add sincostab.
55179         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55180         Use __sincostab not sincos.
55181         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55182         name is a macro.
55183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55186         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55187         using __copysign.
55188         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55189         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55190         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55191         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55192         and __inv.
55193         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55194         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55195         __copysign.
55196         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55197         define aliases when function name is a macro.
55198         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55199         sysdeps/ieee754/dbl-64/sincos.tbl.
55200         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55201         fma4-enabled routines.
55202         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55203         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55204         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55205         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55206         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55207         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55208         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55209         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55210         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55211         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55212         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55213         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55214         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55215         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55216         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55217         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55218         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55219         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55220         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55221         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55222         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55223         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55224         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55225         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55226         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55227         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55228         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55229         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55230         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55231         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55233         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55234         rename.
55235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55236         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55237         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55241         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55242         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55244 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55246         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55248 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55250         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55252         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55253         prediction.
55254         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55256         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55257         Remove unused variable magic_bits.
55258         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55260         * string/strnlen.c: Define and use STRNLEN macro.
55261         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55262         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55263         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55264         * wcsmbs/wcslen.c: Define and use WCSLEN.
55265         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55266         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55267         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55268         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55269         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55270         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55271         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55273 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55276         strnlen-sse2-no-bsf.
55277         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55278         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55279         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55280         Add strnlen support.
55281         (USE_AS_STRNLEN): New macro.
55282         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55283         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55284         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55285         * sysdeps/x86_64/wcslen.S: New file.
55287 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55290         XMM-moves are used for copying on small sizes.
55292 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55294         * wcsmbs/Makefile (strop-tests): Add wcschr.
55295         * wcsmbs/test-wcschr.c: New file.
55296         * string/test-strchr.c: Update.
55297         Add wcschr support.
55298         (WIDE): New macro.
55300 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55302         * wcsmbs/Makefile (strop-tests): Add wcslen.
55303         * wcsmbs/test-wcslen.c: New file.
55304         * string/test-strlen.c: Update.
55305         Add wcslen support.
55306         (WIDE): New macro.
55308 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55310         * po/it.po: Update from translation team.
55312 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55314         * sysdeps/x86_64/wcscmp.S: Update.
55315         Fix wrong comparison semantics.
55316         wcscmp shall use signed comparison not unsigned.
55317         Don't use substraction to avoid overflow bug.
55318         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55319         * wcsmbc/wcscmp.c: Likewise.
55320         * string/test-strcmp.c: Likewise.
55321         Add new tests to check cases with negative values.
55323 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55325         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55326         * sysdeps/x86_64/dla.h: ...here.  New file.
55327         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55332         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55334         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55335         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55337 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55339         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55340         __ynl_finite aliases.
55342 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55346         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55347         define DLA_FMA.
55348         [DLA_FMA] (EMULV): Use DLA_FMA.
55349         [DLA_FMA] (MUL12): Use EMULV.
55350         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55351         that are not needed.
55352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55357         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55360 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55362         * math/s_nan.c: Undef __nan.
55363         * math/s_nanf.c: Undef __nanf.
55364         * math/s_nanl.c: Undef __nanl.
55365         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55366         "math_private.h".
55368 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55370         * math/s_catan.c: Add branch predictions.
55371         * math/s_catanf.c: Likewise.
55372         * math/s_catanh.c: Likewise.
55373         * math/s_catanhf.c: Likewise.
55374         * math/s_catanhl.c: Likewise.
55375         * math/s_catanl.c: Likewise.
55376         * math/s_cexp.c: Likewise.
55377         * math/s_cexpf.c: Likewise.
55378         * math/s_cexpl.c: Likewise.
55379         * math/s_clog.c: Likewise.
55380         * math/s_clog10.c: Likewise.
55381         * math/s_clog10f.c: Likewise.
55382         * math/s_clog10l.c: Likewise.
55383         * math/s_clogf.c: Likewise.
55384         * math/s_clogl.c: Likewise.
55385         * math/s_csqrt.c: Likewise.
55386         * math/s_csqrtf.c: Likewise.
55387         * math/s_csqrtl.c: Likewise.
55388         * math/s_ctanf.c: Likewise.
55389         * math/s_ctanh.c: Likewise.
55390         * math/s_ctanhf.c: Likewise.
55391         * math/s_ctanhl.c: Likewise.
55392         * math/s_ctanl.c: Likewise.
55394         * math/math_private.h: Define __nan, __nanf, __nanl.
55395         * math/s_cacosh.c: Include <math_private.h>.
55396         * math/s_cacoshl.c: Likewise.
55397         * math/s_casinh.c: Likewise.
55398         * math/s_casinhf.c: Likewise.
55399         * math/s_casinhl.c: Likewise.
55400         * math/s_ccos.c: Rely entire on ccosh.
55401         * math/s_ccosf.c: Rely entire on ccoshf.
55402         * math/s_ccosl.c: Rely entirely on ccoshl.
55403         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55404         Remove tests for FE_INVALID.
55405         * math/s_ccoshf.c: Likewise.
55406         * math/s_ccoshl.c: Likewise.
55407         * math/s_csin.c: Likewise.
55408         * math/s_csinf.c: Likewise.
55409         * math/s_csinh.c Likewise.
55410         * math/s_csinhf.c: Likewise.
55411         * math/s_csinhl.c: Likewise.
55412         * math/s_csinl.c: Likewise.
55413         * math/s_ctan.c: Likewise.
55414         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55415         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55416         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55418 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55421         compilation problems.
55423         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55424         __builtin_expect.
55426 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55428         * sysdeps/i386/configure.in: Test for -mfma4 option.
55429         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55430         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55431         COMMON_CPUID_INDEX_80000001.
55432         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55433         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55434         use it if FMA3 is not supported.
55435         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55437         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55438         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55440 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55442         [BZ #12892]
55443         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55444         it would create a cycle with a link time dependency.
55446 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55448         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55449         instruction.
55450         * string/Makefile (strop-tests): Add rawmemchr.
55451         * string/test-rawmemchr.c: New file.
55453         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55454         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55455         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55456         when compiling str{,n}casecmp and when AVX is available.  Hook up
55457         new optimized code in initializers.
55459 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55461         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55462         __feraiseexcept instead of feraiseexcept.
55464 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55466         * math/math_private.h: Define defaults for libc_fetestexcept and
55467         libc_feupdateenv.
55468         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55469         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55470         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55471         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55472         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55473         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55474         libc_fetestexcept and libc_feupdateenv.
55476         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55477         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55478         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55479         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55480         libc_feholdexcept_setround.
55482         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55483         Add s_nearbyint-c and s_nearbyintf-c.
55484         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55485         nearbyintf inlines.
55486         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55487         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55488         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55489         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55491         * math/math_private.h: Define defaults for libc_fegetround,
55492         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55493         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55494         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55495         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55496         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55497         standard functions.
55498         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55499         Remove comments and hacks for old compiler versions.
55500         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55501         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55502         libc_feholdexceptl.
55504 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55506         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55507         (__feraiseexcept_renamed): Add __NTH.
55508         (feraiseexcept): Add __NTH.  Rename local variables to fix
55509         namespace violations.
55511 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55515         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55517         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55518         recently added interfaces.
55519         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55521         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55522         about macro parameter expansion.
55524         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55525         __NO_MATH_INLINES is defined.  Cleanups.
55527         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55528         and __floorf is target has SSE4.1.
55529         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55530         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55531         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55532         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55534         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55535         name.
55536         (floorf): Likewise.
55538         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55540 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55542         * misc/sys/cdefs.h: Fix last change.
55544         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55545         database lookup.
55547 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55549         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55551         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55552         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55553         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55554         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55555         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55557         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55558         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55559         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55560         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55561         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55562         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55563         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55564         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55565         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55566         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55567         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55568         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55569         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55570         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55571         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55572         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55574         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55575         ceil, ceilf, floor, floorf.
55577         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55578         Perform IRELATIVE relocations last.
55580         * elf/do-rel.h: Add another parameter nrelative, replacing the
55581         local variable with the same name.  Change name of the function
55582         to end in Rel or Rela (uppercase).
55583         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55584         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55585         elf_dynamic_do_##reloc function.
55587 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55589         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55590         is sufficient, at least on modern CPUs.
55592         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55594         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55595         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55597         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55598         __expl_finite.
55599         * math/bits/math-finite.h: Add entries for exp.
55600         * math/e_expl.c: Add __*_finite alias.
55601         * sysdeps/i386/fpu/e_exp.S: Likewise.
55602         * sysdeps/i386/fpu/e_expf.S: Likewise.
55603         * sysdeps/i386/fpu/e_expl.c: Likewise.
55604         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55605         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55606         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55608         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55609         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55610         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55612         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55613         is sufficient, at least on modern CPUs.
55615         * ctype/ctype-info.c (__ctype_init): Define.
55616         * include/ctype.h (__ctype_init): Declare.
55617         (__ctype_b_loc): The variable is always initialized.
55618         (__ctype_toupper_loc): Likewise.
55619         (__ctype_tolower_loc): Likewise.
55620         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55621         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55623 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55625         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55627         * configure.in: Also look in $cxxmachine/include for C++ system
55628         headers.
55630 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55632         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55633         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55634         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55635         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55636         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55637         (USE_AS_WMEMCMP): New macro.
55638         Fixing indents.
55639         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55640         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55641         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55642         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55643         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55644         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55645         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55646         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55647         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55648         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55649         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55650         (USE_AS_WMEMCMP): New macro.
55651         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55652         * sysdeps/string/test-memcmp.c: Update.
55653         Fix simple_wmemcmp.
55654         Add new tests.
55655         * wcsmbs/wmemcmp.c: Update.
55656         (WMEMCMP): New macro.
55657         Fix overflow bug.
55659 2011-10-12  Andreas Jaeger  <aj@suse.de>
55661         [BZ #13268]
55662         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55664 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55666         * libio/iofwide.c (do_length): Avoid warning.
55668         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55670 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55672         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55674         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55675         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55676         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55677         * sysdeps/i386/i686/fpu/e_log.S: New file.
55678         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55679         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55681         * ctype/ctype.h: Add support for inlined isXXX functions when
55682         compiling C++ code.
55684 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55686         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55688         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55690 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55692         [BZ #13291]
55693         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55695 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55697         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55698         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55699         feraiseexcept.
55701         * sysdeps/x86_64/memrchr.S: Check for zero size.
55703         * string/stratcliff.c: Add memrchr tests.
55705 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55708         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55709         rawmemchr-sse2 rawmemchr-sse2-bsf.
55710         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55711         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55712         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55713         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55714         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55715         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55716         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55717         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55718         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55719         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55720         * string/memrchr.c (MEMRCHR): New macro.
55722 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55724         Add integration with gcc's -ffinite-math-only and optimize wrapper
55725         functions in libm.
55726         * Versions.def: Define GLIBC_2.15 version for libm.
55727         * math/Makefile (headers): Add bits/math-finite.h.
55728         * math/bits/math-finite.h: New file.
55729         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55730         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55731         * math/e_acoshl.c: Add __*_finite alias.
55732         * math/e_acosl.c: Likewise.
55733         * math/e_asinl.c: Likewise.
55734         * math/e_atan2l.c: Likewise.
55735         * math/e_atanhl.c: Likewise.
55736         * math/e_coshl.c: Likewise.
55737         * math/e_exp10.c: Likewise.
55738         * math/e_exp10f.c: Likewise.
55739         * math/e_exp10l.c: Likewise.
55740         * math/e_exp2l.c: Likewise.
55741         * math/e_fmodl.c: Likewise.
55742         * math/e_gammal_r.c: Likewise.
55743         * math/e_hypotl.c: Likewise.
55744         * math/e_j0l.c: Likewise.
55745         * math/e_j1l.c: Likewise.
55746         * math/e_jnl.c: Likewise.
55747         * math/e_lgammal_r.c: Likewise.
55748         * math/e_log10l.c: Likewise.
55749         * math/e_log2l.c: Likewise.
55750         * math/e_logl.c: Likewise.
55751         * math/e_powl.c: Likewise.
55752         * math/e_sinhl.c: Likewise.
55753         * math/e_sqrtl.c: Likewise.
55754         * math/e_scalb.c: Completely rewritten and optimized.
55755         * math/e_scalbf.c: Likewise.
55756         * math/e_scalbl.c: Likewise.
55757         * math/w_acos.c: Likewise.
55758         * math/w_acosf.c: Likewise.
55759         * math/w_acosl.c: Likewise.
55760         * math/w_acosh.c: Likewise.
55761         * math/w_acoshf.c: Likewise.
55762         * math/w_acoshl.c: Likewise.
55763         * math/w_asin.c: Likewise.
55764         * math/w_asinf.c: Likewise.
55765         * math/w_asinl.c: Likewise.
55766         * math/w_atan2.c: Likewise.
55767         * math/w_atan2f.c: Likewise.
55768         * math/w_atan2l.c: Likewise.
55769         * math/w_atanh.c: Likewise.
55770         * math/w_atanhf.c: Likewise.
55771         * math/w_atanhl.c: Likewise.
55772         * math/w_exp10.c: Likewise.
55773         * math/w_exp10f.c: Likewise.
55774         * math/w_exp10l.c: Likewise.
55775         * math/w_fmod.c: Likewise.
55776         * math/w_fmodf.c: Likewise.
55777         * math/w_fmodl.c: Likewise.
55778         * math/w_j0.c: Likewise.
55779         * math/w_j0f.c: Likewise.
55780         * math/w_j0l.c: Likewise.
55781         * math/w_j1.c: Likewise.
55782         * math/w_j1f.c: Likewise.
55783         * math/w_j1l.c: Likewise.
55784         * math/w_jn.c: Likewise.
55785         * math/w_jnf.c: Likewise.
55786         * math/w_log.c: Likewise.
55787         * math/w_logf.c: Likewise.
55788         * math/w_logl.c: Likewise.
55789         * math/w_log10.c: Likewise.
55790         * math/w_log10f.c: Likewise.
55791         * math/w_log10l.c: Likewise.
55792         * math/w_log2.c: Likewise.
55793         * math/w_log2f.c: Likewise.
55794         * math/w_log2l.c: Likewise.
55795         * math/w_pow.c: Likewise.
55796         * math/w_powf.c: Likewise.
55797         * math/w_powl.c: Likewise.
55798         * math/w_remainder.c: Likewise.
55799         * math/w_remainderf.c: Likewise.
55800         * math/w_remainderl.c: Likewise.
55801         * math/w_scalb.c: Likewise.
55802         * math/w_scalbf.c: Likewise.
55803         * math/w_scalbl.c: Likewise.
55804         * math/w_sqrt.c: Likewise.
55805         * math/w_sqrtf.c: Likewise.
55806         * math/w_sqrtl.c: Likewise.
55807         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55808         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55809         used.
55810         * math/math_private.h: Declare __kernel_standard_f.
55811         * math/w_cosh.c: Remove cruft and optimize a bit.
55812         * math/w_coshf.c: Likewise.
55813         * math/w_coshl.c: Likewise.
55814         * math/w_exp2.c: Likewise.
55815         * math/w_exp2f.c: Likewise.
55816         * math/w_exp2l.c: Likewise.
55817         * math/w_hypot.c: Likewise.
55818         * math/w_hypotf.c: Likewise.
55819         * math/w_hypotl.c: Likewise.
55820         * math/w_lgamma.c: Likewise.
55821         * math/w_lgamma_r.c: Likewise.
55822         * math/w_lgammaf.c: Likewise.
55823         * math/w_lgammaf_r.c: Likewise.
55824         * math/w_lgammal.c: Likewise.
55825         * math/w_lgammal_r.c: Likewise.
55826         * math/w_sinh.c: Likewise.
55827         * math/w_sinhf.c: Likewise.
55828         * math/w_sinhl.c: Likewise.
55829         * math/w_tgamma.c: Likewise.
55830         * math/w_tgammaf.c: Likewise.
55831         * math/w_tgammal.c: Likewise.
55832         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55833         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55834         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55835         Minor optimizations.  Pretty printing.  Remove cruft.
55836         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55838         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55839         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55840         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55841         * sysdeps/i386/fpu/e_asin.S: Likewise.
55842         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55843         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55844         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55845         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55846         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55847         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55848         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55849         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55850         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55851         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55852         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55853         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55854         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55855         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55856         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55857         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55858         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55859         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55860         * sysdeps/i386/fpu/e_log.S: Likewise.
55861         * sysdeps/i386/fpu/e_log10.S: Likewise.
55862         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55863         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55864         * sysdeps/i386/fpu/e_log2.S: Likewise.
55865         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55866         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55867         * sysdeps/i386/fpu/e_logf.S: Likewise.
55868         * sysdeps/i386/fpu/e_logl.S: Likewise.
55869         * sysdeps/i386/fpu/e_pow.S: Likewise.
55870         * sysdeps/i386/fpu/e_powf.S: Likewise.
55871         * sysdeps/i386/fpu/e_powl.S: Likewise.
55872         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55873         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55874         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55875         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55876         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55877         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55878         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55879         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55880         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55881         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55882         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55883         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55884         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55885         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55887         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55888         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55889         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55890         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55902         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55903         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55904         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55905         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55906         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55907         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55908         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55909         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55910         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55911         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55912         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55913         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55914         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55915         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55916         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55917         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55918         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55919         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55920         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55921         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55922         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55923         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55924         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55925         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55926         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55927         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55928         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55929         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55930         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55931         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55933         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55935         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55936         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55937         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55938         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55939         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55940         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55941         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55942         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55945         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55946         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55947         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55949         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55950         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55951         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55952         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55953         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55954         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55955         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55956         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55957         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55958         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55959         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55960         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55961         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55962         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55963         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55964         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55965         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55966         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55967         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55968         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55969         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55970         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55971         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55972         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55973         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55974         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55975         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55976         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55977         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55978         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55979         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55980         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55981         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55982         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55983         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55984         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55985         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55986         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55987         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55988         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55989         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55990         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55991         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55992         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55993         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55994         (__isnanf): Likewise.
55995         (__isinf_ns): Likewise.
55996         (__isinf_nsf): Likewise.
55997         (__finite): Likewise.
55998         (__finitef): Likewise.
55999         (__ieee754_sqrt): Define as macro.
56000         (__ieee754_sqrtf): Define as macro.
56001         (__ieee754_sqrtl): Define as macro.
56002         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56003         inlined copy.
56004         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56005         __FINITE_MATH_ONLY__ consistent.
56006         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56008 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56010         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56011         of rawmemchr.
56013         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56015 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56017         * po/ja.po: Update from translation team.
56019 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56021         * locale/programs/locarchive.c (prepare_address_space): New function.
56022         (create_archive, enlarge_archive, open_archive): Use it.
56024         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56025         inside [SHARED], where it is used.
56027         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56029         * nss/getent.c (netgroup_keys): Remove unused variable.
56030         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56032 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56034         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56035         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56038         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56039         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56040         * math/Makefile (libm-calls): Add s_isinf_ns.
56041         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56042         * math/multc3.c: Likewise.
56043         * math/s_casin.c: Likewise.
56044         * math/s_casinf.c: Likewise.
56045         * math/s_casinl.c: Likewise.
56046         * math/s_ccos.c: Likewise.
56047         * math/s_ccosf.c: Likewise.
56048         * math/s_ccosl.c: Likewise.
56049         * math/s_ctan.c: Likewise.
56050         * math/s_ctanf.c: Likewise.
56051         * math/s_ctanh.c: Likewise.
56052         * math/s_ctanhf.c: Likewise.
56053         * math/s_ctanhl.c: Likewise.
56054         * math/s_ctanl.c: Likewise.
56055         * math/w_fmod.c: Likewise.
56056         * math/w_fmodf.c: Likewise.
56057         * math/w_fmodl.c: Likewise.
56058         * math/w_remainder.c: Likewise.
56059         * math/w_remainderf.c: Likewise.
56060         * math/w_remainderl.c: Likewise.
56061         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56062         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56063         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56064         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56065         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56066         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56067         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56068         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56070         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56071         of the number.
56072         * stdio-common/printf_fphex.c: Likewise.
56073         * stdio-common/printf_size.c: Likewise.
56075         * math/e_exp10.c: Include math_private.h using <...> not "...".
56076         * math/e_exp10f.c: Likewise.
56077         * math/e_exp10l.c: Likewise.
56078         * math/e_exp2l.c: Likewise.
56079         * math/e_j0l.c: Likewise.
56080         * math/e_j1l.c: Likewise.
56081         * math/e_jnl.c: Likewise.
56082         * math/e_lgammal_r.c: Likewise.
56083         * math/e_rem_pio2l.c: Likewise.
56084         * math/e_scalb.c: Likewise.
56085         * math/e_scalbf.c: Likewise.
56086         * math/e_scalbl.c: Likewise.
56087         * math/k_cosl.c: Likewise.
56088         * math/k_sinl.c: Likewise.
56089         * math/k_tanl.c: Likewise.
56090         * math/s_cacoshf.c: Likewise.
56091         * math/s_catan.c: Likewise.
56092         * math/s_catanf.c: Likewise.
56093         * math/s_catanh.c: Likewise.
56094         * math/s_catanhf.c: Likewise.
56095         * math/s_catanhl.c: Likewise.
56096         * math/s_catanl.c: Likewise.
56097         * math/s_ccosh.c: Likewise.
56098         * math/s_ccoshf.c: Likewise.
56099         * math/s_ccoshl.c: Likewise.
56100         * math/s_cexp.c: Likewise.
56101         * math/s_cexpf.c: Likewise.
56102         * math/s_cexpl.c: Likewise.
56103         * math/s_clog.c: Likewise.
56104         * math/s_clog10.c: Likewise.
56105         * math/s_clog10f.c: Likewise.
56106         * math/s_clog10l.c: Likewise.
56107         * math/s_clogf.c: Likewise.
56108         * math/s_clogl.c: Likewise.
56109         * math/s_csin.c: Likewise.
56110         * math/s_csinf.c: Likewise.
56111         * math/s_csinh.c: Likewise.
56112         * math/s_csinhf.c: Likewise.
56113         * math/s_csinhl.c: Likewise.
56114         * math/s_csinl.c: Likewise.
56115         * math/s_csqrt.c: Likewise.
56116         * math/s_csqrtf.c: Likewise.
56117         * math/s_csqrtl.c: Likewise.
56118         * math/s_ctan.c: Likewise.
56119         * math/s_ctanf.c: Likewise.
56120         * math/s_ctanh.c: Likewise.
56121         * math/s_ctanhf.c: Likewise.
56122         * math/s_ctanhl.c: Likewise.
56123         * math/s_ctanl.c: Likewise.
56124         * math/s_ldexp.c: Likewise.
56125         * math/s_ldexpf.c: Likewise.
56126         * math/s_ldexpl.c: Likewise.
56127         * math/s_significand.c: Likewise.
56128         * math/s_significandf.c: Likewise.
56129         * math/s_significandl.c: Likewise.
56130         * math/w_acos.c: Likewise.
56131         * math/w_acosf.c: Likewise.
56132         * math/w_acosh.c: Likewise.
56133         * math/w_acoshf.c: Likewise.
56134         * math/w_acoshl.c: Likewise.
56135         * math/w_acosl.c: Likewise.
56136         * math/w_asin.c: Likewise.
56137         * math/w_asinf.c: Likewise.
56138         * math/w_asinl.c: Likewise.
56139         * math/w_atan2.c: Likewise.
56140         * math/w_atan2f.c: Likewise.
56141         * math/w_atan2l.c: Likewise.
56142         * math/w_atanh.c: Likewise.
56143         * math/w_atanhf.c: Likewise.
56144         * math/w_atanhl.c: Likewise.
56145         * math/w_cosh.c: Likewise.
56146         * math/w_coshf.c: Likewise.
56147         * math/w_coshl.c: Likewise.
56148         * math/w_dremf.c: Likewise.
56149         * math/w_exp10.c: Likewise.
56150         * math/w_exp10f.c: Likewise.
56151         * math/w_exp10l.c: Likewise.
56152         * math/w_exp2.c: Likewise.
56153         * math/w_exp2f.c: Likewise.
56154         * math/w_fmod.c: Likewise.
56155         * math/w_fmodf.c: Likewise.
56156         * math/w_fmodl.c: Likewise.
56157         * math/w_hypot.c: Likewise.
56158         * math/w_hypotf.c: Likewise.
56159         * math/w_hypotl.c: Likewise.
56160         * math/w_j0.c: Likewise.
56161         * math/w_j0f.c: Likewise.
56162         * math/w_j0l.c: Likewise.
56163         * math/w_j1.c: Likewise.
56164         * math/w_j1f.c: Likewise.
56165         * math/w_j1l.c: Likewise.
56166         * math/w_jn.c: Likewise.
56167         * math/w_jnf.c: Likewise.
56168         * math/w_jnl.c: Likewise.
56169         * math/w_lgamma.c: Likewise.
56170         * math/w_lgamma_r.c: Likewise.
56171         * math/w_lgammaf.c: Likewise.
56172         * math/w_lgammaf_r.c: Likewise.
56173         * math/w_lgammal.c: Likewise.
56174         * math/w_lgammal_r.c: Likewise.
56175         * math/w_log.c: Likewise.
56176         * math/w_log10.c: Likewise.
56177         * math/w_log10f.c: Likewise.
56178         * math/w_log10l.c: Likewise.
56179         * math/w_log2.c: Likewise.
56180         * math/w_log2f.c: Likewise.
56181         * math/w_log2l.c: Likewise.
56182         * math/w_logf.c: Likewise.
56183         * math/w_logl.c: Likewise.
56184         * math/w_pow.c: Likewise.
56185         * math/w_powf.c: Likewise.
56186         * math/w_powl.c: Likewise.
56187         * math/w_remainder.c: Likewise.
56188         * math/w_remainderf.c: Likewise.
56189         * math/w_remainderl.c: Likewise.
56190         * math/w_scalb.c: Likewise.
56191         * math/w_scalbf.c: Likewise.
56192         * math/w_scalbl.c: Likewise.
56193         * math/w_sinh.c: Likewise.
56194         * math/w_sinhf.c: Likewise.
56195         * math/w_sinhl.c: Likewise.
56196         * math/w_sqrt.c: Likewise.
56197         * math/w_sqrtf.c: Likewise.
56198         * math/w_sqrtl.c: Likewise.
56199         * math/w_tgamma.c: Likewise.
56200         * math/w_tgammaf.c: Likewise.
56201         * math/w_tgammal.c: Likewise.
56203         * po/ja.po: Update from translation team.
56205 2011-09-29  Andreas Jaeger  <aj@suse.de>
56207         [BZ #13179]
56208         * sunrpc/netname.c (netname2host): Fix logic.
56210         [BZ #6779]
56211         [BZ #6783]
56212         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56213         correctly.
56214         * math/w_remainder.c (__remainder): Likewise.
56215         * math/w_remainderf.c (__remainderf): Likewise.
56216         * math/libm-test.inc (remainder_test): Add test cases.
56218 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56220         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56221         sdiv_qrnnd.
56223 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56225         * string/test-memcmp.c: Avoid unncessary #defines.
56226         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56228 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56230         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56231         Use new sse2 version for core i3 - i7 as it's faster
56232         than sse42 version.
56233         (bit_Prefer_PMINUB_for_stringop): New.
56234         * sysdeps/x86_64/rawmemchr.S: Update.
56235         Replace with faster SSE2 version.
56236         * sysdeps/x86_64/memrchr.S: New file.
56237         * sysdeps/x86_64/memchr.S: Update.
56238         Replace with faster SSE2 version.
56240 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56242         * elf/dl-load.c (lose): Add cast to avoid warning.
56244 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56246         * po/ca.po: Update from translation team.
56248         * inet/getnetgrent_r.c: Hook up nscd.
56249         * nscd/Makefile (routines): Add nscd_netgroup.
56250         (nscd-modules): Add netgroupcache.
56251         (CFLAGS-netgroupcache.c): Define.
56252         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56253         (cache_search): Add const to second parameter.
56254         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56255         INNETGR.
56256         (dbs): Add netgrdb entry.
56257         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56258         (verify_persistent_db): Handle netgrdb.
56259         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56260         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56261         GETFDNETGR.
56262         (netgroup_response_header): Define.
56263         (innetgroup_response_header): Define.
56264         (datahead): Add netgroup_response_header and innetgroup_response_header
56265         elements.
56266         * nscd/nscd.conf: Add entries for netgroup cache.
56267         * nscd/nscd.h (dbtype): Add netgrdb.
56268         (_PATH_NSCD_NETGROUP_DB): Define.
56269         (netgroup_iov_disabled): Declare.
56270         (xmalloc, xcalloc, xrealloc): Move declarations here.
56271         (cache_search): Adjust prototype.
56272         Add netgroup-related prototypes.
56273         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56274         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56275         (__nscd_innetgr): Declare.
56276         * nscd/selinux.c (perms): Use access_vector_t as element type and
56277         add netgroup-related initializers.
56278         * nscd/netgroupcache.c: New file.
56279         * nscd/nscd_netgroup.c: New file.
56280         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56281         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56282         For four parameters use innetgr.
56283         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56284         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56285         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56286         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56288         * nscd/connections.c (register_traced_file): Don't register file
56289         for disabled databases.
56291 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56293         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56295         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56296         from tree and freeing node.
56298 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56300         * nss/nsswitch.c (__nss_database_lookup): Handle
56301         nss_parse_service_list out of memory case.
56303 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56305         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56306         out of memory case.
56308 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56310         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56311         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56312         pass it down.
56313         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56314         elf_machine_rela, elf_machine_lazy_rel.
56315         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56316         (ELF_DYNAMIC_DO_REL): Likewise.
56317         (ELF_DYNAMIC_DO_RELA): Likewise.
56318         (ELF_DYNAMIC_RELOCATE): Likewise.
56319         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56320         to ELF_DYNAMIC_DO_REL.
56321         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56322         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56323         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56324         elf_machine_rela.
56325         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56326         skip_ifunc, don't call ifunc function if non-zero.
56327         (elf_machine_rela): Likewise.
56328         (elf_machine_lazy_rel): Likewise.
56329         (elf_machine_lazy_rela): Likewise.
56330         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56331         (elf_machine_lazy_rel): Likewise.
56332         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56333         Likewise.
56334         (elf_machine_lazy_rel): Likewise.
56335         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56336         Likewise.
56337         (elf_machine_lazy_rel): Likewise.
56338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56339         (elf_machine_lazy_rel): Likewise.
56340         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56341         (elf_machine_lazy_rel): Likewise.
56342         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56343         (elf_machine_lazy_rel): Likewise.
56344         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56345         (elf_machine_lazy_rel): Likewise.
56346         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56347         (elf_machine_lazy_rel): Likewise.
56348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56349         (elf_machine_lazy_rel): Likewise.
56351 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56353         * nss/nss_files/files-init.c (_nss_files_init): Use static
56354         initialization for all the *_traced_file variables.
56356 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56358         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56360 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56362         [BZ #13226]
56363         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56365 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56367         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56368         Reread the line before reparsing it.
56370 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56372         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56374 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56375             Maxim Kuvyrkov  <maxim@codesourcery.com>
56376             Joseph Myers  <joseph@codesourcery.com>
56378         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56379         if needed for __stack_chk_guard.
56381 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56383         * sysdeps/posix/spawni.c (script_execute): Always define it.
56384         It will be optimized away if unused.
56385         (maybe_script_execute): New function.
56386         (__spawni): Call it.
56388         * Makerules: Don't include tls.make.
56389         (config-tls): Always set to thread.
56390         * tls.make.c: File removed.
56392 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56394         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56395         * config.make.in (CPPFLAGS-config): New substituted variable.
56397 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56399         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56401         [BZ #13192]
56402         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56403         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56405 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56407         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56408         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56409         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56410         (CALL_FAIL): Likewise.
56411         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56412         (CALL_FAIL): Macro removed.
56413         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56415 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56417         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56418         for __FINITE_MATH_ONLY__ == 1.
56420 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56422         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56423         __ieee754_sqrt instead of sqrt.
56424         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56425         __ieee754_sqrtf instead of sqrtf.
56426         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56427         __floorf instead of floorf.
56428         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56429         __floorf, __truncf instead of floorf, truncf.
56431 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56433         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56435         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56436         __extern_always_inline.
56437         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56438         32-bit.
56440 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56442         * elf/rtld.c (dl_main): Also relocate in dependency order when
56443         doing symbol dependency testing.
56445 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56448         Always define `refsym'.
56450 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56452         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56453         (__FD_ELT): Renamed from __FDELT.
56454         * misc/bits/select2.h (__FD_ELT): Likewise.
56455         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56456         __FD_MASK instead of __FDELT, __FDMASK.
56457         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56458         Likewise.
56459         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56460         Likewise.
56462         * elf/Makefile (gen-ldd): Fix pattern.
56464         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56465         (init_tls): Likewise.
56467 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56469         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56471 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56473         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56474         `struct cmsghdr *' instead of `void *'.
56475         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56476         Likewise.
56478 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56480         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56481         if non-absolute.
56482         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56483         ldd_rewrite_script.
56485 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56487         * configure.in: Remove --with-tls option.
56488         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56489         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56490         out in case it is missing.
56491         * sysdeps/ia64/elf/configure.in: Likewise.
56492         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56493         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56494         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56495         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56496         * sysdeps/sh/elf/configure.in: Likewise.
56497         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56498         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56499         * sysdeps/x86_64/elf/configure.in: Likewise.
56500         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56501         * sysdeps/mach/hurd/tls.h: Likewise.
56503         [BZ #13067]
56504         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56506         [BZ #13090]
56507         * configure.in: Fix use of AC_INIT.
56509         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56511 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56513         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56514         __set_errno.
56515         * malloc/hooks.c: Likewise.
56517         [BZ #11929]
56518         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56519         variables statically.
56520         (narenas): Initialize.
56521         (list_lock): Initialize.
56522         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56523         initializtion of main_arena and list_lock.  Small cleanups.
56524         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56525         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56526         Add initializers to main_arena and mp_.
56527         (malloc_state): Remove pagesize member.  Change all users to use
56528         GLRO(dl_pagesize).
56530         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56531         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56532         is always initialized.
56534         * malloc/malloc.c: Removed unused configurations and dead code.
56535         * malloc/arena.c: Likewise.
56536         * malloc/hooks.c: Likewise.
56537         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56539         * include/tls.h: Removed.  USE___THREAD must always be defined.
56540         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56541         * elf/dl-libc.c: Likewise.
56542         * elf/dl-tsd.c: Likewise.
56543         * include/errno.h: Likewise.
56544         * include/netdb.h: Likewise.
56545         * include/resolv.h: Likewise.
56546         * inet/herrno-loc.c: Likewise.
56547         * inet/herrno.c: Likewise.
56548         * malloc/arena.c: Likewise.
56549         * malloc/hooks.c: Likewise.
56550         * malloc/malloc.c: Likewise.
56551         * resolv/res-state.c: Likewise.
56552         * resolv/res_libc.c: Likewise.
56553         * sysdeps/i386/dl-machine.h: Likewise.
56554         * sysdeps/ia64/dl-machine.h: Likewise.
56555         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56556         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56557         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56558         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56559         * sysdeps/sh/dl-machine.h: Likewise.
56560         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56561         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56562         * sysdeps/unix/i386/sysdep.S: Likewise.
56563         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56564         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56568         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56569         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56570         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56573         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56574         * sysdeps/x86_64/dl-machine.h: Likewise.
56575         * tls.make.c: Likewise.
56577         * configure.in: Remove --with-__thread option.  Make tests for
56578         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56579         tls_model attribute fail if no support is available.  Remove
56580         USE_IN_LIBIO.
56581         * Makeconfig: Adjust for dropped configure option.  All features are
56582         now mandatory.
56583         * Makerules: Likewise.
56584         * Versions.def: Likewise.
56585         * argp/argp-fmtstream.c: Likewise.
56586         * argp/argp-fmtstream.h: Likewise.
56587         * argp/argp-help.c: Likewise.
56588         * assert/assert.c: Likewise.
56589         * config.h.in: Likewise.
56590         * config.make.in: Likewise.
56591         * configure: Likewise.
56592         * configure.in: Likewise.
56593         * csu/Versions: Likewise.
56594         * csu/init.c: Likewise.
56595         * elf/tst-audit2.c: Likewise.
56596         * elf/tst-tls10.c: Likewise.
56597         * elf/tst-tls10.h: Likewise.
56598         * elf/tst-tls11.c: Likewise.
56599         * elf/tst-tls12.c: Likewise.
56600         * elf/tst-tls14.c: Likewise.
56601         * elf/tst-tlsmod11.c: Likewise.
56602         * elf/tst-tlsmod12.c: Likewise.
56603         * elf/tst-tlsmod13.c: Likewise.
56604         * elf/tst-tlsmod13a.c: Likewise.
56605         * elf/tst-tlsmod14a.c: Likewise.
56606         * elf/tst-tlsmod15b.c: Likewise.
56607         * elf/tst-tlsmod16a.c: Likewise.
56608         * elf/tst-tlsmod16b.c: Likewise.
56609         * elf/tst-tlsmod7.c: Likewise.
56610         * elf/tst-tlsmod8.c: Likewise.
56611         * elf/tst-tlsmod9.c: Likewise.
56612         * gmon/gmon.c: Likewise.
56613         * grp/fgetgrent_r.c: Likewise.
56614         * grp/putgrent.c: Likewise.
56615         * hurd/fopenport.c: Likewise.
56616         * include/libc-symbols.h: Likewise.
56617         * include/tls.h: Likewise.
56618         * intl/gettextP.h: Likewise.
56619         * intl/loadinfo.h: Likewise.
56620         * locale/global-locale.c: Likewise.
56621         * locale/localeinfo.h: Likewise.
56622         * mach/devstream.c: Likewise.
56623         * malloc/arena.c: Likewise.
56624         * malloc/set-freeres.c: Likewise.
56625         * misc/err.c: Likewise.
56626         * misc/getttyent.c: Likewise.
56627         * misc/mntent_r.c: Likewise.
56628         * posix/getopt.c: Likewise.
56629         * posix/wordexp.c: Likewise.
56630         * pwd/fgetpwent_r.c: Likewise.
56631         * resolv/Versions: Likewise.
56632         * resolv/res_hconf.c: Likewise.
56633         * shadow/fgetspent_r.c: Likewise.
56634         * shadow/putspent.c: Likewise.
56635         * stdio-common/printf_fphex.c: Likewise.
56636         * stdio-common/tmpfile.c: Likewise.
56637         * stdlib/abort.c: Likewise.
56638         * stdlib/fmtmsg.c: Likewise.
56639         * sunrpc/auth_unix.c: Likewise.
56640         * sunrpc/clnt_perr.c: Likewise.
56641         * sunrpc/clnt_tcp.c: Likewise.
56642         * sunrpc/clnt_udp.c: Likewise.
56643         * sunrpc/clnt_unix.c: Likewise.
56644         * sunrpc/openchild.c: Likewise.
56645         * sunrpc/svc_simple.c: Likewise.
56646         * sunrpc/svc_tcp.c: Likewise.
56647         * sunrpc/svc_udp.c: Likewise.
56648         * sunrpc/svc_unix.c: Likewise.
56649         * sunrpc/xdr.c: Likewise.
56650         * sunrpc/xdr_array.c: Likewise.
56651         * sunrpc/xdr_rec.c: Likewise.
56652         * sunrpc/xdr_ref.c: Likewise.
56653         * sunrpc/xdr_stdio.c: Likewise.
56655 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56657         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56659 2011-07-03  Andreas Jaeger  <aj@suse.de>
56661         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56662         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56663         regenerate with gen-libm-tests.pl.
56665 2010-05-12  Petr Baudis  <pasky@suse.cz>
56667         [BZ #11589]
56668         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56669         around j0() zero points by switching to j1().
56670         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56671         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56673         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56675 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56677         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56678         instead of 0.
56679         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56680         instead of 0.
56681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56682         Patch in part by Pavel Roskin <proski@gnu.org>.
56684         [BZ #13138]
56685         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56686         realloc.
56687         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56688         Free memory block if necessary.
56690         [BZ #12847]
56691         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56692         be NULL.  Don't lock in this case.
56694 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56696         * elf/elf.h (ELFOSABI_GNU): New macro.
56697         (ELFOSABI_LINUX): Define to that.
56699 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56701         * string/strncat.c (strncat): Undef the symbol in case it has been
56702         defined in bits/string.h.
56704 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56706         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56708         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56709         link map.
56711 2011-08-17  Andreas Jaeger  <aj@suse.de>
56713         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56715 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56716             Ian Lance Taylor  <iant@google.com>
56718         * math/libm-test.inc (lround_test): New testcase.
56719         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56721 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56723         * Makefile: Remove support for automatic cvs check-ins.
56724         * Makerules: Likewise.
56725         * config.make.in: Likewise.
56726         * configure.in: Likewise.
56727         * intl/Makefile: Likewise.
56728         * locale/Makefile: Likewise.
56729         * po/Makefile: Likewise.
56730         * posix/Makefile: Likewise.
56731         * sysdeps/gnu/Makefile: Likewise.
56732         * sysdeps/mach/hurd/Makefile: Likewise.
56733         * sysdeps/sparc/sparc32/Makefile: Likewise.
56735         [BZ #13118]
56736         * posix/Makefile (bug-regex32-ENV): Define.
56737         Patch by John Stanley <jpsinthemix@verizon.net>.
56739         * misc/Makefile (headers): Add bits/select2.h.
56740         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56741         * misc/bits/select2.h: New file.
56742         * include/bits/select2.h: New file.
56743         * debug/Makefile (routines): Add fdelt_chk.
56744         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56745         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56746         FD_ISSET.
56747         * debug/fdelt_chk.c: New file.
56749         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56750         * wcsmbs/test-wmemcmp.c: Likewise.
56751         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56752         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56754 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56756         * string/Makefile (strop-tests): Add memcmp.
56757         * string/test-wmemcmp.c: New file.
56758         * string/test-memcmp.c: Add wmemcmp support.
56760 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56762         [BZ #13153]
56763         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56764         2011-07-19 change.
56766         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56767         garbage value in a __mach_port_mod_refs call in the cases of the
56768         task-self and thread-self ports.
56770 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56772         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56774 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56776         * elf/dl-load.c (lose): Check for non-null L.
56778 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56780         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56782         * elf/dl-libc.c (dlerror_run): Pass back error code from
56783         dl_catch_error.
56785         [BZ #13123]
56786         * elf/dl-load.c (lose): Free l_origin if it is valid.
56788         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56789         names.
56790         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56791         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56792         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56793         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56794         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56795         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56797 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56799         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56800         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56801         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56802         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56803         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56804         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56805         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56806         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56807         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56808         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56810 2011-08-15  Alan Modra  <amodra@gmail.com>
56812         [BZ #13092]
56813         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56814         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56815         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56816         ppc_mcount to static-only-routines.
56817         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56818         __mcount_internal.
56819         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56820         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56822 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56824         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56825         for finite and infinity parameters.
56827 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56830         and add nop instructions for throughput optimization.
56831         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56833 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56835         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56836         aligned copy for power7 with vector-scalar instructions.
56837         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56839 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56842         AVX check.
56844 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56846         [BZ #13144]
56847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56848         last change.
56850 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56852         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56853         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56854         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56855         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56856         clock_gettime.
56858 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56860         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56861         Forgot to demangle the pointer.
56863         * sysdeps/i386/sysdep.h: Define atom_text_section.
56864         * sysdeps/x86_64/sysdep.h: Likewise.
56865         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56866         section with atom_text_section.
56867         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56869         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56870         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56871         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56873         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56874         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56875         already be defined.  Change to take two parameters and don't assign
56876         result to variable.  Adjust all users.
56877         Define INTERNAL_GETTIME if not already defined.
56878         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56879         call.
56880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56881         HAVE_CLOCK_GETTIME_VSYSCALL.
56882         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56885         gettimeofday vsyscall, just use time.
56887 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56889         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56890         <errno.h>.
56892 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56894         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56895         syscall on x86-64.
56896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56897         syscall.
56898         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56899         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56900         syscall if possible.
56902 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56904         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56905         e_ident.  Don't pass to find_mapsXX.
56906         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56908 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56911         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56912         * sysdeps/x86_64/multiarch/strchr.S: Update.
56913         Check bit_slow_BSF bit.
56914         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56915         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56916         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56918 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56920         [BZ #13134]
56921         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56922         before glibc 2.15.
56923         (tryshell): Define.
56924         (__spawni): Change last parameter to be flag.  Test
56925         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56926         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56927         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56928         * posix/spawni.c: Likewise.
56929         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56930         * posix/spawnp.c: Likewise.  Change normal version to use
56931         SPAWN_XFLAGS_USE_PATH.
56932         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56933         SPAWN_XFLAGS_TRY_SHELL.
56935         [BZ #13150]
56936         * posix/glob.h: Remove gcc 1.x support.
56938         [BZ #13068]
56939         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56941 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56944         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56945         strrchr-sse2-bsf
56946         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56947         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56948         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56949         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56950         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56951         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56953 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56955         * sysdeps/x86_64/wcscmp.S: New file.
56957         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56958         wcscmp-c wcscmp-sse2
56959         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56960         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56961         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56962         * wcsmbs/wcscmp.c: Allow renaming.
56964 2011-09-05  David S. Miller  <davem@davemloft.net>
56966         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56967         stack slot, rather than the struct return pointer slot.
56968         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56969         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56971         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56973 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56975         * po/ja.po: Update from translation team.
56977         [BZ #13144]
56978         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56979         kernel in 64-bit binaries.
56981 2011-09-01  David S. Miller  <davem@davemloft.net>
56983         * elf/elf.h (HWCAP_SPARC_*): Move to..
56984         * sysdeps/sparc/sysdep.h: this new file and add new values.
56985         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56986         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56987         _DL_HWCAP_COUNT to 24.
56988         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56989         entries.
56990         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56991         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56992         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56994         instead of magic constants.
56995         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56997 2011-08-31  David S. Miller  <davem@davemloft.net>
56999         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57001         Reimplement to do errno handling inline.
57002         (SYSCALL_ERROR_HANDLER): New macro.
57003         (__SYSCALL_STRING): Do not do errno handling in asm.
57004         (__CLONE_SYSCALL_STRING): Delete.
57005         (__INTERNAL_SYSCALL_STRING): Delete.
57006         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57007         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57008         (PSEUDO): Reimplement to do errno handling inline.
57009         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57010         (SYSCALL_ERROR_HANDLER): New macro.
57011         (__SYSCALL_STRING): Do not do errno handling in asm.
57012         (__CLONE_SYSCALL_STRING): Delete.
57013         (__INTERNAL_SYSCALL_STRING): Delete.
57014         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57015         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57016         i386.
57017         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57018         (inline_syscall*): Add 'err' argument.
57019         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57020         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57021         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57022         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57024         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57025         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57027 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57029         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57031 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57033         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57034         directive.
57036 2011-08-24  David S. Miller  <davem@davemloft.net>
57038         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57040 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57042         * elf/Makefile: Add rules to build and run unload8 test.
57043         * elf/unload8.c: New file.
57044         * elf/unload8mod1.c: New file.
57045         * elf/unload8mod1x.c: New file.
57046         * elf/unload8mod2.c: New file.
57047         * elf/unload8mod3.c: New file.
57049         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57050         it wasn't used.
57052 2011-08-23  David S. Miller  <davem@davemloft.net>
57054         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57055         subtract stack bias.
57056         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57057         %sp not %fp in calculations.
57058         (_JMPBUF_UNWINDS_ADJ): Likewise.
57060         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57061         (aio_suspend): Call it to force an exception region around the
57062         AIO_MISC_WAIT() invocation.
57064 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57066         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57067         backslash.
57069 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57071         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57072         protection macro.
57073         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57074         and <dl-machine.h>.
57075         (Elf64_FuncDesc): Remove.
57077 2011-08-22  David S. Miller  <davem@davemloft.net>
57079         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57080         sigaltstack check, add missing cfi directives.
57081         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57082         missing cfi directives, and sigaltstack handling.
57084 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57086         [BZ #11724]
57087         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57088         object is seen twice.
57089         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57091         * elf/Makefile (distribute): Add tst-initorder2.c.
57092         (tests): Add tst-initorder2.
57093         (modules-names): Add tst-initorder2a tst-initorder2b
57094         tst-initorder2c tst-initorder2d.  Add rules to build them.
57095         ($(objpfx)tst-initorder2.out): New rule.
57096         * elf/tst-initorder2.c: New file.
57097         * elf/tst-initorder2.exp: New file.
57099 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57101         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57103         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57104         dependencies back to end of function.
57106         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57107         $(elfobjdir)/ld.so.
57109 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57112         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57113         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57114         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57115         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57116         of __vdso_gettimeofday.
57117         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57118         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57119         attribute_hidden.
57120         (_libc_vdso_platform_setup): Remove initialization of
57121         __vdso_gettimeofday and __vdso_time.
57123 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57125         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57126         and fgetc_unlocked.
57127         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57128         getc_unlocked.
57130         * elf/dl-open.c (add_to_global): Report additions to the global scope
57131         for LD_DEBUG=scopes.
57132         (dl_open_worker): Also print scope of newly loaded dependencies.
57133         (_dl_show_scope): Indicate if there is no scope.
57135         [BZ #13114]
57136         * stdio-common/Makefile (tests): Add bug24.
57137         * stdio-common/bug24.c: New file.
57139 2011-08-19  Andreas Jaeger  <aj@suse.de>
57141         [BZ #13114]
57142         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57143         non-existant file when using close-on-exec mode.
57145 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57148         the very first instruction.
57150         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57151         the CFI state in the end.
57152         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57153         inclusion of dl-trampoline.h.
57154         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57156 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57158         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57159         expectations for long double.
57161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57162         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57164 2011-08-14  David S. Miller  <davem@davemloft.net>
57166         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57167         artificual limit depends upon the system page size.
57169 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57171         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57172         * resolv/Makefile: Define CFLAGS-libresolv.
57174 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57176         * nss/makedb.c (compute_tables): Make variables used in nested
57177         function static.
57179 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57181         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57182         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57183         if buffer was too small.
57185         * elf/pldd.c (main): Attach to all threads in the process.
57186         Rewrite /proc handling to use *at functions.
57188 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57190         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57191         specifies first scope to show.
57192         (dl_open_worker): Update callers.  Move printing scope of new
57193         object to before the relocation.
57194         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57195         * sysdeps/generic/ldsodefs.h: Update declaration.
57197         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57198         string for the scope number.
57200 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57202         * nscd/servicescache.c (cache_addserv): Make sure written is always
57203         initialized.
57205 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57207         * sysdeps/i386/i486/bits/atomic.h
57208         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57209         statement expression, so as to suppress "set but not used" warning.
57210         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57212         * string/strncat.c (STRNCAT): Use prototype definition.
57214         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57215         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57216         -Iprograms here.
57217         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57218         (localedef-modules): Add localedef.
57219         (locale-modules): Add locale.
57221         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57222         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57223         to avoid a warning.
57225 2011-08-14  David S. Miller  <davem@davemloft.net>
57227         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57228         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57230 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57232         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57233         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57234         * elf/rtld.c (dl_main): Set l_name of vDSO.
57235         Call _dl_show_scope when DL_DEBUG_SCOPES.
57236         (process_dl_debug): Recognize scopes flag and also set it for all.
57237         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57238         Declare _dl_show_scope.
57240         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57241         (do_dlopen): Pass caller_dlopen to dl_open.
57242         (__libc_dlopen_mode): Initialize caller_dlopen.
57244         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57245         of libc.  Make tolower call locale-independent.  Optimize a bit by
57246         using isdigit instead of isalnum.
57247         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57249 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57251         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57252         was a dependency or dynamically loaded.
57254 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57256         * intl/l10nflist.c: Allow architecture-specific pop function.
57257         * sysdeps/x86_64/l10nflist.c: New file.
57259         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57260         classification.
57262 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57264         * include/dirent.h: Add libc_hidden_proto for scandirat and
57265         scandirat64.  Don't declare __scandirat64.
57266         * dirent/scandirat.c: Add libc_hidden_def.
57267         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57268         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57270 2011-08-10  David S. Miller  <davem@davemloft.net>
57272         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57273         enum.
57274         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57275         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57276         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57278 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57280         * Versions.def [libc]: Add GLIBC_2.15.
57281         * dirent/Makefile (routines): Add scandirat and scandirat64.
57282         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57283         GLIBC_2.15.
57284         * dirent/dirent.h: Declare scandirat and scandirat64.
57285         * dirent/scandirat.c: New file.
57286         * dirent/scandirat64.c: New file.
57287         * sysdeps/wordsize-64/scandirat.c: New file.
57288         * sysdeps/wordsize-64/scandirat64.c: New file.
57289         * dirent/opendir.c: Define opendirat.
57290         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57291         using scandirat.
57292         * dirent/scandir64.c: Adjust for scandir.c change.
57293         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57294         __scandirat64, and __scandir_cancel_handler.
57295         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57296         additional parameter and use openat instead of open (outside of ld.so).
57297         Add new __opendir as wrapper around __opendirat.
57298         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57299         here without requiring old scandirat implementation.
57301 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57303         * dirent/scandir.c (cancel_handler): Renamed to
57304         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57305         defined.  Adjust users.
57306         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57307         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57309 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57311         * string/test-string.h (IMPL): Use __STRING to expand name and then
57312         stringify it.
57314         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57315         of cleanups.
57317 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57319         * string/Makefile: Update.
57320         (strop-tests): Append strncat.
57321         * string/test-wcscmp.c: New file.
57322         New comprehensive test for wcscmp.
57323         * string/test-strcmp.c: Update.
57324         (WIDE): New define.
57326 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57328         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57329         line.
57331 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57334         encoding to ACE if AI_IDN.
57336 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57339         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57341 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57343         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57344         Fix overflow bug in strncat.
57345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57347         * string/test-strncat.c: Update.
57348         Add new tests for checking overflow bugs.
57350 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57353         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57354         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57355         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57356         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57357         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57358         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57359         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57360         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57362         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57363         (USE_AS_STRCAT): Define.
57364         Add strcat and strncat support.
57365         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57367 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57369         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57370         __n bigger than INT_MAX+1.
57371         (__strncmp_g): Likewise.
57373 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57375         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57376         * libio/stido.h: Likewise.
57378         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57379         (AF_NFC): Define.
57380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57381         (AF_NFC): Define.
57383         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57384         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57386         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57387         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57389         [BZ #13021]
57390         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57391         installed.
57393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57394         typo.
57395         (_dl_x86_64_save_sse): Likewise.
57397 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57400         OSXSAVE.
57401         (_dl_x86_64_save_sse): Likewise.
57403         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57405         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57407 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57410         change.
57411         (_dl_x86_64_save_sse): Use correct AVX check.
57413 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57415         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57416         bug in strncpy/strncat.
57417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57419 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57421         * string/tester.c (test_strcat): Add tests for different alignments
57422         of source and destination.
57423         (test_strncat): Likewise.
57425 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57427         [BZ #12852]
57428         * posix/glob.c (glob): Check passed in values before using them in
57429         expressions to avoid some overflows.
57430         (glob_in_dir): Likewise.
57432         [BZ #13007]
57433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57434         check for AVX enablement so that we don't crash with old kernels and
57435         new hardware.
57436         * elf/tst-audit4.c: Add same checks here.
57437         * elf/tst-audit6.c: Likewise.
57439         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57441 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57443         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57445 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57447         * po/cs.po: Update from translation team.
57448         * po/bg.po: Likewise.
57450 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57452         * misc/sys/cdefs.h: Add support for const attribute.
57453         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57454         to gnu_dev_{major,minor,makedev} functions.
57456 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57458         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57460 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57462         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57463         strlen results.
57465 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57467         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57468         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57469         register in order to avoid conflicts with the soft frame pointer
57470         being held in r11 when necessary.
57471         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57472         (INTERNAL_VSYSCALL_NCS): Likewise.
57474 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57476         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57477         * elf/dl-fini.c (_dl_fini): Adjust caller.
57478         * elf/dl-close.c (_dl_close_worker): Likewise.
57479         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57481 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57483         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57484         "aux_cache->nlibs < 0".
57486         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57487         in the reload-count case.
57489 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57492         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57493         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57494         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57495         * sysdeps/x86_64/multiarch/strcat.S: New file.
57496         * sysdeps/x86_64/multiarch/strncat.S: New file.
57497         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57498         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57499         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57500         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57501         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57502         (USE_AS_STRCAT): Define.
57503         Add strcat and strncat support.
57504         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57505         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57506         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57507         * string/strncat.c: Update.
57508         (USE_AS_STRNCAT): Define.
57509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57510         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57511         and i7.
57512         * sysdeps/x86_64/multiarch/init-arch.h
57513         (bit_Prefer_PMINUB_for_stringop): New.
57514         (index_Prefer_PMINUB_for_stringop): Likewise.
57515         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57516         bit_Prefer_PMINUB_for_stringop.
57518 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57520         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57521         buffer64.
57522         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57523         of casting of buffer.
57524         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57525         buffer32 and buffer64.
57526         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57527         writes instead of casting of buffer.
57528         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57529         buffer32.
57530         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57531         casting of buffer.
57533 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57535         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57537 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57539         * nscd/nscd.c (termination_handler): Don't do anything for a database
57540         if it has not yet been initialized.
57542 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57544         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57546 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57548         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57550 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57552         * po/nl.po: Update from translation team.
57553         * po/sv.po: Likewise.
57555 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57557         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57558         now disallowed by GCC.
57560         * configure.in (use-default-link): Default to yes if a test -shared
57561         link meets our qualifications.
57562         * configure: Regenerated.
57564         * config.make.in (output-format): New variable.
57565         * configure.in: Check for ld --print-output-format support.
57566         * configure: Regenerated.
57567         * Makerules ($(common-objpfx)format.lds)
57568         [$(output-format) != unknown]: Just use $(output-format),
57569         instead of the linker-script munging.
57571 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57573         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57574         of $(common-objpfx)shlib.lds.
57575         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57577         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57578         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57580         * configure.in (-z relro check): Adjust test code to add a large
57581         writable data section after it.
57582         * configure: Regenerated.
57584 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57586         * configure.in (-z relro check): Fix test code to make the variable
57587         truly const.
57588         * configure: Regenerated.
57590 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57592         * nscd/nscd.h (struct traced_file): Define.
57593         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57594         elements.  Add traced_files.
57595         (inotify_fd): Declare.
57596         (register_traced_file): Declare.
57597         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57598         (inotify_fd): Export.
57599         (resolv_conf_descr): Remove.
57600         (nscd_init): Move inotify descriptor creation to main.
57601         Don't register files for notification here.
57602         (register_traced_file): New function.
57603         (invalidate_cache): Don't use reset_res to determine whether to call
57604         res_init, go through the list of registered files.
57605         (main_loop_poll): The inotify descriptors are now stored in the
57606         structures for the traced files.
57607         (main_loop_epoll): Likewise
57608         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57609         to __nss_disable_nscd.
57610         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57611         for a database anymore.  Check the records for all the registered
57612         files instead.
57613         * nss/Makefile (libnss_files-routines): Add files-init.
57614         (libnss_db-routines): Add db-init.
57615         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57616         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57617         * nss/nss_db/db-init.c: New file.
57618         * nss/nss_files/files-init.c: New file.
57619         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57620         __nss_lookup_function.
57621         (__nss_lookup_function): Call nss_load_library.
57622         (nss_load_all_libraries): New function.
57623         (__nss_disable_nscd): Take parameter with callback function for files
57624         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57625         used for the cached services.
57626         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57627         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57628         options for features to all the files in nscd.
57630         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57632 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57634         * csu/elf-init.c (__libc_csu_init): Comment typo.
57636 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57638         * po/pl.po: Update from translation team.
57639         * po/ja.po: Likewise.
57640         * po/ru.po: Likewise.
57641         * po/ko.po: Likewise.
57642         * po/fr.po: Likewise.
57644 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57646         * configure.in (.ctors/.dtors header and trailer check):
57647         Use an empirical test on a built program.
57648         * configure: Regenerated.
57650         * configure.in (-z relro check): Use an empirical test on a built DSO.
57651         Detect, but do not require, on ia64.
57652         * configure: Regenerated.
57654         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57655         Update tests that use readelf to use $READELF instead.
57656         * configure: Regenerated.
57658 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57660         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57661         if the result is not used.
57663 2011-07-05  Andreas Jaeger  <aj@suse.de>
57665         [BZ#9696]
57666         * stdlib/tst-strtod.c: Add testcase.
57668 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57670         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57671         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57672         The latter has a higher limit.  Take additional parameter to pass to
57673         the new function.
57674         (__pathconf): Pass file to __statfs_link_max.
57675         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57676         __statfs_link_max.
57677         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57678         __statfs_link_max.
57680         [BZ #12868]
57681         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57683         Handle Lustre.
57684         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57685         (__statfs_filesize_max): Likewise.
57686         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57688 2011-07-05  Andreas Jaeger  <aj@suse.de>
57690         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57692 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57694         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57695         `status' variable.
57696         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57697         Likewise.
57699 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57701         * Makefile (strop-tests): Add strncat.
57702         * string/test-strncat.c: New file.
57704 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57706         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57708 2011-06-21  Andreas Jaeger  <aj@suse.de>
57710         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57711         Copy rule from iconvdata/Makefile.
57713 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57715         [BZ #12922]
57716         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57717         but no long options are defined, just return 'W'.
57719 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57721         [BZ #9696]
57722         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57724 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57726         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57727         netgroups to read.
57728         (innetgr): Likewise.
57730 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57732         * config.make.in (install_root): Default to $(DESTDIR).
57734 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57736         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57738 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57740         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57742         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57743         containing directory rather than embedding absolute directory names.
57745         * scripts/check-local-headers.sh: Rewritten using awk.
57746         Match by word, not by line.  Print error messages for matches.
57747         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57749         * Makerules [shlib-lds-flags empty]:
57750         ($(common-objpfx)libc_pic.opts): New target.
57751         ($(common-objpfx)libc_pic.os.clean): New target.
57752         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57754         * config.make.in (OBJCOPY): New variable.
57755         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57756         * configure: Regenerated.
57758         * config.make.in (use-default-link): New variable.
57759         * configure.in (use_default_link): Grok --with-default-link to set it.
57760         * configure: Regenerated.
57761         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57762         (shlib-lds, shlib-lds-flags): Define to empty.
57764         * Makerules (shlib-lds): New variable.
57765         (shlib-lds-flags): New variable.
57766         (build-shlib, build-moduile, build-module-asneeded): Use it.
57767         ($(common-objpfx)libc.so): Use $(shlib-lds).
57768         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57769         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57771         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57772         DT_FLAGS/DT_FLAGS_1 with zero flags.
57774         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57775         linker script munging.
57777 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57779         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57780         as 128-bit value.
57781         * crypt/sha512.c (sha512_process_block): Perform total addition using
57782         128-bit if possible.
57783         (__sha512_finish_ctx): Likewise.
57784         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57785         as 64-bit value.
57786         * crypt/sha256.c (SWAP64): Define.
57787         (sha256_process_block): Perform total addition using 64-bit if
57788         possible.
57789         (__sha256_finish_ctx): Likewise.
57791 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57793         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57794         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57795         * nscd/hstcache.c (cache_addhst): Likewise.
57796         * nscd/grpcache.c (cache_addgr): Likewise.
57797         * nscd/aicache.c (addhstaiX): Likewise
57798         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57800 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57802         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57804         * nscd/hstcache.c (cache_addhst): Likewise.
57805         * nscd/grpcache.c (cache_addgr): Likewise.
57806         * nscd/aicache.c (addhstaiX): Likewise
57808 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57810         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57811         domain only when needed.
57813 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57816         is always restored.
57818 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57820         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57821         are re-adding the entry.
57822         * nscd/servicescache.c (cache_addserv): Likewise.
57824 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57826         * sysdeps/generic/dl-irel.h: fix protection against multiple
57827         inclusions.
57828         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57830 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57832         [BZ #12935]
57833         * malloc/memusage.sh: Fix quoting in message.
57834         * debug/xtrace.sh: Likewise.
57836         * configure.in: Remove support for --experimental-malloc option, make
57837         it the default.
57838         * config.make.in: Likewise.
57839         * malloc/Makefile: Likewise.
57841 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57843         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57844         two-byte characters.
57846 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57848         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57849         AC_CACHE_CHECK invocation.
57850         * configure: Regenerated.
57852         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57854 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57856         [BZ #12350]
57857         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57858         bit from old_res_options.
57860         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57862         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57863         value type for setfct.
57865 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57867         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57868         __gettimeofday instead of gettimeofday.
57870 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57872         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57874 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57876         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57878         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57879         info.
57881 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57884         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57885         strcpy-sse2-unaligned strncpy-sse2-unaligned
57886         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57887         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57888         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57889         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57890         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57891         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57892         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57893         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57894         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57895         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57896         (STRCPY): Support SSE2 and SSSE3 versions.
57898 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57900         [BZ #12874]
57901         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57902         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57903         kernels which artificially limit size of requests.
57905 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57908         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57909         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57910         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57911         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57912         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57913         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57914         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57915         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57916         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57917         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57918         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57919         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57920         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57921         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57923         Enable unaligned load optimization for Intel Core i3, i5 and i7
57924         processors.
57925         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57926         Define.
57927         (index_Fast_Unaligned_Load): Define.
57928         (HAS_FAST_UNALIGNED_LOAD): Define.
57930 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57932         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57934 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57936         [BZ #12907]
57937         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57938         until it is clear that the information is realy needed.
57939         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57941 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57945 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57948         /sys/devices/system/cpu/online if it is usable.
57950         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57951         reading the information from the /proc filesystem to once a second.
57953 2011-06-21  Andreas Jaeger  <aj@suse.de>
57955         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57956         NULL after inclusion of kernel headers.
57958 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57960         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57961         calls to internal_setent.
57963         [BZ #12885]
57964         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57965         addresses using gethostbyname4_r ignore IPv4 addresses.
57967         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57968         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57970         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57972 2011-06-20  David S. Miller  <davem@davemloft.net>
57974         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57975         inclusions.
57976         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57978         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57979         (elf_irel): Use it.
57980         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57981         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57982         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57983         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57984         * sysdeps/x86_64/dl-irel.h: Likewise.
57986         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57987         * elf/dl-sym.c: Likewise.
57989 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57991         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57992         need to dereference resplen2.
57994 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57996         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57998 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58000         * Makeconfig: Define vardbdir and inst_vardbdir.
58001         * nss/Makefile: Add rules to install db-Makefile.
58003         * nss/nss_db/db-XXX.c: Cleanup.
58005         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58006         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58007         GLIBC_PRIVATE.
58008         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58009         * nss/makedb.c: Implement -g option to specify that value strings
58010         are generated and should not be added to table iterated over for
58011         get*ent calls.
58012         * nss/nss_db/db-initgroups.c: New file.
58014         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58015         interface.
58017         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58018         (internal_getgrouplist): Adjust to name change.
58019         Update use_initgroups_entry if this is not the first call.
58020         * nss/databases.def: Add initgroups entry.
58022         * nss/makedb.c (compute_tables): Check result of multiple hash table
58023         sizes to minimize maximum chain length.
58025 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58027         * Versions.def: Add entry for libnss_db.
58028         * shlib-versions: Likewise.
58029         * nss/Makefile: Add rules to build libnss_db.
58030         * nss/Versions: Add libnss_db information.  Organize libnss_files
58031         entries better.
58032         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58033         makedb progra.  Some minor improvements to generate smaller files.
58034         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58035         here from...
58036         * nss/makedb.c: ...here.
58037         Improve database format to be smaller and require less memory at
58038         runtime.
58039         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58040         db anymore.
58041         * nss/nss_db/db-netgrp.c: Likewise.
58042         * nss/nss_db/db-open.c: Likewise.
58043         * nss/nss_files/flies-XXX.x: Adjust comments.
58044         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58045         * nss/nss_files/files-grp.c: Likewise.
58046         * nss/nss_files/files-hosts.c: Likewise.
58047         * nss/nss_files/files-network.c: Likewise.
58048         * nss/nss_files/files-proto.c: Likewise.
58049         * nss/nss_files/files-pwd.c: Likewise.
58050         * nss/nss_files/files-rpc.c: Likewise.
58051         * nss/nss_files/files-service.c: Likewise.
58052         * nss/nss_files/files-sgrp.c: Likewise.
58053         * nss/nss_files/files-spwd.c: Likewise.
58054         * nss/nss_db/db-alias.c: Removed.
58055         * nss/nss_db/dummy-db.h: Removed.
58057 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58059         * nss/makedb.c: Rewritten to not use database library.
58060         * nss/Makefile: Update to build new makedb program.
58062 2011-06-14  Andreas Jaeger  <aj@suse.de>
58064         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58065         memset declaration.
58067 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58070         tmpbuf.
58072 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58074         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58075         * elf/Makefile ($(objpfx)ld.so): Likewise.
58077         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58078         Don't list ld.so twice in dependencies.
58080         * posix/bug-regex31.c: Include <stdlib.h>.
58082         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58084         * nis/nss_compat/compat-spwd.c
58085         (getspent_next_nss_netgr): Remove unused variable.
58086         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58088         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58089         nonmembers" output to use the right array.
58091         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58093         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58095         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58096         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58097         * catgets/gencat.c (read_input_file): Likewise.
58098         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58100         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58101         variable definition inside #if's controlling its use.
58103         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58105         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58107         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58109         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58110         unreachable code.
58112         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58114         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58115         * configure: Regenerated.
58117         * Makerules: Revert last change.
58118         * elf/Makefile: Likewise.
58120 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58122         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58123         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58124         (reloc-link): Likewise.
58126 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58128         * elf/Makefile: Add rules to build pldd.
58129         * elf/pldd.c: New file.
58130         * elf/pldd-xx.c: New file.
58132 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58134         * version.h: Update for 2.15 development version.
58136 2011-06-07  David S. Miller  <davem@davemloft.net>
58138         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58139         ifuncs.
58140         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58141         elf_machine_lazy_rel): Likewise.
58142         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58144         elf_machine_lazy_rel): Likewise.
58145         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58146         dl_hwcap via passed in argument.
58147         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58148         Likewise.
58150 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58152         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58154 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58156         [BZ #12849]
58157         * manual/fdl-1.1.texi: New file, verbatim from:
58158         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58159         * manual/lgpl-2.1.texi: New file, verbatim from:
58160         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58161         * manual/Makefile (licenses): New variable, list those new file names.
58162         (texis): Use it.
58163         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58165         * manual/fdl.texi: File removed.
58166         * manual/lesser.texi: File removed.
58167         * manual/libc.texinfo (Copying, Documentation License):
58168         Use new @include file names, put @appendix directive before @include.
58170 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58172         [BZ #12841]
58173         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58174         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58175         (mq_open): Add __NTH.
58177 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58180         Assume Intel Core i3/i5/i7 processor if AVX is available.
58182 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58184         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58185         typo.
58187 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58189         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58190         memory.  Use alloca_account.  Fix memory leak when retrying.
58192 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58194         * version.h (RELEASE): Bump for 2.14 release.
58195         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58197         * config.make.in (RANLIB): Remove entry.
58199 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58201         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58202         (libc.pot): Work around missing support for .ksh extension in xgettext.
58204         [BZ #12684]
58205         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58206         if both request failed.
58207         (send_dg): In case of server errors clear resplen or *resplen2.
58209         [BZ #12454]
58210         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58211         when there are multiple maps.
58212         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58213         (_dl_fini): Remove test here.
58215         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58217 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58219         [BZ #12350]
58220         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58221         bit from old_res_options.
58222         (gaih_inet): Likewise.
58224         [BZ #11099]
58225         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58226         as signed.
58228         * resolv/res_init.c (res_setoptions): Make the code more compact.
58230         [BZ #11558]
58231         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58232         set RES_USEVC.
58234         [BZ #11634]
58235         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58237         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58239         [BZ #11781]
58240         * malloc/malloc.h: Declare malloc hook variables as volatile.
58242         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58243         in last patch.
58245         [BZ #11799]
58246         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58247         raise in the comment.
58248         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58249         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58250         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58252 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58254         [BZ #12811]
58255         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58256         grow the buffers more if it already has to be sufficient.
58257         (build_wcs_upper_buffer): Likewise.
58258         * posix/regexec.c (check_matching): Likewise.
58259         (clean_state_log_if_needed): Likewise.
58260         (extend_buffers): Don't enlarge buffers beyond size of the input
58261         buffer.
58262         Patches mostly by Emil Wojak <emil@wojak.eu>.
58263         * posix/bug-regex32.c: New file.
58264         * posix/Makefile (tests): Add bug-regex32.
58266         * locale/findlocale.c (_nl_find_locale): Return right away if
58267         _nl_explode_name failed.
58268         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58270         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58272         * debug/xtrace.sh: Unify messages.
58273         * malloc/memusage.sh: Likewise.
58275         [BZ #12813]
58276         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58277         time symbol from vDSO.  Substitute with vsyscall if not available.
58278         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58279         __vdso_time.
58281         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58282         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58283         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58284         Add sendmmsg and internal_sendmmsg.
58285         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58286         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58287         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58289         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58290         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58291         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58293 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58295         [BZ #12813]
58296         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58297         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58298         available.
58299         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58300         __vdso_getcpu.
58302         [BZ #12814]
58303         * iconvdata/Makefile (tests): Add bug-iconv9.
58304         * iconvdata/bug-iconv9.c: New file.
58306 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58308         [BZ #12814]
58309         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58311 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58313         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58314         (struct user_regs_struct): Change intcs field back to cs.
58316 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58318         * po/ja.po: Update from translation team.
58320 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58322         [BZ #12795]
58323         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58324         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58326 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58328         * stdlib/longlong.h: Update from GCC.
58330 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58332         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58333         parameter name.
58334         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58335         Add parameter name.
58336         (__sysconf): Pass it down.
58338 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58340         [BZ #12671]
58341         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58342         some situations.
58343         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58344         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58345         add in in __libc_use_alloca calls.  Adjust callers.
58346         (glob): Use malloc in some situations.
58348         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58349         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58350         pltexit.
58352 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58354         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58355         and CLOCK_BOOTTIME_ALARM.
58357         [BZ #12782]
58358         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58359         is returned.
58361         * string/_strerror.c (__strerror_r): Print negative errors as signed
58362         numbers.
58364         [BZ #12777]
58365         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58366         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58367         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58369         * configure.in: Fix typo in redirection and correct removal of test
58370         files in two cases.
58372         [BZ #12788]
58373         * locale/setlocale.c (new_composite_name): Fix test to check for
58374         identical name of all categories.
58376         [BZ #12792]
58377         * libio/filedoalloc.c (local_isatty): New function.
58378         (_IO_file_doallocate): Use local_isatty.
58379         * stdio-common/perror.c (perror): In case a new stream is used
58380         forward the stream error.
58381         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58382         error flag.
58384 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58386         [BZ #11869]
58387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58388         alloca.
58389         * include/alloca.h (extend_alloca_account): Define.
58391         [BZ #11857]
58392         * posix/regex.h: Fix comments with documentation of user-accessible
58393         fields after compilation and describe correct free'ing of pattern
58394         after re_compile_pattern.
58395         Patch by Reuben Thomas <rrt@sc3d.org>.
58397 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58399         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58400         and -mno-altivec to prevent the compiler from using Altivec and/or
58401         VSX instructions when the corresponding registers are not available.
58403 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58405         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58407 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58409         * libio/freopen.c (freopen): Use __dup2, not dup2.
58410         * libio/freopen64.c (freopen64): Likewise.
58412 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58414         [BZ #12775]
58415         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58416         * math/Makefile (tests): Add test-powl.
58417         (CFLAGS-test-powl.c): Define.
58418         * math/test-powl.c: New file.
58420 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58422         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58424 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58426         [BZ #11837]
58427         * iconvdata/gb18030.c: Update to GB18020-2005.
58429 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58431         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58432         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58433         Patch by Aharon Robbins <arnold@skeeve.com>.
58435         [BZ #11892]
58436         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58437         on the stack.
58439         [BZ #11895]
58440         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58441         through underflows.
58443         [BZ #12766]
58444         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58445         point to strings before performing equality test for error_one_per_line
58446         mode.
58448         [BZ #11697]
58449         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58451         [BZ #11820]
58452         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58453         (struct user_fpregs_struct): Avoid __uint*_t types.
58455         [BZ #6420]
58456         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58457         symbol info.  Use it instead of calling _dl_addr locally.
58458         (lock_and_info): New function.
58459         (tr_freehook): Call lock_and_info and pass symbol info as additional
58460         parameter to tr_where.
58461         (tr_mallochook): Likewise.
58462         (tr_reallochook): Likewise.
58463         (tr_memalignhook): Likewise.
58465         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58466         used and couldn't be at all thread-safe.
58468 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58470         * libio/freopen.c (freopen): Don't close old file descriptor
58471         before the new one is opened.  Instead dup the new file descriptor
58472         to the old one after the new stream is created.
58473         * libio/freopen64.c (freopen64): Likewise.
58474         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58475         * libio/fileops.c (_IO_new_file_close_it): Handle new
58476         _IO_FLAGS2_NOCLOSE flag.
58477         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58478         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58479         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58480         _IO_FLAGS2_NOCLOSE flag.
58481         * include/unistd.h: Add hidden_proto for dup3.
58482         Define __have_dup3.
58483         * io/dup3.c: Define hidden symbol.
58484         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58486         [BZ #7101]
58487         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58488         when an incomplete long option is used.
58489         * posix/tst-getopt_long1.c: New file.
58490         * posix/Makefile (tests): Add tst-getopt_long1.
58492         [BZ #10138]
58493         * scripts/config.guess: Update from autoconf-2.68.
58494         * scripts/config.sub: Likewise.
58496         [BZ #10157]
58497         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58498         tests into ...
58499         (has_cpuclock): ...this.  New function.
58500         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58501         macro here based on has_cpuclock code.
58503         [BZ #10149]
58504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58505         First byte (not low byte) is now always NUL.
58506         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58508         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58509         Use non-cancelable interfaces.
58511         [BZ #9809]
58512         * locale/iso-639.def: Add entry for Sorani.
58514         [BZ #11901]
58515         * include/stdlib.h: Move include protection to the right place.
58516         Define abort_msg_s.  Declare __abort_msg with it.
58517         * stdlib/abort.c (__abort_msg): Adjust type.
58518         * assert/assert.c (__assert_fail_base): New function.  Majority
58519         of code from __assert_fail.  Allocate memory for __abort_msg with
58520         mmap.
58521         (__assert_fail): Now call __assert_fail_base.
58522         * assert/assert-perr.c: Remove bulk of implementation.  Use
58523         __assert_fail_base.
58524         * include/assert.hL Declare __assert_fail_base.
58525         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58526         mmap.
58527         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58529 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58531         [BZ #11952]
58532         [BZ #12453]
58533         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58534         until all modules are registered in the DTV.
58535         * elf/Makefile: Add rules to build and run tst-tls19.
58536         * elf/tst-tls19.c: New file.
58537         * elf/tst-tls19mod1.c: New file.
58538         * elf/tst-tls19mod2.c: New file.
58539         * elf/tst-tls19mod3.c: New file.
58540         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58542         [BZ #12083]
58543         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58544         correctly.
58546         [BZ #12601]
58547         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58548         two-byte sequence errors.
58549         * iconvdata/Makefile (tests): Add bug-iconv8.
58550         * iconvdata/bug-iconv8.c: New file.
58552         [BZ #12626]
58553         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58554         buf2 definition.
58556         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58558         [BZ #12432]
58559         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58560         (dummy_getcfa): New function.
58561         (init): Get _Unwind_GetCFA address, use dummy if not found.
58562         (backtrace_helper): In recursion check, also check whether CFA changes.
58563         (__backtrace): Completely initialize arg.
58565         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58566         storing incomplete byte sequence in state object.  Avoid testing for
58567         guaranteed too small input if we know there is enough data available.
58569 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58571         * Makeconfig (+link-pie): Indent.
58572         * Rules (binaries-pie): Define if $(have-fpie) and
58573         $(build-shared).
58574         (binaries-shared): Also filter out $(binaries-pie).
58575         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58576         * nscd/Makefile (others-pie): Add nscd.
58577         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58578         ($(objpfx)nscd): Remove command override.
58579         * login/Makefile (others-pie): Add pt_chown.
58580         ($(objpfx)pt_chown): Remove command override.
58581         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58582         remove command overrides.
58584 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58586         * libio/tst_putwc.c: Fix error messages.
58588         [BZ #12724]
58589         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58590         currently writing and seek to current position when not.
58591         * libio/Makefile (tests): Add bug-fclose1.
58592         * libio/bug-fclose1.c: New file.
58594 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58596         [BZ #12511]
58597         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58598         don't set DF_1_NODELETE here.
58599         (do_lookup_x): When entering new entry test for copy relocation
58600         and if necessary set DF_1_NODELETE flag.
58601         * elf/tst-unique4.cc: New file.
58602         * elf/tst-unique4.h: New file.
58603         * elf/tst-unique4lib.cc: New file.
58604         * elf/Makefile: Add rules to build and run tst-unique4.
58605         Patch by Piotr Bury <pbury@goahead.com>.
58607 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58609         [BZ #12052]
58610         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58612         [BZ #12625]
58613         * misc/mntent_r.c (addmntent): Flush the stream after the output
58615         [BZ #12393]
58616         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58617         (is_trusted_path_normalize): Skip initial colon.  Append slash
58618         to empty buffer.  Duplicate is_trusted_path code but allow
58619         constructed patch to be prefix.
58620         (is_dst): Allow $ORIGIN followed by /.
58621         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58622         Correct testing of result of is_trusted_path_normalize
58623         (decompose_rpath): Fix warning.
58625 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58627         [BZ #11257]
58628         * grp/initgroups.c (internal_getgrouplist): When we found the service
58629         list through the initgroups entry in nsswitch.conf do not always
58630         continue on a successful lookup.  Don't always use the
58631         __nss_group_database value if it is set.
58632         * nss/nsswitch.conf (initgroups): Change action for successful db
58633         lookup to continue for compatibility.
58635 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58637         [BZ #11532]
58638         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58639         and CP774 modules.
58640         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58641         and CP774 modules.
58642         * iconvdata/tst-tables.sh: Likewise.
58643         * iconvdata/cp770.c: New file.
58644         * iconvdata/cp771.c: New file.
58645         * iconvdata/cp772.c: New file.
58646         * iconvdata/cp773.c: New file.
58647         * iconvdata/cp774.c: New file.
58648         * iconvdata/testdata/CP770: New file.
58649         * iconvdata/testdata/CP770..UTF8: New file.
58650         * iconvdata/testdata/CP771: New file.
58651         * iconvdata/testdata/CP771..UTF8: New file.
58652         * iconvdata/testdata/CP772: New file.
58653         * iconvdata/testdata/CP772..UTF8: New file.
58654         * iconvdata/testdata/CP773: New file.
58655         * iconvdata/testdata/CP773..UTF8: New file.
58656         * iconvdata/testdata/CP774: New file.
58657         * iconvdata/testdata/CP774..UTF8: New file.
58659         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58660         END CHARMAP line.
58661         * iconvdata/gen-8bit-gap.sh: Likewise.
58662         * iconvdata/gen-8bit.sh: Likewise.
58664         * locale/iso-639.def: Add ary entry.
58666         [BZ #11258]
58667         * locale/C-translit.h.in: Add U20A1 transliteration.
58669         [BZ #12178]
58670         * locale/iso-639.def: Add wae entry.
58671         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58673         [BZ #12545]
58674         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58675         for n.
58677         [BZ #12711]
58678         * locale/C-translit.h.in: Add entry for U20B9.
58679         Patch by pravin.d.s@gmail.com.
58681 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58683         [BZ #12713]
58684         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58685         ENAMETOOLONG use generic getcwd.
58686         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58687         in rtld.  Use *stat64.
58688         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58689         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58690         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58691         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58692         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58693         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58694         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58695         __fstatat64 macros.
58696         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58697         * dirent/rewinddir.c: Add libc_hidden_def.
58698         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58699         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58701         * include/dirent.h (__alloc_dir): Add flags parameter.
58702         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58703         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58704         __alloc_dir.
58705         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58706         from fdopendir if O_CLOEXEC is already set.
58708 2011-03-15  Alan Modra  <amodra@gmail.com>
58710         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58711         l_tls_firstbyte_offset non-zero.  Save padding offset in
58712         l_tls_firstbyte_offset for later use.
58713         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58714         freeing static tls block.
58716 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58718         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58719         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58720         being defined by the kernel headers.
58722 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58724         [BZ #12734]
58725         * resolv/resolv.h: Define RES_NOTLDQUERY.
58726         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58727         no-tld-query and set RES_NOTLDQUERY.
58728         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58729         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58730         modern BIND to search name as TLD unless forbidden.
58732 2011-05-07  Petr Baudis  <pasky@suse.cz>
58733             Ulrich Drepper  <drepper@gmail.com>
58735         [BZ #12393]
58736         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58737         (is_trusted_path): ...to here.
58738         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58739         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58740         using is_trusted_path_normalize() in setuid scripts.
58742 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58744         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58745         __BEGIN/__END_DECLS.
58747 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58749         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58750         NSS_STATUS_NOTFOUND if no record was found.
58752 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58754         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58755         (headers-not-in-tirpc): Remove rpc/netdb.h
58756         * resolv/netdb.h: Revert last change.
58758 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58760         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58761         circular dependency between libgcc.a and libc.a.
58763 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58765         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58766         * nis/Makefile: Don't install rpcsvc/*.
58767         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58768         instead of <rpc/types.h>.
58769         (MAXHOSTNAMELEN): Define.
58771 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58773         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58775 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58777         [BZ #12714]
58778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58779         gethostbyname4_r when IPv6 results are possible.
58781 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58783         [BZ #12723]
58784         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58785         _PC_PIPE_BUF handling.
58787 2011-04-30  Bruno Haible  <bruno@clisp.org>
58789         [BZ #12717]
58790         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58791         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58792         to 'int'.
58793         * inet/getnameinfo.c (getnameinfo): Likewise.
58795 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58797         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58798         to groups setting in database lookup.
58799         * nss/nsswitch.conf: Add initgroups entry.
58801 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58803         [BZ #12685]
58804         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58805         mode string.
58806         Patch by Eric Blake <eblake@redhat.com>.
58808 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58810         * sunrpc/Makefile (need-export-routines): Add svc_run.
58811         (routines): Remove svc_run.
58812         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58813         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58814         * sunrpc/svc_run.c (svc_run): Likewise.
58815         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58817 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58820         problem in reallocation in last patch.
58822 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58824         * sunrpc/Makefile: Move inclusion of Rules.
58826 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58828         * nss/nss_files/files-initgroups.c: New file.
58829         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58830         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58831         _nss_files_initgroups_dyn.
58833 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58835         * elf/elf.h (R_ARM_IRELATIVE): Define.
58837 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58839         * po/ru.po: Update from translation team.
58841 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58843         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58844         dependencies.
58846 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58848         [BZ #12653]
58849         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58850         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58851         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58852         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58853         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58855 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58857         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58858         differing bytes.
58859         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58861         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58863 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58865         [BZ #12420]
58866         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58867         storing it.
58868         * stdlib/bug-getcontext.c: New file.
58869         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58871 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58873         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58874         instructions into .machine "z9-109".
58875         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58876         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58878 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58880         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58881         between environment variables and auxiliary vector.
58883 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58885         * Makefile: Add rules to build linkobj/libc.so.
58886         * include/libc-symbols.h: Define libc_hidden_nolink.
58887         * include/rpc/auth.h: Mark functions which are to be hidden.
58888         * include/rpc/auth_des.h: Likewise.
58889         * include/rpc/auth_unix.h: Likewise.
58890         * include/rpc/clnt.h: Likewise.
58891         * include/rpc/des_crypt.h: Likewise.
58892         * include/rpc/key_prot.h: Likewise.
58893         * include/rpc/pmap_clnt.h: Likewise.
58894         * include/rpc/pmap_prot.h: Likewise.
58895         * include/rpc/pmap_rmt.h: Likewise.
58896         * include/rpc/rpc_msg.h: Likewise.
58897         * include/rpc/svc.h: Likewise.
58898         * include/rpc/svc_auth.h: Likewise.
58899         * include/rpc/xdr.h: Likewise.
58900         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58901         * nss/Makefile: Likewise.
58902         * sunrpc/Makefile: Don't install headers.  Build library with normal
58903         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58904         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58905         for the compat linking library.  Remove use of INTDEF/INTUSE.
58906         * sunrpc/auth_none.c: Likewise.
58907         * sunrpc/auth_unix.c: Likewise.
58908         * sunrpc/authdes_prot.c: Likewise.
58909         * sunrpc/authuxprot.c: Likewise.
58910         * sunrpc/clnt_gen.c: Likewise.
58911         * sunrpc/clnt_perr.c: Likewise.
58912         * sunrpc/clnt_raw.c: Likewise.
58913         * sunrpc/clnt_simp.c: Likewise.
58914         * sunrpc/clnt_tcp.c: Likewise.
58915         * sunrpc/clnt_udp.c: Likewise.
58916         * sunrpc/clnt_unix.c: Likewise.
58917         * sunrpc/des_crypt.c: Likewise.
58918         * sunrpc/des_soft.c: Likewise.
58919         * sunrpc/get_myaddr.c: Likewise.
58920         * sunrpc/key_call.c: Likewise.
58921         * sunrpc/key_prot.c: Likewise.
58922         * sunrpc/netname.c: Likewise.
58923         * sunrpc/pm_getmaps.c: Likewise.
58924         * sunrpc/pm_getport.c: Likewise.
58925         * sunrpc/pmap_clnt.c: Likewise.
58926         * sunrpc/pmap_prot.c: Likewise.
58927         * sunrpc/pmap_prot2.c: Likewise.
58928         * sunrpc/pmap_rmt.c: Likewise.
58929         * sunrpc/publickey.c: Likewise.
58930         * sunrpc/rpc_cmsg.c: Likewise.
58931         * sunrpc/rpc_common.c: Likewise.
58932         * sunrpc/rpc_dtable.c: Likewise.
58933         * sunrpc/rpc_prot.c: Likewise.
58934         * sunrpc/rpc_thread.c: Likewise.
58935         * sunrpc/rtime.c: Likewise.
58936         * sunrpc/svc.c: Likewise.
58937         * sunrpc/svc_auth.c: Likewise.
58938         * sunrpc/svc_authux.c: Likewise.
58939         * sunrpc/svc_raw.c: Likewise.
58940         * sunrpc/svc_run.c: Likewise.
58941         * sunrpc/svc_simple.c: Likewise.
58942         * sunrpc/svc_tcp.c: Likewise.
58943         * sunrpc/svc_udp.c: Likewise.
58944         * sunrpc/svc_unix.c: Likewise.
58945         * sunrpc/svcauth_des.c: Likewise.
58946         * sunrpc/xcrypt.c: Likewise.
58947         * sunrpc/xdr.c: Likewise.
58948         * sunrpc/xdr_array.c: Likewise.
58949         * sunrpc/xdr_float.c: Likewise.
58950         * sunrpc/xdr_intXX_t.c: Likewise.
58951         * sunrpc/xdr_mem.c: Likewise.
58952         * sunrpc/xdr_rec.c: Likewise.
58953         * sunrpc/xdr_ref.c: Likewise.
58954         * sunrpc/xdr_sizeof.c: Likewise.
58955         * sunrpc/xdr_stdio.c: Likewise.
58957 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58959         [BZ #12650]
58960         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58961         * sysdeps/ia64/dl-tls.h: Likewise.
58962         * sysdeps/powerpc/dl-tls.h: Likewise.
58963         * sysdeps/s390/dl-tls.h: Likewise.
58964         * sysdeps/sh/dl-tls.h: Likewise.
58965         * sysdeps/sparc/dl-tls.h: Likewise.
58966         * sysdeps/x86_64/dl-tls.h: Likewise.
58967         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58969 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58971         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58972         rpath element also skip the following colon.
58973         (expand_dynamic_string_token): Add is_path parameter and pass
58974         down to DL_DST_REQUIRED and _dl_dst_substitute.
58975         (decompose_rpath): Call expand_dynamic_string_token with
58976         non-zero is_path.  Ignore empty rpaths.
58977         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58978         with zero is_path.
58980 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58983         Make cancelable.
58985 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58987         [BZ #12655]
58988         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58989         Patch by Filipe David Manana <fdmanana@apache.org>.
58991 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58994         Maintain aligned stack.
58995         (CHECK_RSP): Remove unused macro.
58997 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58999         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59000         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59002 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59004         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59006         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59008 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59010         [BZ #12518]
59011         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59012         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59013         * sysdeps/x86_64/memmove.c: New file.
59014         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59015         (memcpy): Renamed to ...
59016         (__new_memcpy): This.
59017         (memcpy): Provide GLIBC_2_14 memcpy.
59018         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59019         (memcpy): Provide GLIBC_2_2_5 memcpy.
59021 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59023         [BZ #12631]
59024         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59026 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59028         * misc/syncfs.c: New file.
59029         * misc/Makefile (routines): Add syncfs.
59030         * posix/unistd.h: Declare syncfs.
59031         * sysdeps/unix/syscalls.list: Add syncfs.
59033 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59035         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59036         open_by_handle_at.
59037         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59038         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59040         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59042         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59045 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59047         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59048         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59049         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59051         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59053         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59055         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59056         sync_file_range.c with -fexceptions.
59057         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59058         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59059         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59060         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59061         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59062         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59063         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59064         sync_file_range as cancellation point
59065         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59066         now a wrapper around __call_sync_file_range with cancellation handling.
59067         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59068         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59069         function name to __call_sync_file_range.
59070         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59071         Add call_sync_file_range.
59073 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59076         bits/timex.h.
59078 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59080         * iconv/iconv.h: Fix typo in comment.
59081         * io/fcntl.h: Likewise.
59082         * libio/stdio.h: Likewise.
59083         * posix/spawn.h: Likewise.
59084         * posix/unistd.h: Likewise.
59085         * stdlib/stdlib.h: Likewise.
59086         * time/time.h: Likewise.
59087         * wcsmbs/wchar.h: Likewise.
59089         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59090         open_by_handle): Add.
59091         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59092         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59093         Augment a few comments.
59094         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59099         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59100         open_by_handle.
59102         * io/fcntl.h (AT_EMPTY_PATH): Define.
59104 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59106         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59107         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59108         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59109         to...
59110         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59111         * Versions.def: Add GLIBC_2.14.
59112         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59113         Export.
59115 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59117         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59118         round counter.
59119         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59121 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59123         [BZ #12597]
59124         * string/test-strncmp.c (do_page_test): New function.
59125         (check2): Likewise.
59126         (test_main): Call check2.
59127         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59129 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59131         [BZ #12587]
59132         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59133         Handle cache information in CPU leaf 4.
59134         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59136 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59138         [BZ #12583]
59139         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59140         character representation.
59141         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59143 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59145         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59146         END(__isnan) to END(__isnanf) to match function entry point/label
59147         EALIGN(__isnanf,...).
59149 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59151         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59153 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59155         [BZ #12510]
59156         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59157         copy from the symbol referenced in the relocation to initialize the
59158         used variable.
59159         Patch by Piotr Bury <pbury@goahead.com>.
59160         * elf/Makefile: Add rules to build and tst-unique3.
59161         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59162         * elf/tst-unique3.cc: New file.
59163         * elf/tst-unique3.h: New file.
59164         * elf/tst-unique3lib.cc: New file.
59165         * elf/tst-unique3lib2.cc: New file.
59167         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59169 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59171         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59172         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59173         to _start.
59175 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59177         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59178         to-be-loaded object along a path to loader is ld.so.
59180 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59181             Ulrich Drepper  <drepper@gmail.com>
59183         * sysdeps/x86_64/memset.S: After aligning destination, code
59184         branches to different locations depending on the value of
59185         misalignment, when multiarch is enabled. Fix this.
59187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59189         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59190         Set _x86_64_preferred_memory_instruction for AMD processsors.
59191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59192         Set bit_Prefer_SSE_for_memop for AMD processors.
59194 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59196         * libio/fmemopen.c (fmemopen): Optimize a bit.
59198 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59200         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59202 2011-03-03  Roland McGrath  <roland@redhat.com>
59204         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59206 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59208         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59209         __bzero_ultra1 instead of __memset_ultra1.
59211 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59212             Ulrich Drepper  <drepper@gmail.com>
59214         [BZ #12509]
59215         * include/link.h (struct link_map): Add l_orig_initfini.
59216         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59217         returning unsuccessfully.
59218         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59219         close of a file loaded at startup, restore the original l_initfini
59220         list.
59221         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59222         list, store the pointer.
59223         * elf/Makefile ($(objpfx)noload-mem): New rule.
59224         (noload-ENV): Define.
59225         (tests): Add $(objpfx)noload-mem.
59226         * elf/noload.c: Include <memcheck.h>.
59227         (main): Call mtrace.  Close all opened handles.
59229 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59231         [BZ #12454]
59232         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59233         dependencies are missing.
59235 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59237         Fix __if_freereq crash: Unlike the generic version which uses free,
59238         Hurd needs munmap.
59239         * sysdeps/mach/hurd/ifreq.h: New file.
59241 2011-01-27  Petr Baudis  <pasky@suse.cz>
59242             Ulrich Drepper  <drepper@gmail.com>
59244         [BZ 12445]#
59245         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59246         to extend_alloca().
59247         * stdio-common/bug23.c: New file.
59248         * stdio-common/Makefile (tests): Add bug23.
59250 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59251             Ulrich Drepper  <drepper@gmail.com>
59253         [BZ #12489]
59254         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59255         before performing relro protection.  At old place add assertion
59256         to make sure nothing changed.
59258 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59259             Glauber de Oliveira Costa  <glommer@gmail.com>
59261         * elf/elf.h: Add new ARM TLS relocs.
59263 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59266         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59267         cast from r3.
59268         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59269         'tests' variable.
59270         * sysdeps/wordsize-64/tst-writev.c: New file.
59272 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59274         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59275         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59276         insns in _dl_start to prevent a TOC reference before relocs are
59277         resolved.
59279 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59281         [BZ #12469]
59282         * Makeconfig: Remove RANLIB definition.
59283         * Makerules: Don't use RANLIB.
59284         * aclocal.m4: Remove ranlib test.
59285         * configure.in: No need to check for ranlib.
59286         * elf/rtld-Rules: Don't use RANLIB.
59288 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59290         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59291         protection macro.
59292         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59293         inclusion protection macro.
59295         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59296         SIGRTMIN and SIGRTMAX and print information in that case only when
59297         SIGRTMIN is defined.
59299 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59301         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59302         arginfo fn returning -1.
59304         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59305         and thousands string is zero terminated.
59307 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59309         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59310         sysdeps/unix/sysv/linux/bits/socket.h.
59312 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59314         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59315         (__CPU_COUNT): Remove old macros.
59316         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59317         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59318         (__CPU_ALLOC, __CPU_FREE): Add macros.
59319         (__sched_cpualloc, __sched_cpufree): Add declarations.
59321 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59323         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59324         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59325         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59326         (readdhstai): Return value of addhstaiX call.
59327         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59328         (addgrbyX): Return value returned by cache_addgr.
59329         (readdgrbyname): Return value returned by addgrbyX.
59330         (readdgrbygid): Likewise.
59331         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59332         (addpwbyX): Return value returned by cache_addpw.
59333         (readdpwbyname): Return value returned by addhstbyX.
59334         (readdpwbyuid): Likewise.
59335         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59336         (addservbyX): Return value returned by cache_addserv.
59337         (readdservbyname): Return value returned by addservbyX:
59338         (readdservbyport): Likewise.
59339         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59340         (addhstbyX): Return value returned by cache_addhst.
59341         (readdhstbyname): Return value returned by addhstbyX.
59342         (readdhstbyaddr): Likewise.
59343         (readdhstbynamev6): Likewise.
59344         (readdhstbyaddrv6): Likewise.
59345         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59346         (readdinitgroups): Return value returned by addinitgroupsX.
59347         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59348         (prune_cache): Keep track of timeout value of re-added entries.
59349         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59350         * nscd/nscd.h: Adjust prototypes of readd* functions.
59352 2011-02-04  Roland McGrath  <roland@redhat.com>
59354         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59355         (nis_stats): Likewise.
59356         * nis/nis_modify.c (nis_modify): Likewise.
59357         * nis/nis_remove.c (nis_remove): Likewise.
59358         * nis/nis_add.c (nis_add): Likewise.
59360         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59362         * posix/fnmatch_loop.c: Add some consts.
59364         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59366 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59368         [BZ #12460]
59369         * config.make.in (config-cflags-novzeroupper): Define.
59370         * configure.in: Substitute libc_cv_cc_novzeroupper.
59371         * elf/Makefile (AVX-CFLAGS): Define.
59372         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59373         (CFLAGS-tst-auditmod4a.c): Likewise.
59374         (CFLAGS-tst-auditmod4b.c): Likewise.
59375         (CFLAGS-tst-auditmod6b.c): Likewise.
59376         (CFLAGS-tst-auditmod6c.c): Likewise.
59377         (CFLAGS-tst-auditmod7b.c): Likewise.
59378         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59380 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59382         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59383         function to the callback.
59384         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59386 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59388         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59389         of errno.
59391 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59393         [BZ #11724]
59394         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59395         of constructors.
59396         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59397         of destructors.
59398         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59400         [BZ #11724]
59401         * elf/Makefile: Add rules to build and run new test.
59402         * elf/tst-initorder.c: New file.
59403         * elf/tst-initorder.exp: New file.
59404         * elf/tst-initordera1.c: New file.
59405         * elf/tst-initordera2.c: New file.
59406         * elf/tst-initordera3.c: New file.
59407         * elf/tst-initordera4.c: New file.
59408         * elf/tst-initorderb1.c: New file.
59409         * elf/tst-initorderb2.c: New file.
59410         * elf/tst-order-a1.c: New file.
59411         * elf/tst-order-a2.c: New file.
59412         * elf/tst-order-a3.c: New file.
59413         * elf/tst-order-a4.c: New file.
59414         * elf/tst-order-b1.c: New file.
59415         * elf/tst-order-b2.c: New file.
59416         * elf/tst-order-main.c: New file.
59417         New test case by George Gensure <werkt0@gmail.com>.
59419 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59422         decoding ACE if AI_CANONIDN.
59424 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59426         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59428 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59430         * version.h (RELEASE): Bump for 2.13 release.
59431         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59433         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59435         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59436         MADV_NOHUGEPAGE.
59437         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59438         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59439         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59440         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59441         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59442         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59444         * posix/getconf.c: Update copyright year.
59445         * catgets/gencat.c: Likewise.
59446         * csu/version.c: Likewise.
59447         * debug/catchsegv.sh: Likewise.
59448         * debug/xtrace.sh: Likewise.
59449         * elf/ldconfig.c: Likewise.
59450         * elf/ldd.bash.in: Likewise.
59451         * elf/sprof.c (print_version): Likewise.
59452         * iconv/iconv_prog.c: Likewise.
59453         * iconv/iconvconfig.c: Likewise.
59454         * locale/programs/locale.c: Likewise.
59455         * locale/programs/localedef.c: Likewise.
59456         * malloc/memusage.sh: Likewise.
59457         * malloc/mtrace.pl: Likewise.
59458         * nscd/nscd.c (print_version): Likewise.
59459         * nss/getent.c: Likewise.
59461         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59462         PF_CAIF, and PF_ALG.
59463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59465 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59467         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59468         (modules-names): Use them.
59469         (ifunc-test-modules, ifunc-pie-tests): Define.
59470         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59471         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59472         (test-extras): Likewise.
59473         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59474         $(compile-command.c).
59475         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59476         (all-built-dso): Define.
59477         (check-textrel.out, check-execstack.out): Depend on it.
59479         * configure.in: Don't override --enable-multi-arch.
59481 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59483         [BZ #6812]
59484         * nscd/hstcache.c (tryagain): Define.
59485         (cache_addhst): Return tryagain not notfound for temporary errors.
59486         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59487         failed.
59489 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59491         [BZ #10563]
59492         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59493         to make the syscall.
59494         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59496         [BZ #12378]
59497         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59498         and fall back to matching as normal character if the string ends before
59499         the matching ']' is found.  This is what POSIX requires.
59500         * posix/testfnm.c: Adjust test result.
59501         * posix/globtest.sh: Adjust test result.  Add new test.
59502         * posix/tst-fnmatch.input: Likewise.
59503         * posix/tst-fnmatch2.c: Add new test.
59505 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59507         * elf/Makefile (check-execstack): Revert last change.  Depend on
59508         check-execstack.h.
59509         (check-execstack.h): New target.
59510         (generated): Add check-execstack.h.
59511         * elf/check-execstack.c: Include "check-execstack.h".
59512         (main): Revert last change.
59513         (handle_file): Return zero if GNU_STACK is absent and
59514         DEFAULT_STACK_PERMS doesn't include PF_X.
59516 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59518         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59519         in child fails because the descriptor is already closed.
59520         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59521         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59522         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59524         [BZ #12397]
59525         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59526         syscall.
59528         [BZ #10484]
59529         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59530         temporary buffer used to handle multi lookups locally.
59531         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59533 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59535         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59536         loader is ld.so.
59538 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59540         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59541         alignment for SSE2.
59543 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59545         [BZ #12394]
59546         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59547         characters.  When rounding increased number of integer digits recompute
59548         number of groups.
59549         * stdio-common/tst-grouping.c: New file.
59550         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59552 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59554         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59555         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59557         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59558         void.
59559         * bits/select.h: Likewise.
59561 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59563         * po/ja.po: Update from translation team.
59565 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59567         [BZ #11155]
59568         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59569         implementation just like for lxstat, fxstatat, et al.
59571 2010-12-27  Jim Meyering  <meyering@redhat.com>
59573         [BZ #12348]
59574         * posix/regexec.c (build_trtable): Return failure indication upon
59575         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59577 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59579         [BZ #12201]
59580         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59581         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59582         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59583         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59585         [BZ #12207]
59586         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59588         [BZ #12204]
59589         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59590         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59592 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59594         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59595         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59596         script has SORT_BY_INIT_PRIORITY.
59597         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59598         NO_CTORS_DTORS_SECTIONS is defined.
59599         * elf/soinit.c: Likewise.
59600         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59601         NO_CTORS_DTORS_SECTIONS is defined.
59602         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59603         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59604         * sysdeps/sh/init-first.c: Likewise.
59605         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59607 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59609         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59610         always use the slow path.
59612 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59614         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59615         similar rule which adds the sysdep directories to the header search in
59616         order to pick up the correct platform stackinfo.h.
59617         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59618         perform test if it is, otherwise return successfully without testing.
59619         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59620         DEFAULT_STACK_PERMS define in stackinfo.h.
59621         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59622         defined in stackinfo.h.
59623         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59624         DEFAULT_STACK_PERMS defined in stackinfo.h.
59625         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59626         * sysdeps/ia64/stackinfo.h: Likewise.
59627         * sysdeps/s390/stackinfo.h: Likewise.
59628         * sysdeps/sh/stackinfo.h: Likewise.
59629         * sysdeps/sparc/stackinfo.h: Likewise.
59630         * sysdeps/x86_64/stackinfo.h: Likewise.
59631         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59632         PF_X for powerpc64.  Retain PF_X for powerpc32.
59634 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59636         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59637         accurately.
59638         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59639         GETDENTS_64BIT_ALIGNED.
59641 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59643         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59645 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59647         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59648         _GNU_SOURCE.
59650         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59651         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59652         Remove __restrict.
59653         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59654         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59656 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59658         [BZ #11655]
59659         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59660         are initialized.
59662 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59664         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59666 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59668         * po/it.po: Update from translation team.
59670 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59672         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59673         unused codes.
59675 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59677         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59679 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59681         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59682         specially.
59683         (gaih_getanswer_slice): Likewise.
59685 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59689 2010-05-31  Petr Baudis  <pasky@suse.cz>
59691         [BZ #11149]
59692         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59693         silently even in the chroot mode.
59695 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59697         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59698         last patch a bit.  Pretty printing
59700 2010-05-31  Petr Baudis <pasky@suse.cz>
59702         [BZ #10085]
59703         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59704         initialization of skip_initgroups_dyn.
59706 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59708         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59711 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59713         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59715 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59717         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59718         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59719         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59720         ($(objpfx)tst-fnmatch-mem): New rule.
59721         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59722         * posix/tst-fnmatch.c (main): Call mtrace.
59724 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59727         Support Intel processor model 6 and model 0x2c.
59729 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59731         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59732           signed comparison.
59734 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59736         [BZ #12205]
59737         * string/test-strncasecmp.c (check_result): New function.
59738         (do_one_test): Use it.
59739         (check1): New function.
59740         (test_main): Use it.
59741         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59742         Support strcasecmp and strncasecmp.
59744 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59746         [BZ #12194]
59747         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59748         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59750 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59752         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59753         IFUNC support.
59754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59755         memset-x86-64.
59756         * sysdeps/x86_64/multiarch/bzero.S: New file.
59757         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59758         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59759         * sysdeps/x86_64/multiarch/memset.S: New file.
59760         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59762         Set bit_Prefer_SSE_for_memop for Intel processors.
59763         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59764         Define.
59765         (index_Prefer_SSE_for_memop): Define.
59766         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59768 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59770         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59771         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59773 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59775         [BZ #12191]
59776         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59777         (__x86_64_raw_data_cache_size_half): Likewise.
59778         (__x86_64_raw_shared_cache_size): Likewise.
59779         (__x86_64_raw_shared_cache_size_half): Likewise.
59781         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59782         (__x86_64_raw_data_cache_size_half): Likewise.
59783         (__x86_64_raw_shared_cache_size): Likewise.
59784         (__x86_64_raw_shared_cache_size_half): Likewise.
59785         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59786         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59787         and __x86_64_raw_shared_cache_size_half.  Round
59788         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59789         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59790         to multiple of 256 bytes.
59792 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59794         [BZ #12167]
59795         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59796         of inacessible symlinks.  Verify result of symlink before returning it.
59797         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59798         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59800 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59802         * math/math.h (isinf): Fix typo in comment.
59804 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59806         * po/da.po: Update from translation team.
59808 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59810         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59811         is added to the list.
59813 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59814             Ulrich Drepper  <drepper@gmail.com>
59816         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59817         the global list here.  Move code to...
59818         (_dl_add_to_namespace_list): ...here.  New function.
59819         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59820         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59821         * elf/dl-load.c (lose): Don't remove the element from the list.
59822         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59823         (_dl_map_object): Likewise.
59825 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59827         [BZ #12159]
59828         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59829         into all bytes of SSE register.
59830         Patch by Richard Li <richardpku@gmail.com>.
59832 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59834         [BZ #12140]
59835         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59836         perturbing.
59838 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59840         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59841         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59842         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59843         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59845         submachine.
59846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59848 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59850         * include/dlfcn.h (__RTLD_SECURE): Define.
59851         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59852         mode & __RTLD_SECURE instead.
59853         (open_path): Rename preloaded parameter to secure.
59854         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59855         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59856         * elf/dl-deps.c (openaux): Likewise.
59857         * elf/rtld.c (struct map_args): Remove is_preloaded.
59858         (map_doit): Don't use it.
59859         (dl_main): Likewise.
59860         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59861         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59863 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59865         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59866         (sysd-rules-targets): Remove duplicates.
59867         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59868         rtld-%.$o dependency.
59870 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59872         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59873         _dl_map_object do it.
59875 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59877         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59878         fast fma builtins, define the macros in the C99 standard.
59879         (FP_FAST_FMAF): Likewise.
59880         (FP_FAST_FMAL): Likewise.
59881         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59883         * bits/mathdef.h: Update copyright year.
59884         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59886 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59888         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59889         builtins, define the macros in the C99 standard.
59890         (FP_FAST_FMAF): Likewise.
59891         (FP_FAST_FMAL): Likewise.
59892         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59893         multiply/add.
59894         (FP_FAST_FMAF): Likewise.
59896 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59898         [BZ #3268]
59899         * math/libm-test.inc (fma_test): Some new testcases.
59900         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59902         y and infinite z.  Do multiplication by C already in long double.
59903         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59905         y and infinite z.  Do bitwise or of inexact bit into u.d.
59906         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59907         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59908         * sysdeps/i386/fpu/s_fma.S: Removed.
59909         * sysdeps/i386/fpu/s_fmal.S: Removed.
59911 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59913         [BZ #3268]
59914         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59916         computation is not scheduled after fetestexcept.  Fix value
59917         of minimum denormal long double.
59919 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59921         [BZ #3268]
59922         * math/libm-test.inc (fma_test): Add some more tests.
59923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59924         correctly.
59926 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59928         * scripts/data/localplt-s390-linux-gnu.data: New file.
59929         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59931 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59933         [BZ #3268]
59934         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59935         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59936         instead of dbl-64.
59937         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59938         inlines.
59939         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59941         if one of x and y is very large and the other is subnormal.
59942         * sysdeps/s390/fpu/s_fmaf.c: New file.
59943         * sysdeps/s390/fpu/s_fma.c: New file.
59944         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59945         * sysdeps/powerpc/fpu/s_fma.S: New file.
59946         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59947         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59948         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59950 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59952         [BZ #3268]
59953         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59954         fma tests.
59955         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59956         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59957         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59958         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59959         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59960         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59961         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59963 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59965         [BZ #12078]
59966         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59967         * posix/bug-regex31.input: Add test case.
59969 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59971         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59972         * posix/bug-regex31.input: New file.
59974         [BZ #12078]
59975         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59976         (parse_sub_exp): Fix last change, use postorder.
59978         * posix/bug-regex31.c: New file.
59979         * posix/Makefile: Add rules to build and run bug-regex31.
59981         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59983         [BZ #12078]
59984         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59986         [BZ #12108]
59987         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59988         to have entries in sys_siglist.
59990         [BZ #12093]
59991         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59992         be NULL.
59994 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59996         [BZ #3268]
59997         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59998         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59999         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60000         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60001         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60002         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60003         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60004         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60005         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60006         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60007         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60008         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60009         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60010         * math/ftestexcept.c (fetestexcept): Likewise.
60011         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60012         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60013         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60014         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60015         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60016         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60017         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60019 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60021         [BZ #12107]
60022         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60023         newline.
60025 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60027         * string/bug-strstr1.c: New file.
60028         * string/Makefile: Add rules to build and run bug-strstr1.
60030 2010-10-05  Eric Blake  <eblake@redhat.com>
60032         [BZ #12092]
60033         * string/str-two-way.h (two_way_long_needle): Always clear memory
60034         when skipping input due to the shift table.
60036 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60038         [BZ #12005]
60039         * malloc/mcheck.c: Handle large requests.
60041         [BZ #12077]
60042         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60043         for strncmp and strncasecmp.
60044         * string/stratcliff.c: Add tests for strcmp and strncmp.
60045         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60047 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60049         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60050         __set_fpscr.
60052 2010-09-30  Andreas Jaeger  <aj@suse.de>
60054         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60055         (CGROUP_SUPER_MAGIC): Define.
60056         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60057         Handle btrfs and cgroup file systems.
60058         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60059         Likewise.
60061 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60063         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60064         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60066 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60068         [BZ #12067]
60069         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60070         trying to locate the ELF header.
60072 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60074         [BZ #11611]
60075         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60076         Mask out sign-bit copies when constructing f_fsid.
60078 2010-09-24  Petr Baudis <pasky@suse.cz>
60080         * debug/stack_chk_fail_local.c: Add missing licence exception.
60081         * debug/warning-nop.c: Likewise.
60083 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60085         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60086         implementing getdents64 using getdents syscall, set d_type if
60087         __ASSUME_GETDENTS32_D_TYPE.
60089 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60091         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60092         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60094 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60096         [BZ #12037]
60097         * posix/unistd.h: Undo change of feature selection for ftruncate from
60098         2010-01-11.
60100 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60102         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60103         detection.
60105 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60107         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60108         fanotify_mark.
60109         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60111 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60113         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60114         variables after CHECK_SP call.
60115         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60117 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60118             Ulrich Drepper  <drepper@redhat.com>
60120         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60121         re-relocationg ld.so.
60122         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60123         _dl_init_paths call.
60124         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60125         here anymore.
60127 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60129         * resolv/res_init.c (__res_vinit): Count the default server we added.
60131 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60132             Ulrich Drepper  <drepper@redhat.com>
60134         [BZ #11968]
60135         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60136         (____longjmp_chk): Use %ebx for saving value across system call.
60137         Add unwind info.
60139 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60141         * manual/Makefile: Don't mix pattern rules with normal rules.
60143 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60145         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60146         operation.
60147         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60148         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60149         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60150         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60152         Likewise.
60154 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60156         [BZ #11979]
60157         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60158         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60160 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60162         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60163         * sysdeps/x86_64/addmul_1.S: Likewise.
60164         * sysdeps/x86_64/lshift.S: Likewise.
60165         * sysdeps/x86_64/mul_1.S: Likewise.
60166         * sysdeps/x86_64/rshift.S: Likewise.
60167         * sysdeps/x86_64/sub_n.S: Likewise.
60168         * sysdeps/x86_64/submul_1.S: Likewise.
60170 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60172         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60173         Define __sched_param instead of SCHED_* and sched_param when
60174         <bits/sched.h> is included with __need_schedparam defined.
60175         * bits/sched.h [__need_schedparam]
60176         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60177         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60178         (__defined_schedparam): Define to 1.
60179         (__sched_param): New structure, identical to sched_param.
60180         (__need_schedparam): Undefine.
60182 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60184         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60185         (epoll_create1): Declare.
60187         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60189 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60191         [BZ #7066]
60192         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60193         shifting retval into place.
60195 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60197         * nis/rpcsvc/nis.h: Update copyright notice.
60198         * nis/rpcsvc/nis.x: Likewise.
60199         * nis/rpcsvc/nis_callback.h: Likewise.
60200         * nis/rpcsvc/nis_callback.x: Likewise.
60201         * nis/rpcsvc/nis_object.x: Likewise.
60202         * nis/rpcsvc/nis_tags.h: Likewise.
60203         * nis/rpcsvc/yp.h: Likewise.
60204         * nis/rpcsvc/yp.x: Likewise.
60205         * nis/rpcsvc/ypupd.h: Likewise.
60206         * nis/yp_xdr.c: Likewise.
60207         * nis/ypupdate_xdr.c: Likewise.
60209         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60210         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60211         (pmap_getport): Use __libc_rpc_getport.
60212         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60213         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60214         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60216 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60219         fanotify_mark.
60221 2010-08-27  Roland McGrath  <roland@redhat.com>
60223         * sysdeps/i386/i686/multiarch/Makefile
60224         (CFLAGS-varshift.c): New variable.
60226 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60228         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60229         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60231         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60233         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60235 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60237         * sysdeps/x86_64/strlen.S: Unroll the loop.
60238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60239         strlen-sse2 strlen-sse2-bsf.
60240         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60241         __strlen_no_bsf if bit_Slow_BSF is set.
60242         (__strlen_sse42): Removed.
60243         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60244         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60246 2010-08-25  Roland McGrath  <roland@redhat.com>
60248         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60249         * sysdeps/x86_64/multiarch/varshift.c: New file.
60250         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60251         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60252         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60253         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60255 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60258         strlen-sse2 strlen-sse2-bsf.
60259         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60260         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60261         (__strlen_sse2): Removed.
60262         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60263         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60265         bit_Slow_BSF for Atom.
60266         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60267         (index_Slow_BSF): Define.
60268         (HAS_SLOW_BSF): Define.
60270 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60272         [BZ #10851]
60273         * resolv/res_init.c (__res_vinit): When no server address at all
60274         is given default to loopback.
60276 2010-08-24  Roland McGrath  <roland@redhat.com>
60278         * configure.in: Remove config-name.h generation.
60279         * configure: Regenerated.
60280         * config-name.in: File removed.
60281         * scripts/config-uname.sh: New file.
60282         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60283         ($(objdir)config-name.h): New target.
60285         * sunrpc/rpc_parse.h: Avoid nested comment.
60287 2010-08-24  Richard Henderson  <rth@redhat.com>
60288             Ulrich Drepper  <drepper@redhat.com>
60289             H.J. Lu  <hongjiu.lu@intel.com>
60291         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60293         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60294         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60295         _mm_alignr_epi8 with _mm_loadu_si128.
60296         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60297         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60298         (__m128i_shift_right): Removed.
60299         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60300         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60301         * sysdeps/x86_64/multiarch/varshift.h: New file.
60302         * sysdeps/x86_64/multiarch/varshift.S: New file.
60304 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60306         * configure.in: Move assembler checks to before sysdep dir checking.
60308 2010-08-20  Petr Baudis  <pasky@suse.cz>
60310         * LICENSES: Sync the sunrpc license.
60312 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60314         * sunrpc/auth_des.c: Update copyright notice once again.
60315         * sunrpc/auth_none.c: Likewise.
60316         * sunrpc/auth_unix.c: Likewise.
60317         * sunrpc/authdes_prot.c: Likewise.
60318         * sunrpc/authuxprot.c: Likewise.
60319         * sunrpc/bindrsvprt.c: Likewise.
60320         * sunrpc/clnt_gen.c: Likewise.
60321         * sunrpc/clnt_perr.c: Likewise.
60322         * sunrpc/clnt_raw.c: Likewise.
60323         * sunrpc/clnt_simp.c: Likewise.
60324         * sunrpc/clnt_tcp.c: Likewise.
60325         * sunrpc/clnt_udp.c: Likewise.
60326         * sunrpc/clnt_unix.c: Likewise.
60327         * sunrpc/des_crypt.c: Likewise.
60328         * sunrpc/des_soft.c: Likewise.
60329         * sunrpc/get_myaddr.c: Likewise.
60330         * sunrpc/getrpcport.c: Likewise.
60331         * sunrpc/key_call.c: Likewise.
60332         * sunrpc/key_prot.c: Likewise.
60333         * sunrpc/openchild.c: Likewise.
60334         * sunrpc/pm_getmaps.c: Likewise.
60335         * sunrpc/pm_getport.c: Likewise.
60336         * sunrpc/pmap_clnt.c: Likewise.
60337         * sunrpc/pmap_prot.c: Likewise.
60338         * sunrpc/pmap_prot2.c: Likewise.
60339         * sunrpc/pmap_rmt.c: Likewise.
60340         * sunrpc/rpc/auth.h: Likewise.
60341         * sunrpc/rpc/auth_unix.h: Likewise.
60342         * sunrpc/rpc/clnt.h: Likewise.
60343         * sunrpc/rpc/des_crypt.h: Likewise.
60344         * sunrpc/rpc/key_prot.h: Likewise.
60345         * sunrpc/rpc/netdb.h: Likewise.
60346         * sunrpc/rpc/pmap_clnt.h: Likewise.
60347         * sunrpc/rpc/pmap_prot.h: Likewise.
60348         * sunrpc/rpc/pmap_rmt.h: Likewise.
60349         * sunrpc/rpc/rpc.h: Likewise.
60350         * sunrpc/rpc/rpc_des.h: Likewise.
60351         * sunrpc/rpc/rpc_msg.h: Likewise.
60352         * sunrpc/rpc/svc.h: Likewise.
60353         * sunrpc/rpc/svc_auth.h: Likewise.
60354         * sunrpc/rpc/types.h: Likewise.
60355         * sunrpc/rpc/xdr.h: Likewise.
60356         * sunrpc/rpc_clntout.c: Likewise.
60357         * sunrpc/rpc_cmsg.c: Likewise.
60358         * sunrpc/rpc_common.c: Likewise.
60359         * sunrpc/rpc_cout.c: Likewise.
60360         * sunrpc/rpc_dtable.c: Likewise.
60361         * sunrpc/rpc_hout.c: Likewise.
60362         * sunrpc/rpc_main.c: Likewise.
60363         * sunrpc/rpc_parse.c: Likewise.
60364         * sunrpc/rpc_parse.h: Likewise.
60365         * sunrpc/rpc_prot.c: Likewise.
60366         * sunrpc/rpc_sample.c: Likewise.
60367         * sunrpc/rpc_scan.c: Likewise.
60368         * sunrpc/rpc_scan.h: Likewise.
60369         * sunrpc/rpc_svcout.c: Likewise.
60370         * sunrpc/rpc_tblout.c: Likewise.
60371         * sunrpc/rpc_util.c: Likewise.
60372         * sunrpc/rpc_util.h: Likewise.
60373         * sunrpc/rpcinfo.c: Likewise.
60374         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60375         * sunrpc/rpcsvc/key_prot.x: Likewise.
60376         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60377         * sunrpc/rpcsvc/mount.x: Likewise.
60378         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60379         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60380         * sunrpc/rpcsvc/rex.x: Likewise.
60381         * sunrpc/rpcsvc/rstat.x: Likewise.
60382         * sunrpc/rpcsvc/rusers.x: Likewise.
60383         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60384         * sunrpc/rpcsvc/spray.x: Likewise.
60385         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60386         * sunrpc/rtime.c: Likewise.
60387         * sunrpc/svc.c: Likewise.
60388         * sunrpc/svc_auth.c: Likewise.
60389         * sunrpc/svc_authux.c: Likewise.
60390         * sunrpc/svc_raw.c: Likewise.
60391         * sunrpc/svc_run.c: Likewise.
60392         * sunrpc/svc_simple.c: Likewise.
60393         * sunrpc/svc_tcp.c: Likewise.
60394         * sunrpc/svc_udp.c: Likewise.
60395         * sunrpc/svc_unix.c: Likewise.
60396         * sunrpc/svcauth_des.c: Likewise.
60397         * sunrpc/xcrypt.c: Likewise.
60398         * sunrpc/xdr.c: Likewise.
60399         * sunrpc/xdr_array.c: Likewise.
60400         * sunrpc/xdr_float.c: Likewise.
60401         * sunrpc/xdr_mem.c: Likewise.
60402         * sunrpc/xdr_rec.c: Likewise.
60403         * sunrpc/xdr_ref.c: Likewise.
60404         * sunrpc/xdr_sizeof.c: Likewise.
60405         * sunrpc/xdr_stdio.c: Likewise.
60407         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60408         handling.
60410 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60412         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60414 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60416         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60417         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60418         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60419         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60420         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60421         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60422         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60423         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60424         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60425         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60426         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60427         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60428         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60429         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60431 2010-07-26  Anton Blanchard  <anton@samba.org>
60433         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60434         * malloc/arena.c (heap_trim): Likewise.
60436 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60438         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60439         here.  Not...
60440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60441         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60443 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60445         * sysdeps/i386/elf/Makefile: New file.
60447 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60449         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60450         from fanotify_init.
60451         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60452         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60454 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60456         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60457         of strncasecmp_l.
60458         * sysdeps/multiarch/strcmp.S: Likewise.
60460 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60462         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60463         strncase_l-nonascii.
60464         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60465         Add strncase_l-ssse3.
60466         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60467         * sysdeps/x86_64/strcmp.S: Likewise.
60468         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60469         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60470         * sysdeps/x86_64/strncase.S: New file.
60471         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60472         * sysdeps/x86_64/strncase_l.S: New file.
60473         * string/Makefile (strop-tests): Add strncasecmp.
60474         * string/test-strncasecmp.c: New file.
60476         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60477         warning.
60479         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60480         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60482 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60484         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60486 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60488         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60489         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60490         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60492 2010-05-01  Alan Modra  <amodra@gmail.com>
60494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60495         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60496         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60497         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60498         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60499         tidying.  Don't tail-call __sigjmp_save for static lib.
60500         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60501         save location.
60502         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60503         (CALL_MCOUNT): Add eh info, and nop after bl.
60504         (TAIL_CALL_SYSCALL_ERROR): New macro.
60505         (PSEUDO_RET): Use it.
60506         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60507         Correct save location of integer regs and cr.
60508         (_dl_profile_resolve): Correct cr save location.  Delete nops
60509         after bl when SHARED.  Reduce cfi size a little by better
60510         placement of cfi directives.
60511         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60512         make a stack frame.  Instead use parm save area as a temp.
60513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60514         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60516         Don't make a stack frame for parent, use parm save area.
60517         Increase child stack frame to 112 bytes.  Don't save unused reg,
60518         and adjust reg usage.  Set up cfi on error recovery and
60519         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60521         (__makecontext): Add dummy nop after jump to exit.
60522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60523         Use correct parm save area and cr save, reduce stack frame.
60524         Correct cfi for possible PSEUDO_RET frame setup.
60525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60526         Branch to local label emitted by PSEUDO_RET rather than
60527         __syscall_error.
60529 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60531         [BZ #11904]
60532         * locale/programs/locale.c (print_assignment): New function.
60533         (show_locale_vars): Use it.
60535 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60537         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60538         field.
60539         (struct statfs64): Likewise.
60540         (_STATFS_F_FLAGS): Define.
60541         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60542         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60543         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60544         (ST_VALID): Define locally.
60545         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60546         __statvfs_getflags, use the provided value.
60547         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60548         __ASSUME_STATFS_F_FLAGS.
60550         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60552         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60553         Add sys/fanotify.h.
60554         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60555         fanotify_mask for GLIBC_2.13.
60556         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60557         fanotify_init and fanotify_mark.
60558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60559         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60561         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60562         Add prlimit.
60563         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60564         prlimit64 for GLIBC_2.13.
60565         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60566         prlimit64.
60567         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60568         syscall.
60569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60571         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60572         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60574         add prlimit alias.
60575         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60577         [BZ #11903]
60578         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60579         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60581         * nss/Makefile: Add rules to build and run tst-nss-test1.
60582         * shlib-versions: Add entry for libnss_test1.
60583         * nss/nss_test1.c: New file.
60584         * nss/tst-nss-test1.c: New file.
60586         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60587         (__nss_configure_lookup): Set appropriate entry in
60588         __nss_configure_lookup to true.
60589         * nss/nsswitch.h: Define enum with indeces of databases in
60590         databases and __nss_database_custom arrays.  Declare
60591         __nss_database_custom.
60592         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60593         to avoid using nscd when custom rules are installed.
60594         * nss/getXXbyYY_r.c: Likewise.
60595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60597         * nss/nss_files/files-parse.c: Whitespace fixes.
60599 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60601         [BZ #11883]
60602         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60603         * posix/fnmatch_loop.c: Likewise.
60605 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60607         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60608         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60609         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60610         * Versions.def [GLIBC_2.13]: Add.
60612 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60614         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60615         Also fail if tpwd after pwuid call is NULL.
60617 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60619         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60620         when converting to ms.
60622 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60624         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60625         EOPNOTSUPP errors with ENOTTY.
60626         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60627         EOPNOTSUPP errors with ENOTTY.
60629 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60631         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60632         Add strcasecmp_l-ssse3.
60633         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60634         strcasecmp.
60635         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60636         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60637         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60639 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60641         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60643         * string/Makefile (strop-tests): Add strcasecmp.
60644         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60645         strcasecmp_l-nonascii.
60646         (gen-as-const-headers): Add locale-defines.sym.
60647         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60648         * sysdeps/x86_64/strcasecmp.S: New file.
60649         * sysdeps/x86_64/strcasecmp_l.S: New file.
60650         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60651         * sysdeps/x86_64/locale-defines.sym: New file.
60652         * string/test-strcasecmp.c: New file.
60654         * string/test-strcasestr.c: Test both ends of the range of characters.
60655         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60657 2010-07-29  Roland McGrath  <roland@redhat.com>
60659         [BZ #11856]
60660         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60662 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60664         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60665         for ld.so.
60667 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60669         * manual/memory.texi (Malloc Tunable Parameters): Document
60670         M_PERTURB.
60672 2010-07-26  Roland McGrath  <roland@redhat.com>
60674         [BZ #11840]
60675         * configure.in (-fgnu89-inline check): Set and substitute
60676         gnu89_inline, not libc_cv_gnu89_inline.
60677         * configure: Regenerated.
60678         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60680 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60682         * string/test-strnlen.c: New file.
60683         * string/Makefile (strop-tests): Add strnlen.
60684         * string/tester.c (test_strnlen): Add a few more test cases.
60685         * string/tst-strlen.c: Better error reporting.
60687         * sysdeps/x86_64/strnlen.S: New file.
60689 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60691         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60692         lower-latency instructions.
60694 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60696         * string/test-strcasestr.c: New file.
60697         * string/test-strstr.c: New file.
60698         * string/Makefile (strop-tests): Add strstr and strcasestr.
60699         * string/str-two-way.h: Don't undefine MAX.
60700         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60702 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60705         strcasestr-nonascii.
60706         (CFLAGS-strcasestr-nonascii.c): Define.
60707         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60708         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60709         Remove unused attribute.
60711 2010-07-20  Roland McGrath  <roland@redhat.com>
60713         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60714         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60715         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60716         like LD_HWCAP_MASK can disable hwcaps.
60718 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60720         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60722 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60724         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60725         call in strcasestr.
60726         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60727         __strcasestr_sse42_nonascii.
60728         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60729         strcasestr-nonascii.c.
60730         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60732 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60734         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60735         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60736         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60737         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60739 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60741         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60742         fcntl.
60744 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60746         [BZ #11577]
60747         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60748         dl_signal_cerror.
60750 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60753         _PC_PIPE_BUF using F_GETPIPE_SZ.
60755 2010-07-05  Roland McGrath  <roland@redhat.com>
60757         * manual/arith.texi (Rounding Functions): Fix rint description
60758         implicit in round description.
60760 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60762         * elf/Makefile: Fix linking for a few tests to make recent linker
60763         happy.
60765 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60767         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60768         $(common-objpfx)libc_nonshared.a.
60770 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60772         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60773         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60774         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60775         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60776         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60777         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60778         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60779         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60794         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60795         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60796         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60797         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60798         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60799         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60800         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60801         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60802         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60803         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60804         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60805         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60821 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60823         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60824         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60825         * string/memmove.c (memmove): Renamed to ...
60826         (MEMMOVE): ...this.  Default to memmove.
60827         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60828         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60829         (END_CHK): Define.
60830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60831         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60832         mempcpy-ssse3-back memmove-ssse3-back.
60833         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60834         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60835         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60836         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60837         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60838         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60839         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60840         * sysdeps/x86_64/multiarch/memmove.c: New file.
60841         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60842         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60843         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60844         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60846         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60847         Define.
60848         (index_Fast_Copy_Backward): Define.
60849         (HAS_ARCH_FEATURE): Define.
60850         (HAS_FAST_REP_STRING): Define.
60851         (HAS_FAST_COPY_BACKWARD): Define.
60853 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60855         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60856         Restore proper fallback handling.
60858 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60860         [BZ #11701]
60861         * posix/group_member.c (__group_member): Correct checking loop.
60863         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60864         OOM in getpwuid_r correctly.  Return error number when the caller
60865         should return, otherwise -1.
60866         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60867         call returning > 0 value.
60868         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60870 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60872         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60873         libc_nonshared.a from targets in modules-names.
60875 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60877         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60878         requires it.
60880 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60882         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60883         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60884         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60885         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60887 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60889         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60891 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60893         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60894         and F_GETPIPE_SZ.
60895         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60896         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60899         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60900         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60902 2010-06-14  Roland McGrath  <roland@redhat.com>
60904         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60906 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60908         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60909         __REDIRECT followed by __THROW.
60910         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60911         * posix/getopt.h (getopt): Likewise.
60913 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60915         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60916         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60917         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60918         in AT_FLAGS.
60919         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60920         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60922 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60924         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60926 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60928         [BZ #11640]
60929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60930         Properly check family and model.
60932 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60934         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60936 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60938         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60940 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60942         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60943         symbol reference.
60945 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60947         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60948         symbol reference.
60950 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60952         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60953         and internal_recvmmsg.
60954         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60955         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60956         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60957         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60959         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60960         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60961         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60963 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60965         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60967 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60969         POWER7 optimizations.
60970         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60971         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60973 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60975         * version.h: Update for 2.13 development version.
60977 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60979         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60980         exceptions.  Return 0.
60982 2010-05-07  Roland McGrath  <roland@redhat.com>
60984         * elf/ldconfig.c (main): Add a const.
60986 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60988         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60989         (args_options): Add no-idn option.
60990         (ahosts_keys_int): Add idn_flags to ai_flags.
60991         (parse_option): Handle 'i' option to clear idn_flags.
60993         * malloc/malloc.c (_int_free): Possible race in the most recently
60994         added check.  Only act on the data if no current modification
60995         happened.
60997 See ChangeLog.17 for earlier changes.